autoptimizeImages D

Total Complexity 292
Dependencies 7
Dependents 5
Total lines 1,394
Lines of code 1,014
Logical lines of code 575
Comment lines 172
Methods 51
Properties 2

Methods 51

Method Rating Maintainability Complexity Lines of code
imgopt_options_page()
D
24
42 171
filter_optimize_images()
D
30 31 109
can_optimize_image()
B
45 20 36
normalize_img_url()
A
46 12 36
get_imgopt_status_notice()
A
43 11 42
process_picture_tag()
A
50 12 25
add_lazyload()
A
46 11 34
build_imgopt_url()
A
48 11 33
run_on_frontend()
A
43 7 62
should_run()
A
55 9 19
query_img_provider_stats()
A
51 8 27
add_lazyload_js_footer()
A
47 7 33
get_size_from_tag()
S
50 7 30
get_img_quality_setting()
S
58 8 14
launch_ok()
S
56 7 16
imgopt_active()
S
60 7 12
get_imgopt_provider_userstatus()
S
55 5 22
run()
S
61 5 12
get_imgopt_host()
S
60 5 12
should_ngimg()
S
62 5 11
filter_lazyload_images()
S
53 4 24
get_lazyload_exclusions()
S
57 4 15
maybe_fix_missing_quotes()
S
64 4 9
replace_icon_callback()
S
58 3 15
fetch_options()
S
63 3 11
process_bgimage()
S
62 3 11
get_img_quality_array()
S
60 2 15
should_lazyload()
S
64 3 9
check_nolazy()
S
68 3 7
imgopt_admin_menu()
S
62 2 13
lazyload_bgimg_callback()
S
59 2 12
get_img_quality_string()
S
62 2 12
get_imgopt_base_url()
S
62 2 11
add_imgopt_tab()
S
70 2 6
__construct()
S
69 2 7
inject_classes_in_tag()
S
65 2 8
get_cdn_url()
S
65 2 9
replace_img_callback()
S
66 2 8
filter_optimize_css_images()
S
67 2 8
instance()
S
71 2 6
get_default_lazyload_placeholder()
S
78 1 3
set_options()
S
77 1 4
fix_silly_bgimg_quotes()
S
77 1 3
replace_data_thumbs()
S
79 1 3
filter_preconnect_imgopt_url()
S
72 1 5
get_service_url_suffix()
S
76 1 4
get_imgopt_status_notice_wrapper()
S
76 1 4
get_imgopt_host_wrapper()
S
76 1 4
get_img_provider_stats()
S
76 1 4
launch_ok_wrapper()
S
76 1 4
should_lazyload_wrapper()
S
76 1 4