SWCFPC_Cache_Controller D

Total Complexity 629
Dependencies 9
Dependents 1
Total lines 3,195
Lines of code 2,050
Logical lines of code 1,260
Comment lines 236
Methods 94
Properties 5

Methods 94

Method Rating Maintainability Complexity Lines of code
can_i_bypass_cache()
D
17
98 157
actions()
D
23
40 169
start_preloader_for_all_urls()
D
28
40 114
purge_all()
C
35 30 77
purge_urls()
C
38 25 64
is_url_to_bypass()
B
41 23 47
get_post_related_links()
B
40 19 55
write_htaccess()
B
38 15 72
inject_cache_buster_js_code()
A
40 11 90
purge_cache_on_post_edit()
A
46 13 34
purge_cache_queue_write()
A
47 11 37
apply_cache()
A
45 9 44
redirect_301_real_url()
A
50 10 25
setup_response_headers_backend()
A
41 6 77
reset_all()
A
47 8 36
purge_cache_queue_start_cronjob()
A
51 8 27
wp_redirect_filter()
A
52 8 26
purge_cache_queue_job()
A
52 8 23
ajax_preloader_start()
A
47 7 37
prefetch_urls()
A
45 4 77
purge_cache_when_post_is_published()
S
56 8 15
start_cache_preloader_for_specific_urls()
S
52 7 23
purge_opcache()
S
55 7 18
bypass_cache_on_init()
S
50 6 32
woocommerce_purge_scheduled_sales()
S
60 6 14
is_external_link()
S
62 6 11
purge_cache_when_comment_is_approved()
S
61 6 11
setup_response_headers_filter()
S
51 5 26
ajax_enable_page_cache()
S
53 5 22
get_nginx_rules()
S
55 5 20
purge_cache_when_new_comment_is_added()
S
60 5 12
is_siteground_supercacher_enabled()
S
61 5 11
purge_siteground_cache()
S
61 5 11
ajax_preloader_unlock()
S
54 4 22
woocommerce_purge_product_page_on_stock_change()
S
58 4 16
purge_cache_on_theme_edit()
S
66 5 7
cronjob_preloader()
S
62 5 10
cronjob_purge_cache()
S
62 5 10
wp_rocket_after_rocket_clean_post_hook()
S
58 4 15
spl_purge_single_post()
S
59 4 14
yasr_hooks()
S
59 4 13
wp_rocket_hooks()
S
60 4 13
purge_wpengine_cache()
S
62 4 12
swcfpc_cache_mbox_callback()
S
56 3 21
ajax_purge_single_post_cache()
S
53 3 21
ajax_disconnect_cloudflare()
S
56 3 18
litespeed_hooks()
S
64 4 9
can_wpengine_cache_be_purged()
S
66 4 9
purge_cache_when_comment_is_deleted()
S
62 4 10
litespeed_single_post_hooks()
S
61 3 12
get_siteground_supercacher_version()
S
62 3 12
spl_purge_all()
S
63 3 10
purge_cache_queue_init_directory()
S
68 3 7
can_i_start_preloader()
S
67 3 7
nginx_helper_purge_single_url_hooks()
S
67 3 7
purge_cache_programmatically()
S
68 3 7
w3tc_hooks()
S
64 3 9
is_purge_cache_queue_writable()
S
68 3 7
wpo_hooks()
S
67 3 7
can_kinsta_cache_be_purged()
S
69 3 7
purge_kinsta_cache()
S
65 3 9
wp_rocket_selective_url_purge_hooks()
S
67 3 7
purge_cache_queue_custom_interval()
S
67 3 7
purge_kinsta_cache_single_url()
S
61 2 14
ajax_purge_everything()
S
60 2 13
ajax_purge_whole_cache()
S
60 2 13
ajax_reset_all()
S
61 2 12
purge_spinupwp_cache_single_url()
S
68 2 7
purge_spinupwp_cache()
S
69 2 7
can_spinupwp_cache_be_purged()
S
79 2 3
swcfpc_cache_mbox_save_values()
S
73 2 5
generate_new_prefetch_urls_timestamp()
S
63 2 10
wp_rocket_disable_page_cache()
S
64 2 10
purge_object_cache()
S
67 2 8
__construct()
S
65 2 9
get_cookies_to_bypass_in_worker_mode()
S
68 2 7
purge_on_plugin_update()
S
71 2 5
hummingbird_hooks()
S
71 2 5
nginx_helper_purge_all_hooks()
S
71 2 5
wpacu_hooks()
S
71 2 5
flying_press_hook()
S
71 2 5
autoptimize_hooks()
S
71 2 5
edd_purge_cache_on_payment_add()
S
71 2 5
wp_performance_hooks()
S
71 2 5
reset_htaccess()
S
73 2 5
is_cache_enabled()
S
71 2 6
get_cache_control_value()
S
74 1 4
lock_preloader()
S
80 1 3
unlock_preloader()
S
80 1 3
unlock_cache_purge_queue()
S
80 1 3
add_metaboxes()
S
64 1 10
remove_cache_buster()
S
79 1 3
get_cache_buster()
S
83 1 3
lock_cache_purge_queue()
S
80 1 3