SWCFPC_Cache_Controller D

Total Complexity 641
Dependencies 6
Dependents 1
Total lines 3,335
Lines of code 2,086
Logical lines of code 1,286
Comment lines 281
Methods 94
Properties 6

Methods 94

Method Rating Maintainability Complexity Lines of code
can_i_bypass_cache()
D
20
98 118
actions()
D
23
40 169
start_preloader_for_all_urls()
D
28
40 115
purge_all()
C
34 31 82
purge_urls()
C
37 25 65
is_url_to_bypass()
B
45 23 34
get_post_related_links()
B
39 19 56
write_htaccess()
B
38 15 73
inject_cache_buster_js_code()
A
40 11 91
purge_cache_on_post_edit()
A
46 13 35
purge_cache_queue_write()
A
45 12 40
purge_cache_queue_start_cronjob()
A
47 12 36
redirect_301_real_url()
A
50 10 25
setup_response_headers_backend()
A
40 6 78
reset_all()
A
46 8 40
wp_redirect_filter()
A
51 8 27
start_cache_preloader_for_specific_urls()
A
50 8 26
apply_cache()
A
46 7 41
purge_cache_queue_job()
A
51 8 24
ajax_preloader_start()
A
47 7 38
prefetch_urls()
A
45 4 77
purge_cache_when_post_is_published()
A
55 8 16
purge_opcache()
S
54 7 19
bypass_cache_on_init()
S
49 6 33
ajax_disable_page_cache()
S
53 6 21
woocommerce_purge_scheduled_sales()
S
59 6 15
setup_response_headers_filter()
S
51 5 27
purge_cache_when_comment_is_approved()
S
59 6 12
is_external_link()
S
62 6 11
cronjob_preloader()
S
60 6 11
cronjob_purge_cache()
S
61 6 11
ajax_enable_page_cache()
S
52 5 23
get_nginx_rules()
S
55 5 21
purge_cache_when_new_comment_is_added()
S
59 5 13
purge_siteground_cache()
S
60 5 12
is_siteground_supercacher_enabled()
S
61 5 11
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
spl_purge_single_post()
S
58 4 15
purge_cache_on_theme_edit()
S
64 5 8
yasr_hooks()
S
58 4 14
wp_rocket_hooks()
S
59 4 14
purge_wpengine_cache()
S
61 4 13
purge_cache_when_comment_is_deleted()
S
61 4 11
ajax_purge_single_post_cache()
S
53 3 22
swcfpc_cache_mbox_callback()
S
56 3 21
can_wpengine_cache_be_purged()
S
66 4 9
litespeed_hooks()
S
62 4 10
generate_new_prefetch_urls_timestamp()
S
60 3 13
litespeed_single_post_hooks()
S
60 3 13
get_siteground_supercacher_version()
S
62 3 12
spl_purge_all()
S
62 3 11
w3tc_hooks()
S
63 3 10
purge_cache_programmatically()
S
68 3 7
is_purge_cache_queue_writable()
S
68 3 7
purge_cache_queue_custom_interval()
S
67 3 7
can_kinsta_cache_be_purged()
S
69 3 7
can_i_start_preloader()
S
67 3 7
purge_cache_queue_init_directory()
S
68 3 7
nginx_helper_purge_single_url_hooks()
S
65 3 8
wpo_hooks()
S
65 3 8
purge_kinsta_cache()
S
63 3 10
wp_rocket_selective_url_purge_hooks()
S
65 3 8
ajax_purge_whole_cache()
S
59 2 14
purge_kinsta_cache_single_url()
S
61 2 14
ajax_purge_everything()
S
59 2 14
ajax_reset_all()
S
61 2 12
purge_spinupwp_cache_single_url()
S
66 2 8
purge_spinupwp_cache()
S
67 2 8
can_spinupwp_cache_be_purged()
S
79 2 3
swcfpc_cache_mbox_save_values()
S
73 2 5
wp_rocket_disable_page_cache()
S
64 2 10
purge_object_cache()
S
65 2 9
__construct()
S
65 2 9
get_cookies_to_bypass_in_worker_mode()
S
66 2 8
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
73 2 5
remove_cache_buster()
S
67 2 8
is_cache_enabled()
S
69 2 7
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