Cache_Enabler D

Total Complexity 311
Dependencies 7
Dependents 3
Total lines 2,760
Lines of code 1,356
Logical lines of code 605
Comment lines 1,026
Methods 100
Properties 2

Methods 100

Method Rating Maintainability Complexity Lines of code
requirements_check()
B
34 16 100
settings_page()
B
28
6 204
on_upgrade()
A
47 14 31
process_clear_cache_request()
A
52 13 21
upgrade_settings()
A
45 9 40
on_cache_created_cleared()
A
53 8 22
clear_page_cache_by_user()
S
48 6 33
schedule_events()
S
57 7 16
each_site()
S
57 7 15
add_admin_bar_items()
S
49 5 32
clear_author_archive_cache()
S
58 6 16
on_updated_option()
S
45 4 46
get_permalink_structure()
S
61 6 12
switch_to_blog()
S
63 6 10
get_blog_id()
S
59 5 15
restore_current_blog()
S
63 6 10
clear_post_terms_archives_cache()
S
59 5 14
cache_cleared_notice()
S
61 5 12
clear_term_archive_cache()
S
61 5 12
clear_page_cache_by_post()
S
61 5 12
__construct()
S
41 2 56
on_update_option()
S
57 4 18
clear_post_date_archives_cache()
S
57 4 16
get_settings()
S
63 5 10
validate_regex()
S
60 4 13
is_cache_enabler_active()
S
60 4 13
clear_page_cache_by_site()
S
60 4 13
clear_user_cache()
S
63 4 11
get_root_blog_exclusions()
S
63 4 11
clear_term_children_archives_cache()
S
62 4 11
clear_page_cache_by_term()
S
52 3 24
update_backend()
S
57 3 16
clear_post_type_archive_cache()
S
64 4 9
get_blog_path_from_url()
S
59 3 14
add_dashboard_cache_size()
S
60 3 13
clear_post_cache()
S
62 3 12
validate_settings()
S
50 2 27
update_disk()
S
62 3 12
clear_term_cache()
S
63 3 11
on_transition_comment_status()
S
72 3 5
on_pre_post_update()
S
67 3 7
clear_term_parents_archives_cache()
S
64 3 9
get_default_settings()
S
65 3 10
clear_page_cache_by_comment()
S
65 3 9
clear_cache_on_option_save()
S
64 3 10
clear_page_cache_by_url()
S
65 3 9
add_plugin_row_meta()
S
62 2 12
add_plugin_action_links()
S
63 2 11
get_default_user_settings()
S
55 1 21
clear_post_type_archives_cache()
S
70 2 6
clear_associated_cache()
S
67 2 8
clear_cache_on_post_save()
S
69 2 7
unschedule_events()
S
70 2 6
clear_post_author_archive_cache()
S
70 2 6
clear_cache_on_user_save()
S
69 2 7
clear_cache_on_term_save()
S
69 2 7
clear_cache_on_comment_save()
S
69 2 7
clear_comment_cache()
S
70 2 6
on_comment_post()
S
73 2 5
get_blog_ids()
S
65 2 9
on_add_option()
S
73 2 5
get_cache_size()
S
63 2 10
install_later()
S
68 2 8
on_plugin_activation_deactivation()
S
74 2 5
on_save_trash_post()
S
71 2 6
on_edit_comment()
S
70 2 6
on_edit_terms()
S
73 2 5
on_saved_delete_term()
S
73 2 5
on_deleted_user()
S
74 2 5
on_woocommerce_stock_update()
S
68 2 8
get_blog_paths()
S
65 2 9
get_blog_path()
S
66 2 7
add_admin_resources()
S
72 2 5
clear_site_cache_by_blog_id()
S
80 1 3
uninstall_backend()
S
73 1 5
uninstall_later()
S
76 1 4
clear_total_cache()
S
80 1 3
on_update_backend()
S
77 1 4
update()
S
75 1 5
register_settings()
S
78 1 3
on_uninstall()
S
78 1 3
on_deactivation()
S
72 1 5
on_cache_enabler_update()
S
73 1 5
on_activation()
S
75 1 4
register_textdomain()
S
79 1 3
get_cache_index()
S
69 1 6
get_events()
S
75 1 4
clear_page_cache_by_post_id()
S
79 1 3
clear_site_cache()
S
80 1 3
get_cache_cleared_transient_name()
S
75 1 4
get_default_system_settings()
S
65 1 8
clear_date_archives_cache_by_post_id()
S
80 1 3
clear_author_archives_cache_by_user_id()
S
80 1 3
clear_taxonomies_archives_cache_by_post_id()
S
80 1 3
add_settings_page()
S
67 1 9
user_can_clear_cache()
S
71 1 5
on_register_update_delete_user()
S
80 1 3
clear_complete_cache()
S
78 1 3
clear_expired_cache()
S
72 1 5
init()
S
81 1 3