SWCFPC_Cache_Controller D

Total Complexity 622
Dependencies 5
Dependents 1
Total lines 3,222
Lines of code 1,868
Logical lines of code 1,223
Comment lines 249
Methods 92
Properties 6

Methods 92

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