SWCFPC_Cache_Controller D

Total Complexity 641
Dependencies 6
Dependents 1
Total lines 3,266
Lines of code 1,925
Logical lines of code 1,287
Comment lines 279
Methods 94
Properties 6

Methods 94

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