SW_CLOUDFLARE_PAGECACHE D

Total Complexity 184
Dependencies 16
Dependents 0
Total lines 1,751
Lines of code 797
Logical lines of code 526
Comment lines 128
Methods 52
Properties 4

Methods 52

Method Rating Maintainability Complexity Lines of code
update_plugin()
C
30 23 134
ajax_test_page_cache()
B
34 18 96
include_libs()
A
43 13 42
get_unparsed_url()
A
58 11 12
get_home_url()
A
52 9 22
get_default_config()
A
30 1 141
can_current_user_purge_cache()
S
56 6 18
create_plugin_wp_content_directory()
S
58 6 15
is_api_request()
S
60 6 12
delete_directory_recursive()
S
57 5 16
enable_wp_cli_support()
S
66 5 7
generate_password()
S
59 4 14
get_cloudflare_api_zone_domain_name()
S
62 4 12
maybe_load_pro_modules()
S
63 4 11
deactivate_plugin()
S
63 4 11
maybe_deactivate_free()
S
57 3 19
get_cloudflare_worker_content()
S
65 4 9
get_single_config()
S
66 4 9
__construct()
S
60 3 14
set_single_config()
S
65 3 10
add_plugin_meta_links()
S
60 2 13
does_current_url_have_trailing_slash()
S
70 2 6
get_wordpress_roles()
S
67 2 8
wildcard_match()
S
66 2 8
get_current_lang_code()
S
69 2 7
get_permalink()
S
69 2 7
get_second_level_domain()
S
67 2 8
delete_plugin_wp_content_directory()
S
67 2 8
get_cloudflare_worker_route_id()
S
71 2 6
get_cloudflare_worker_id()
S
70 2 6
get_cloudflare_worker_mode()
S
71 2 6
get_cloudflare_api_token()
S
71 2 6
get_cloudflare_api_email()
S
71 2 6
get_cloudflare_api_key()
S
71 2 6
get_cloudflare_api_zone_id()
S
71 2 6
init_config()
S
69 2 7
get_plugin_wp_content_directory_url()
S
75 1 4
get_ignored_query_params()
S
83 1 3
actions()
S
67 1 7
load_sdk()
S
77 1 4
home_url()
S
79 1 3
update_config()
S
80 1 3
set_config()
S
82 1 3
add_plugin_action_links()
S
69 1 6
get_config()
S
83 1 3
get_modules()
S
83 1 3
get_objects()
S
82 1 3
get_plugin_wp_content_directory_uri()
S
73 1 4
is_login_page()
S
78 1 3
load_textdomain()
S
78 1 3
get_plugin_wp_content_directory()
S
74 1 4
get_plugin_version()
S
83 1 3