Optml_Admin D

Total Complexity 203
Dependencies 7
Dependents 1
Total lines 1,910
Lines of code 1,488
Logical lines of code 375
Comment lines 288
Methods 44
Properties 2

Methods 44

Method Rating Maintainability Complexity Lines of code
get_dashboard_strings()
D
12
3 534
inline_bootstrap_script()
B
36 18 85
localize_dashboard_app()
B
36 19 67
should_show_upgrade()
A
47 15 33
maybe_redirect()
A
52 15 23
register_public_actions()
A
53 9 21
__construct()
A
43 7 47
pull_image_data()
A
46 7 39
sanitize_svg()
A
53 8 23
should_show_notice()
A
54 8 22
daily_sync()
S
51 7 27
check_svg_and_sanitize()
S
56 7 18
add_notice_conflicts()
S
45 4 47
detect_image_title_changes()
S
61 6 12
redirect_old_dashboard()
S
58 5 17
add_dns_prefetch()
S
59 5 15
print_report_css()
S
59 1 61
add_settings_subpage()
S
59 4 16
update_cloud_sites_default()
S
59 4 15
enqueue()
S
52 3 27
add_notice()
S
49 2 37
add_notice_upgrade()
S
49 2 36
notice_styles()
S
53 1 46
update_default_settings()
S
59 3 15
add_dashboard_page()
S
60 3 14
get_background_lazy_css()
S
61 3 12
frontend_scripts()
S
54 2 26
generator()
S
66 3 9
init_no_script()
S
67 3 8
check_domain_change()
S
64 3 10
detect_image_alt_change()
S
72 3 5
update_limit_dimensions()
S
64 3 10
render_dashboard_page()
S
64 2 13
notice_js()
S
58 1 27
add_action_links()
S
63 2 11
add_report_menu()
S
58 1 17
pull_image_data_init()
S
72 2 5
schedule_data_enhance_cron()
S
73 2 5
is_gzipped()
S
67 2 7
add_diagnosis_script()
S
59 1 13
add_no_js_class_to_html_tag()
S
79 1 3
menu_icon_style()
S
82 1 3
legacy_detect_image_title_changes()
S
78 1 3
allow_svg()
S
76 1 4