SWCFPC_Cloudflare D

Total Complexity 337
Dependencies 1
Dependents 1
Total lines 2,000
Lines of code 1,217
Logical lines of code 781
Comment lines 180
Methods 40
Properties 19

Methods 40

Method Rating Maintainability Complexity Lines of code
page_cache_test()
C
35 27 78
enable_page_cache()
C
36 24 81
get_zone_id_list()
C
36 24 73
disable_page_cache()
B
41 19 52
create_cache_rule()
A
43 14 43
delete_cache_rule()
A
44 14 41
worker_get_list()
A
44 12 42
get_account_ids()
A
45 12 40
worker_route_get_list()
A
45 12 39
worker_upload()
A
45 12 39
add_bypass_cache_backend_page_rule()
A
45 11 37
add_cache_everything_page_rule()
A
45 11 37
worker_route_create()
A
45 11 36
get_current_browser_cache_ttl()
A
46 11 34
delete_page_rule()
A
46 10 38
create_ruleset_id()
A
47 10 33
get_ruleset_id_from_api()
A
48 10 31
purge_cache_urls_async()
A
44 9 41
purge_cache_urls()
A
45 9 40
worker_route_delete()
A
46 9 36
purge_cache()
A
46 8 35
worker_delete()
A
47 8 34
change_browser_cache_ttl()
A
47 8 33
get_current_account_id()
S
52 7 25
try_log_error()
S
57 7 16
get_api_auth_args()
S
53 5 23
find_cache_rule_by_description()
S
63 5 11
ajax_test_page_cache()
S
48 3 36
get_cache_rule_expression()
S
47 1 51
apply_standard_rules()
S
63 4 10
__construct()
S
52 1 24
actions()
S
79 1 3
enable_worker_mode()
S
77 1 4
set_worker_route_id()
S
82 1 3
set_worker_id()
S
82 1 3
set_api_token_domain()
S
82 1 3
set_api_token()
S
82 1 3
set_api_email()
S
82 1 3
set_api_key()
S
82 1 3
set_auth_mode()
S
82 1 3