Code Analysis: imghaste 1.1.1

Function Rating Maintainability Complexity Lines of code
Imghaste_Slimcss::imghaste_slimcss()
D
25
33 167
Imghaste_Admin::imghaste_settings_init()
A
41 5 74
removeElementsByTagName()
A
53 8 24
Imghaste::define_public_hooks()
A
47 7 34
Imghaste_Buffer::imghaste_buffer_replace()
A
48 7 33
imghaste_section_status_check_cb()
S
42 5 58
SlimCache::get()
S
57 6 17
Imghaste_Public::imghaste_get_the_content()
S
57 4 16
imghaste_slimcss_buffer_replace()
S
58 4 15
remove_all_styles()
S
59 4 14
imghaste_field_rewrite_cb()
S
52 3 28
Imghaste_Public::imghaste_sw_generate()
S
60 4 13
Imghaste_Public::imghaste_calculate_image_srcset()
S
63 4 11
imghaste_field_slimcss_cb()
S
53 3 25
imghaste_field_slimcss_buffer_cb()
S
54 3 23
Imghaste_Admin::imghaste_incomplete_settings_notice()
S
55 3 20
Imghaste_Public::imghaste_get_remote_image_url()
S
55 3 19
Imghaste_Slimcss::get_headers_from_curl_response()
S
59 3 13
Imghaste_Slimcss::__construct()
S
61 3 11
imghaste_options_page_cb()
S
56 2 21
imghaste_field_cdn_url_cb()
S
56 2 19
Imghaste_Slimcss::fetch_css()
S
57 2 16
Imghaste_Public::get_top_level_domain()
S
71 3 4
SlimCache::set()
S
66 3 8
Imghaste_Admin::imghaste_admin_enqueue_scripts()
S
68 3 6
Imghaste_Loader::run()
S
66 3 8
imghaste_field_purge_slimcss_cb()
S
60 2 14
Imghaste_Slimcss::cleanUrl()
S
62 2 11
Imghaste::__construct()
S
64 2 11
Imghaste_Public::imghaste_get_attachment_image_src()
S
69 2 7
Imghaste_Buffer::imghaste_buffer_end()
S
75 2 5
SlimCache::delete()
S
76 2 4
imghaste_is_localhost()
S
67 2 8
imghaste_slime_css_buffer_end()
S
76 2 5
SlimCache::__construct()
S
68 2 7
Imghaste_Public::imghaste_get_attachment_url()
S
72 2 6
Imghaste_Public::imghaste_feature_policy_header()
S
61 1 11
Imghaste::get_version()
S
82 1 3
Imghaste::get_plugin_name()
S
82 1 3
Imghaste_Loader::add()
S
64 1 10
run_imghaste()
S
77 1 4
Imghaste_Deactivator::deactivate()
S
89 1 2
Imghaste_i18n::load_plugin_textdomain()
S
69 1 7
SlimCache::getFileName()
S
78 1 3
Imghaste::run()
S
82 1 3
Imghaste_Public::imghaste_sw_template()
S
67 1 7
Imghaste_Public::imghaste_sw_register()
S
68 1 6
deactivate_imghaste()
S
76 1 4
Imghaste::get_loader()
S
82 1 3
Imghaste_Loader::add_filter()
S
77 1 3
Imghaste_Public::imghaste_get_site_url()
S
80 1 3
Imghaste_Public::imghaste_accept_ch()
S
83 1 5
Imghaste_Public::__construct()
S
71 1 6
imghaste_section_main_cb()
S
78 1 3
imghaste_slime_css_buffer_start()
S
82 1 3
Imghaste_Admin::imghaste_options_page()
S
66 1 10
Imghaste_Activator::activate()
S
89 1 2
Imghaste_Admin::__construct()
S
77 1 4
Imghaste_Loader::add_action()
S
77 1 3
Imghaste_Loader::__construct()
S
77 1 4
Imghaste_Admin::imghaste_update_field_imghaste_field_cdn_url()
S
70 1 6
Imghaste::define_admin_hooks()
S
65 1 8
Imghaste_Slimcss::isJson()
S
76 1 4
Imghaste_Public::imghaste_get_base_folder()
S
68 1 7
Imghaste_Public::imghaste_sw_rewrite()
S
71 1 6
page_style()
S
75 1 6
Imghaste_Buffer::imghaste_buffer_start()
S
80 1 3
activate_imghaste()
S
76 1 4
Imghaste::load_dependencies()
S
65 1 9
Imghaste::set_locale()
S
75 1 4