Code Analysis: Easy Image Optimizer 2.8.1

Function Rating Maintainability Complexity Lines of code
ExactDN::filter_the_content()
D
0
223 491
ExactDN::filter_image_downsize()
D
17
83 194
EIO_Lazy_Load::parse_img_tag()
D
18
79 177
easyio_options()
D
17
50 228
ExactDN::generate_url()
D
25
56 121
EIO_Base::content_url()
D
25
53 126
ExactDN::filter_srcset_array()
D
24
51 139
EIO_Lazy_Load::filter_page_output()
D
24
47 163
ExactDN::__construct()
D
25
40 137
easyio_admin_init()
D
34 36 75
EIO_Lazy_Load::should_process_page()
D
34 33 87
EIO_Lazy_Load::create_piip()
C
35 30 75
ExactDN::parse_enqueue()
C
36 29 71
ExactDN::verify_domain()
C
30 25 118
ExactDN::filter_bg_images()
C
37 27 63
easyio_attachment_path()
C
36 24 74
ExactDN::generate_image_srcset()
B
38 21 66
EIO_Base::cdn_to_local()
B
40 21 62
EIO_Base::is_frontend()
B
48 21 27
EIO_Page_Parser::get_dimensions_from_filename()
B
43 20 42
ExactDN::filter_image_links()
B
42 19 48
EIO_Lazy_Load::__construct()
B
38 18 60
EIO_Page_Parser::get_images_from_html()
B
43 18 46
ExactDN::activate_site()
B
38 16 70
ExactDN::allow_admin_image_downsize()
B
51 18 27
ExactDN::validate_image_url()
B
41 16 57
EIO_Base::get_option()
A
48 16 30
ExactDN::ngg_pro_lightbox_images_queue()
A
49 15 31
EIO_Lazy_Load::parse_background_images()
A
42 13 51
ExactDN::skip_page()
A
48 14 36
easyio_debug_log()
A
46 14 35
EIO_Lazy_Load::validate_user_exclusions()
A
50 14 29
ExactDN::srcset_replace()
A
46 13 35
ExactDN::filter_style_blocks()
A
45 12 39
ExactDN::exactdn_remove_args()
A
49 12 36
EIO_Base::debug_log()
A
47 12 34
EIO_HS_Beacon::admin_notice()
A
49 12 32
EIO_Lazy_Load::inline_script()
A
48 12 29
ExactDN::maybe_smart_crop()
A
50 12 28
EIO_Page_Parser::get_image_dimensions_by_url()
A
53 12 20
EIO_Lazy_Load::debug_script()
A
47 11 32
EIO_Lazy_Load::validate_image_tag()
A
41 9 60
EIO_Lazy_Load::min_script()
A
49 11 29
easyio_upgrade()
A
49 11 28
ExactDN::cron_setup()
A
49 11 27
ExactDN::parse_restapi_maybe()
A
51 11 23
easyio_quick_mimetype()
A
53 11 22
ExactDN::filter_all_the_things()
A
45 10 35
ExactDN::filter_picture_images()
A
49 10 31
EIO_Lazy_Load::lazify_element()
A
57 11 15
EIO_Base::memory_limit()
A
51 10 25
easyio_memory_limit()
A
51 10 25
EIO_Base::debug_message()
A
51 10 24
EIO_Page_Parser::set_attribute()
A
49 9 30
EIO_Base::is_file()
A
50 9 29
easyio_function_exists()
A
52 9 24
EIO_Base::function_exists()
A
52 9 24
easyio_debug_message()
A
52 9 23
easyio_implode()
A
54 9 21
EIO_Base::implode()
A
54 9 21
EIO_Page_Parser::get_img_style_width()
A
59 9 13
EIO_Page_Parser::get_img_style_height()
A
59 9 13
EIO_Base::maybe_strip_object_version()
A
53 8 23
ExactDN::validate_user_exclusions()
A
54 8 20
EIO_Base::gd_support()
A
56 8 16
EIO_Base::is_amp()
S
59 8 15
ExactDN::envira_gallery_output_item_data()
S
58 8 14
ExactDN::savings()
S
49 7 29
EIO_Base::url_to_path_exists()
S
50 7 28
easyio_exclude_paths_sanitize()
S
52 7 24
ExactDN::setup()
S
48 6 38
EIO_Lazy_Load::validate_css_element_inclusions()
S
55 7 21
easyio_gd_support()
S
57 7 16
easyio_get_option()
S
58 7 16
ExactDN::get_content_width()
S
62 8 10
EIO_Base::is_lazy_placeholder()
S
59 7 15
ExactDN::filter_prz_thumb()
S
57 7 14
ExactDN::spotlight_instagram_response()
S
61 7 13
EIO_Lazy_Load::maybe_piip()
S
62 7 12
ExactDN::check_verify_method()
S
53 6 21
ExactDN::image_sizes()
S
48 5 35
ExactDN::get_exactdn_width_from_url()
S
56 6 19
ExactDN::set_exactdn_domain()
S
56 6 18
EIO_Base::set_option()
S
58 6 15
ExactDN::is_as3cf_cname_active()
S
59 6 14
EIO_Lazy_Load::allow_admin_lazyload()
S
61 6 12
easyio_activate()
S
53 5 23
easyio_wpfc_webp_enabled()
S
54 5 22
easyio_parser_init()
S
56 5 18
ExactDN::filter_facetwp_json_output()
S
57 5 17
EIO_Lazy_Load::filter_facetwp_json_output()
S
58 5 16
easyio_network_admin_menu()
S
58 5 16
EIO_Base::parse_url()
S
61 6 10
EIO_Page_Parser::get_attribute()
S
61 5 13
EIO_Page_Parser::get_noscript_images_from_html()
S
60 5 13
EIO_Base::imagick_support()
S
59 5 13
ExactDN::set_exactdn_option()
S
61 5 12
easyio_settings_link()
S
60 5 12
easyio_current_screen()
S
61 5 11
ExactDN::get_exactdn_domain()
S
63 5 11
EIO_Base::set_content_dir()
S
61 5 11
EIO_Base::get_allowed_domains()
S
62 5 11
ExactDN::get_exactdn_option()
S
63 5 11
easyio_view_debug_log()
S
56 4 19
easyio_network_deactivate()
S
57 4 17
easyio_dump_var()
S
59 4 16
ExactDN::sanitize_domain()
S
58 4 16
ExactDN::filter_sizes()
S
57 4 15
EIO_Lazy_Load::maybe_siip()
S
66 5 9
EIO_Page_Parser::remove_background_image()
S
64 5 9
EIO_Base::is_json()
S
64 5 9
EIO_Page_Parser::get_background_image_url()
S
64 5 8
ExactDN::dns_prefetch()
S
65 5 9
EIO_Page_Parser::get_background_images()
S
65 5 8
easyio_is_amp()
S
66 5 9
ExactDN::get_allowed_paths()
S
57 4 15
easyio_delete_debug_log()
S
58 4 15
ExactDN::plugin_get_image_url()
S
62 4 12
ExactDN::exactdn_skip_user_exclusions()
S
63 4 11
EIO_Base::__construct()
S
51 3 26
EIO_Lazy_Load::validate_iframe_tag()
S
54 3 24
EIO_Lazy_Load::validate_bgimage_tag()
S
54 3 23
easyio_settings_script()
S
54 3 20
easyio_init()
S
64 4 10
EIO_Lazy_Load::wp_lazy_loading_enabled()
S
66 4 9
ExactDN::woocommerce_api_product_response()
S
67 4 8
ExactDN::url_scheme()
S
59 3 14
ExactDN::strip_image_dimensions_maybe()
S
58 3 14
easyio_help_link()
S
59 3 13
easyio_notice_exactdn_domain_mismatch()
S
53 2 26
ExactDN::human_time_diff()
S
64 3 10
EIO_Page_Parser::get_elements_from_html()
S
63 3 10
easyio_ce_webp_enabled()
S
65 3 10
ExactDN::add_cdn_domain()
S
66 3 8
ExactDN::allow_image_domain()
S
65 3 10
EIO_Base::is_iterable()
S
77 3 3
easyio_iterable()
S
77 3 3
easyio_privacy_policy_content()
S
64 3 9
ExactDN::image_downsize_scale()
S
65 3 10
easyio_deactivate()
S
59 2 14
easyio_notice_exactdn_activation_error()
S
61 2 13
easyio_set_defaults()
S
57 1 17
ExactDN::set_domain()
S
75 2 5
EIO_Lazy_Load::no_js_css()
S
70 2 7
easyio_filesize()
S
68 2 8
easyio_admin_permissions()
S
73 2 6
easyio_temp_debug_clear()
S
69 2 8
easyio_superadmin_permissions()
S
73 2 6
easyio_ob_clean()
S
76 2 5
EIO_Lazy_Load::override_lazy_fold()
S
72 2 6
easyio_cloud_useragent()
S
70 2 6
wp_doing_ajax()
S
78 2 3
EIO_Page_Parser::get_style_tags_from_html()
S
66 2 8
EIO_Page_Parser::get_picture_tags_from_html()
S
66 2 8
easyio_debug_version_info()
S
63 2 10
EIO_Base::check_memory_available()
S
64 2 10
EIO_Page_Parser::remove_attribute()
S
74 1 4
EIO_HS_Beacon::check_for_optout()
S
65 1 8
ExactDN::health_check()
S
72 1 5
EIO_HS_Beacon::check_for_optin()
S
67 1 7
easyio_notice_sp_conflict()
S
73 1 5
easyio_filter_page_output()
S
75 1 4
ExactDN::get_plan_id()
S
82 1 3
ExactDN::enable_image_downsize()
S
78 1 3
easyio_notice_exactdn_activation_success()
S
73 1 5
easyio_buffer_start()
S
82 1 3
easyio_notice_inactive()
S
71 1 5
easyio_load()
S
79 1 3
easyio_false_init()
S
78 1 3
easyio_network_options()
S
63 1 10
ExactDN::disable_image_downsize()
S
72 1 5
easyio_notice_beacon()
S
64 1 9
boolval()
S
82 1 3
easyio_notice_exactdn_as3cf_cname_active()
S
70 1 9
ExactDN::filter_page_output()
S
65 1 9
easyio_php55_warning()
S
73 1 5
easyio_network_settings_saved()
S
78 1 3
easyio_unsupported_php()
S
78 1 3
easyio_admin_menu()
S
67 1 9
easyio_size_format()
S
75 1 4
EIO_HS_Beacon::__construct()
S
72 1 5