SWCFPC_Fallback_Cache D

Total Complexity 170
Dependencies 4
Dependents 1
Total lines 786
Lines of code 486
Logical lines of code 301
Comment lines 53
Methods 31
Properties 4

Methods 31

Method Rating Maintainability Complexity Lines of code
fallback_cache_add_define_cache_wp_config()
B
37 21 68
fallback_cache_add_current_url_to_cache()
B
40 20 53
fallback_cache_advanced_cache_enable()
A
48 15 31
__construct()
A
55 11 19
fallback_cache_is_url_to_exclude()
A
53 9 22
fallback_cache_retrive_current_page()
A
48 8 33
fallback_cache_get_current_page_cache_key()
A
49 8 29
fallback_cache_save_headers()
S
52 7 24
fallback_cache_remove_url_parameters()
S
52 6 25
fallback_cache_purge_urls()
S
56 5 18
fallback_cache_is_cookie_to_exclude()
S
57 5 17
fallback_cache_advanced_cache_disable()
S
59 5 14
fallback_cache_delete_expired_pages()
S
61 5 12
actions()
S
70 5 5
fallback_cache_delete_config()
S
62 4 12
fallback_cache_init_directory()
S
64 4 10
fallback_cache_get_single_ttl()
S
66 4 9
fallback_cache_get_stored_headers()
S
63 4 10
fallback_cache_purge_all()
S
62 3 12
fallback_cache_set_single_ttl()
S
65 3 10
fallback_cache_is_expired_page()
S
68 3 7
should_prevent_cache_because_of_trailingslash()
S
71 3 5
fallback_cache_save_config()
S
67 2 7
fallback_cache_init_ttl_registry()
S
69 2 7
fallback_cache_check_cached_page()
S
72 2 5
fallback_cache_enable()
S
82 1 3
fallback_cache_disable()
S
82 1 3
fallback_cache_is_wp_config_writable()
S
69 1 7
fallback_cache_is_wp_content_writable()
S
81 1 3
shutdown_add_url_to_cache()
S
83 1 3
fallback_cache_update_ttl_registry()
S
80 1 3