SWCFPC_Cache_Controller D

Total Complexity 580
Dependencies 5
Dependents 1
Total lines 3,158
Lines of code 1,841
Logical lines of code 1,203
Comment lines 241
Methods 91
Properties 6

Methods 91

Method Rating Maintainability Complexity Lines of code
can_i_bypass_cache()
D
22
93 111
start_preloader_for_all_urls()
D
29
40 106
actions()
D
26
37 131
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
35 14 88
purge_cache_queue_write()
A
46 12 38
purge_cache_queue_start_cronjob()
A
47 12 35
purge_cache_on_post_edit()
A
50 10 25
reset_all()
A
47 8 38
inject_cache_buster_js_code()
A
43 5 82
setup_response_headers_backend()
A
43 6 61
purge_cache_queue_job()
A
51 8 25
apply_cache()
A
47 7 40
ajax_preloader_start()
A
47 7 38
prefetch_urls()
A
45 4 77
start_cache_preloader_for_specific_urls()
S
50 7 27
redirect_301_real_url()
S
54 7 18
wp_redirect_filter()
S
55 7 18
bypass_cache_on_init()
S
50 6 31
purge_opcache()
S
57 7 15
purge_cache_when_post_is_published()
S
57 7 15
ajax_enable_page_cache()
S
53 6 21
ajax_disable_page_cache()
S
54 6 20
setup_response_headers_filter()
S
51 5 28
woocommerce_purge_scheduled_sales()
S
60 6 13
get_nginx_rules()
S
52 5 25
is_external_link()
S
64 6 9
purge_cache_when_comment_is_approved()
S
61 5 11
ajax_preloader_unlock()
S
53 4 23
woocommerce_purge_product_page_on_stock_change()
S
57 4 17
cronjob_preloader()
S
64 5 8
purge_siteground_cache()
S
63 5 9
is_siteground_supercacher_enabled()
S
62 5 10
cronjob_purge_cache()
S
64 5 8
purge_cache_when_new_comment_is_added()
S
61 4 12
purge_wpengine_cache()
S
62 4 12
ajax_purge_single_post_cache()
S
53 3 22
purge_cache_on_theme_edit()
S
67 4 7
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
is_purge_cache_queue_writable()
S
69 3 6
purge_cache_queue_custom_interval()
S
69 3 6
purge_cache_when_comment_is_deleted()
S
63 3 10
can_i_start_preloader()
S
69 3 6
purge_cache_programmatically()
S
69 3 6
purge_cache_queue_init_directory()
S
68 3 7
purge_cache_on_elementor_ajax_update()
S
68 3 7
litespeed_hooks()
S
64 3 9
purge_kinsta_cache()
S
65 3 9
can_kinsta_cache_be_purged()
S
70 3 6
can_spinupwp_cache_be_purged()
S
73 3 5
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_object_cache()
S
68 2 7
purge_spinupwp_cache()
S
69 2 7
purge_spinupwp_cache_single_url()
S
68 2 7
__construct()
S
66 2 8
wp_rocket_hooks()
S
65 2 9
wp_rocket_disable_page_cache()
S
74 2 5
reset_htaccess()
S
76 2 4
swcfpc_cache_mbox_save_values()
S
73 2 5
get_cookies_to_bypass_in_worker_mode()
S
68 2 7
spl_purge_single_post()
S
65 2 9
spl_purge_all()
S
64 2 10
nginx_helper_purge_single_url_hooks()
S
68 2 7
is_cache_enabled()
S
70 2 6
w3tc_hooks()
S
65 2 9
wpo_hooks()
S
68 2 7
unlock_cache_purge_queue()
S
80 1 3
get_cache_buster()
S
83 1 3
add_metaboxes()
S
66 1 9
get_cache_control_value()
S
71 1 5
hummingbird_hooks()
S
73 1 5
wp_performance_hooks()
S
73 1 5
litespeed_single_post_hooks()
S
68 1 7
lock_cache_purge_queue()
S
80 1 3
nginx_helper_purge_all_hooks()
S
73 1 5
yasr_hooks()
S
68 1 7
flying_press_hooks()
S
72 1 5
autoptimize_hooks()
S
73 1 5
edd_purge_cache_on_payment_add()
S
73 1 5
lock_preloader()
S
80 1 3
unlock_preloader()
S
80 1 3
wpacu_hooks()
S
73 1 5