Code Analysis: Cache Enabler 1.8.15

Function Rating Maintainability Complexity Lines of code
Cache_Enabler_Engine::is_excluded()
C
39 30 51
Cache_Enabler_Disk::cache_iterator()
C
36 26 68
Cache_Enabler_Disk::get_settings_file_name()
C
39 25 55
Cache_Enabler_Disk::get_cache_keys()
B
42 23 45
Cache_Enabler::requirements_check()
B
34 16 100
Cache_Enabler_Disk::filter_dir_object()
B
43 19 48
Cache_Enabler::settings_page()
B
28
6 204
Cache_Enabler_Disk::validate_cache_iterator_args()
A
46 16 35
Cache_Enabler_Engine::get_request_headers()
A
53 17 16
Cache_Enabler_Disk::get_dir_objects()
A
47 15 33
Cache_Enabler_Disk::set_wp_cache_constant()
A
43 14 45
Cache_Enabler::on_upgrade()
A
47 14 31
Cache_Enabler_Disk::get_settings()
A
47 13 36
Cache_Enabler::process_clear_cache_request()
A
52 13 21
Cache_Enabler_Disk::fire_cache_cleared_hooks()
A
47 12 33
Cache_Enabler_Disk::create_cache_file()
A
45 11 41
Cache_Enabler_Engine::should_start()
A
59 12 11
Cache_Enabler_Disk::mkdir_p()
A
52 11 23
Cache_Enabler_CLI::clear()
A
48 10 33
Cache_Enabler_Disk::get_filesystem()
A
48 10 32
Cache_Enabler::upgrade_settings()
A
45 9 40
Cache_Enabler_Disk::get_cache_iterator_args()
A
45 7 40
Cache_Enabler::on_cache_created_cleared()
A
53 8 22
Cache_Enabler_Engine::sanitize_server_input()
S
53 7 22
Cache_Enabler_Engine::deliver_cache()
S
53 7 21
Cache_Enabler_Disk::get_site_objects()
S
54 7 20
Cache_Enabler::clear_page_cache_by_user()
S
48 6 33
Cache_Enabler_Disk::minify_html()
S
49 6 31
Cache_Enabler::schedule_events()
S
57 7 16
Cache_Enabler::each_site()
S
57 7 15
Cache_Enabler_Disk::get_cache_keys_regex()
S
53 6 23
Cache_Enabler_Disk::create_settings_file()
S
47 5 36
Cache_Enabler_Engine::is_cacheable()
S
57 6 17
Cache_Enabler::add_admin_bar_items()
S
49 5 32
Cache_Enabler::on_updated_option()
S
45 4 46
Cache_Enabler::clear_author_archive_cache()
S
58 6 16
Cache_Enabler::get_permalink_structure()
S
61 6 12
Cache_Enabler_Disk::convert_webp()
S
52 5 25
Cache_Enabler_Disk::get_cache_dir()
S
52 5 23
Cache_Enabler_Engine::__construct()
S
58 5 15
Cache_Enabler::switch_to_blog()
S
63 6 10
Cache_Enabler::restore_current_blog()
S
63 6 10
Cache_Enabler::get_blog_id()
S
59 5 15
Cache_Enabler::clear_post_terms_archives_cache()
S
59 5 14
Cache_Enabler::clear_term_archive_cache()
S
61 5 12
Cache_Enabler::clear_page_cache_by_post()
S
61 5 12
Cache_Enabler::cache_cleared_notice()
S
61 5 12
Cache_Enabler::__construct()
S
41 2 56
Cache_Enabler::on_update_option()
S
57 4 18
Cache_Enabler_Disk::rmdir()
S
59 4 16
Cache_Enabler::clear_post_date_archives_cache()
S
57 4 16
Cache_Enabler_Disk::create_advanced_cache_file()
S
57 4 16
Cache_Enabler::get_settings()
S
63 5 10
Cache_Enabler_Engine::end_buffering()
S
66 5 8
Cache_Enabler::clear_page_cache_by_site()
S
60 4 13
Cache_Enabler::is_cache_enabler_active()
S
60 4 13
Cache_Enabler::validate_regex()
S
60 4 13
Cache_Enabler_Engine::is_index()
S
61 4 12
Cache_Enabler::clear_user_cache()
S
63 4 11
Cache_Enabler::clear_term_children_archives_cache()
S
62 4 11
Cache_Enabler::get_root_blog_exclusions()
S
63 4 11
Cache_Enabler::clear_page_cache_by_term()
S
52 3 24
Cache_Enabler::update_backend()
S
57 3 16
Cache_Enabler::clear_post_type_archive_cache()
S
64 4 9
Cache_Enabler_Disk::cache_expired()
S
63 4 10
Cache_Enabler_Engine::is_wrong_permalink_structure()
S
64 4 10
Cache_Enabler::get_blog_path_from_url()
S
59 3 14
Cache_Enabler::add_dashboard_cache_size()
S
60 3 13
Cache_Enabler::validate_settings()
S
50 2 27
Cache_Enabler::update_disk()
S
62 3 12
Cache_Enabler::clear_post_cache()
S
62 3 12
Cache_Enabler::clear_term_cache()
S
63 3 11
Cache_Enabler_Disk::delete_settings_file()
S
67 3 8
Cache_Enabler_Disk::sort_dir_objects()
S
66 3 8
Cache_Enabler::get_default_settings()
S
65 3 10
Cache_Enabler_Engine::start()
S
71 3 6
Cache_Enabler::clear_term_parents_archives_cache()
S
64 3 9
Cache_Enabler::clear_page_cache_by_comment()
S
65 3 9
Cache_Enabler::clear_page_cache_by_url()
S
65 3 9
Cache_Enabler::clear_cache_on_option_save()
S
64 3 10
Cache_Enabler::on_pre_post_update()
S
67 3 7
Cache_Enabler::on_transition_comment_status()
S
72 3 5
Cache_Enabler::add_plugin_row_meta()
S
62 2 12
Cache_Enabler_Disk::converter()
S
59 2 12
Cache_Enabler_Disk::get_cache_file()
S
64 2 11
Cache_Enabler::add_plugin_action_links()
S
63 2 11
Cache_Enabler::get_default_user_settings()
S
55 1 21
Cache_Enabler::on_woocommerce_stock_update()
S
68 2 8
Cache_Enabler_Disk::get_cache_size()
S
63 2 10
Cache_Enabler::clear_cache_on_comment_save()
S
69 2 7
Cache_Enabler::clear_associated_cache()
S
67 2 8
cache_enabler_autoload()
S
66 2 9
Cache_Enabler::clear_cache_on_user_save()
S
69 2 7
Cache_Enabler::on_deleted_user()
S
74 2 5
Cache_Enabler::get_blog_path()
S
66 2 7
Cache_Enabler::clear_cache_on_post_save()
S
69 2 7
Cache_Enabler::get_blog_paths()
S
65 2 9
Cache_Enabler::clear_post_author_archive_cache()
S
70 2 6
Cache_Enabler::get_cache_size()
S
63 2 10
Cache_Enabler::on_save_trash_post()
S
71 2 6
Cache_Enabler::install_later()
S
68 2 8
Cache_Enabler_Disk::get_cache_url()
S
65 2 8
Cache_Enabler::on_comment_post()
S
73 2 5
Cache_Enabler::clear_post_type_archives_cache()
S
70 2 6
Cache_Enabler_Disk::clean()
S
64 2 9
Cache_Enabler::on_edit_terms()
S
73 2 5
Cache_Enabler::clear_cache_on_term_save()
S
69 2 7
Cache_Enabler::on_saved_delete_term()
S
73 2 5
Cache_Enabler::unschedule_events()
S
70 2 6
Cache_Enabler::clear_comment_cache()
S
70 2 6
Cache_Enabler::add_admin_resources()
S
72 2 5
Cache_Enabler::on_plugin_activation_deactivation()
S
74 2 5
Cache_Enabler::on_add_option()
S
73 2 5
Cache_Enabler::on_edit_comment()
S
70 2 6
Cache_Enabler::get_blog_ids()
S
65 2 9
Cache_Enabler::clear_total_cache()
S
80 1 3
Cache_Enabler_Disk::setup()
S
77 1 4
Cache_Enabler::register_textdomain()
S
79 1 3
Cache_Enabler::clear_complete_cache()
S
78 1 3
Cache_Enabler::update()
S
75 1 5
Cache_Enabler_Disk::get_image_path()
S
65 1 8
Cache_Enabler::get_events()
S
75 1 4
Cache_Enabler::get_cache_index()
S
69 1 6
Cache_Enabler::on_deactivation()
S
72 1 5
Cache_Enabler_Engine::bypass_cache()
S
71 1 5
Cache_Enabler::uninstall_backend()
S
73 1 5
Cache_Enabler::clear_site_cache_by_blog_id()
S
80 1 3
Cache_Enabler::on_activation()
S
75 1 4
Cache_Enabler::init()
S
81 1 3
Cache_Enabler_Disk::get_current_time()
S
74 1 4
Cache_Enabler::uninstall_later()
S
76 1 4
Cache_Enabler::get_cache_cleared_transient_name()
S
75 1 4
Cache_Enabler_Engine::start_buffering()
S
79 1 3
Cache_Enabler::on_update_backend()
S
77 1 4
Cache_Enabler::clear_expired_cache()
S
72 1 5
Cache_Enabler::on_register_update_delete_user()
S
80 1 3
Cache_Enabler_Disk::get_settings_file()
S
68 1 8
Cache_Enabler_Disk::get_cache_signature()
S
67 1 9
Cache_Enabler::clear_page_cache_by_post_id()
S
79 1 3
Cache_Enabler::clear_site_cache()
S
80 1 3
Cache_Enabler_Disk::cache_page()
S
71 1 5
Cache_Enabler::clear_taxonomies_archives_cache_by_post_id()
S
80 1 3
Cache_Enabler_Disk::delete_asset()
S
79 1 3
Cache_Enabler::get_default_system_settings()
S
65 1 8
Cache_Enabler::register_settings()
S
78 1 3
Cache_Enabler::clear_date_archives_cache_by_post_id()
S
80 1 3
Cache_Enabler_Disk::cache_exists()
S
80 1 3
Cache_Enabler_Disk::cache_size()
S
79 1 3
Cache_Enabler::clear_author_archives_cache_by_user_id()
S
80 1 3
Cache_Enabler::on_uninstall()
S
78 1 3
Cache_Enabler_Engine::exclude_search()
S
75 1 4
Cache_Enabler::user_can_clear_cache()
S
71 1 5
Cache_Enabler::on_cache_enabler_update()
S
73 1 5
Cache_Enabler_Disk::clear_cache()
S
79 1 3
Cache_Enabler_Disk::get_cache_file_name()
S
71 1 5
Cache_Enabler::add_settings_page()
S
67 1 9