Code Analysis: Cache Enabler 1.6.2

Function Rating Maintainability Complexity Lines of code
Cache_Enabler_Disk::get_settings_file_name()
C
39 25 56
Cache_Enabler_Engine::bypass_cache()
B
50 19 26
Cache_Enabler_Disk::get_cache()
A
47 17 30
Cache_Enabler::requirements_check()
A
38 12 81
Cache_Enabler_Engine::is_excluded()
A
46 14 37
Cache_Enabler_Disk::clear_cache()
A
42 13 49
Cache_Enabler::settings_page()
A
30 4 182
Cache_Enabler::process_clear_cache_request()
A
51 13 22
Cache_Enabler_Engine::should_start()
A
53 11 21
Cache_Enabler_CLI::clear()
A
48 10 33
Cache_Enabler::convert_settings()
A
46 9 39
Cache_Enabler_Disk::set_wp_cache_constant()
A
49 9 28
Cache_Enabler_Disk::create_cache_files()
A
48 8 31
Cache_Enabler::clear_site_cache_by_blog_id()
A
51 8 27
Cache_Enabler_Disk::minify_html()
A
48 7 34
Cache_Enabler_Disk::cache_size()
S
54 7 20
Cache_Enabler_Disk::get_site_objects()
S
54 7 20
Cache_Enabler::on_upgrade()
S
61 7 12
Cache_Enabler_Disk::get_settings()
S
55 6 20
Cache_Enabler_Disk::clear_dir()
S
56 6 18
Cache_Enabler::add_admin_bar_items()
S
49 5 32
Cache_Enabler_Engine::is_wrong_permalink_structure()
S
58 6 16
Cache_Enabler::clear_taxonomies_archives_cache_by_post_id()
S
58 6 14
Cache_Enabler::get_permalink_structure()
S
61 6 12
Cache_Enabler_Disk::convert_webp()
S
52 5 24
Cache_Enabler_Disk::cache_file_dir_path()
S
55 5 20
Cache_Enabler::cache_cleared_notice()
S
61 5 12
Cache_Enabler_Engine::end_buffering()
S
62 5 11
Cache_Enabler_Disk::create_settings_file()
S
52 4 25
Cache_Enabler::__construct()
S
43 2 47
Cache_Enabler_Engine::is_cacheable()
S
63 5 9
Cache_Enabler::validate_regex()
S
60 4 13
Cache_Enabler_Engine::__construct()
S
61 4 12
Cache_Enabler_Disk::cache_expired()
S
61 4 11
Cache_Enabler::clear_cache_on_post_save()
S
62 4 11
Cache_Enabler::validate_settings()
S
51 3 26
Cache_Enabler::update_backend()
S
56 3 17
Cache_Enabler::add_dashboard_cache_size()
S
58 3 16
Cache_Enabler_Disk::cache_file_scheme()
S
75 4 3
Cache_Enabler::on_transition_comment_status()
S
65 4 9
Cache_Enabler_Engine::is_mobile()
S
76 4 3
Cache_Enabler_Engine::deliver_cache()
S
68 4 7
Cache_Enabler::get_settings()
S
67 4 7
Cache_Enabler::each_site()
S
60 3 14
Cache_Enabler::get_default_settings()
S
52 2 26
Cache_Enabler::add_plugin_action_links()
S
59 2 16
cache_enabler_autoload()
S
65 3 9
Cache_Enabler::on_post_updated()
S
69 3 7
Cache_Enabler::on_transition_post_status()
S
71 3 5
Cache_Enabler::on_comment_post()
S
66 3 9
Cache_Enabler::on_edit_comment()
S
64 3 10
Cache_Enabler::clear_page_cache_by_post_id()
S
65 3 9
Cache_Enabler::user_can_clear_cache()
S
65 3 9
Cache_Enabler::add_plugin_row_meta()
S
63 2 12
Cache_Enabler::on_woocommerce_stock_update()
S
68 2 8
Cache_Enabler::on_save_post()
S
73 2 5
Cache_Enabler_Disk::cache_page()
S
71 2 6
Cache_Enabler_Disk::delete_asset()
S
71 2 6
Cache_Enabler::clear_post_type_archives_cache()
S
70 2 6
Cache_Enabler::on_plugin_activation_deactivation()
S
74 2 5
Cache_Enabler_Disk::delete_parent_dir()
S
65 2 9
Cache_Enabler_Engine::is_search()
S
71 2 6
Cache_Enabler_Engine::is_index()
S
70 2 6
Cache_Enabler::add_admin_resources()
S
72 2 5
Cache_Enabler::clear_associated_cache()
S
67 2 8
Cache_Enabler::install_later()
S
67 2 8
Cache_Enabler::get_blog_path()
S
66 2 7
Cache_Enabler_Disk::clean()
S
64 2 9
Cache_Enabler::get_cache_size()
S
66 2 8
Cache_Enabler_Disk::get_dir_objects()
S
65 2 9
Cache_Enabler::get_blog_ids()
S
67 2 8
Cache_Enabler::on_trash_post()
S
70 2 6
Cache_Enabler::get_blog_paths()
S
67 2 8
Cache_Enabler_Engine::start()
S
72 2 6
Cache_Enabler::clear_date_archives_cache_by_post_id()
S
62 1 11
Cache_Enabler::on_update_backend()
S
80 1 3
Cache_Enabler::init()
S
81 1 3
Cache_Enabler::uninstall_later()
S
73 1 5
Cache_Enabler_Disk::setup()
S
75 1 4
Cache_Enabler_Disk::cache_file_webp_html()
S
78 1 3
Cache_Enabler::on_ce_update()
S
73 1 5
Cache_Enabler::on_uninstall()
S
79 1 3
Cache_Enabler::clear_page_cache_by_url()
S
79 1 3
Cache_Enabler::on_activation()
S
75 1 4
Cache_Enabler_Disk::cache_signature()
S
69 1 7
Cache_Enabler_Disk::image_path()
S
65 1 8
Cache_Enabler::add_settings_page()
S
67 1 9
Cache_Enabler::uninstall_backend()
S
80 1 3
Cache_Enabler::clear_author_archives_cache_by_user_id()
S
69 1 6
Cache_Enabler::register_settings()
S
78 1 3
Cache_Enabler::get_cache_size_transient_name()
S
77 1 4
Cache_Enabler_Disk::create_cache_file()
S
64 1 9
Cache_Enabler::on_deactivation()
S
75 1 4
Cache_Enabler_Disk::get_settings_file()
S
68 1 8
Cache_Enabler::register_textdomain()
S
79 1 3
Cache_Enabler_Disk::delete_settings_file()
S
73 1 5
Cache_Enabler_Disk::cache_exists()
S
80 1 3
Cache_Enabler_Engine::start_buffering()
S
80 1 3
Cache_Enabler::clear_site_cache()
S
80 1 3
Cache_Enabler_Disk::cache_file_webp_gzip()
S
78 1 3
Cache_Enabler_Disk::cache_file_gzip()
S
78 1 3
Cache_Enabler::clear_complete_cache()
S
75 1 4
Cache_Enabler_Disk::cache_file_html()
S
78 1 3
Cache_Enabler::get_cache_cleared_transient_name()
S
75 1 4
Cache_Enabler::clear_total_cache()
S
80 1 3