SW_CLOUDFLARE_PAGECACHE D

Total Complexity 177
Dependencies 18
Dependents 0
Total lines 1,202
Lines of code 731
Logical lines of code 482
Comment lines 142
Methods 56
Properties 3

Methods 56

Method Rating Maintainability Complexity Lines of code
update_plugin()
C
29
25 146
include_libs()
A
43 13 42
get_unparsed_url()
A
58 11 12
get_home_url()
A
52 9 22
get_default_config()
A
31 1 136
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
62 4 11
maybe_deactivate_free()
S
55 3 21
get_single_config()
S
66 4 9
get_cloudflare_worker_content()
S
65 4 9
__construct()
S
61 3 13
set_single_config()
S
65 3 10
deactivate_plugin()
S
67 3 8
get_current_lang_code()
S
69 2 7
get_permalink()
S
69 2 7
get_cloudflare_handler()
S
71 2 6
wildcard_match()
S
66 2 8
get_fallback_cache_handler()
S
71 2 6
does_current_url_have_trailing_slash()
S
70 2 6
get_wordpress_roles()
S
67 2 8
get_html_cache_handler()
S
71 2 6
get_second_level_domain()
S
67 2 8
get_logger()
S
71 2 6
get_cache_controller()
S
71 2 6
get_varnish_handler()
S
71 2 6
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
init_config()
S
69 2 7
get_cloudflare_api_zone_id()
S
71 2 6
get_plugin_wp_content_directory_uri()
S
63 1 11
get_config()
S
83 1 3
actions()
S
72 1 5
load_sdk()
S
77 1 4
update_config()
S
80 1 3
set_config()
S
82 1 3
get_plugin_version()
S
83 1 3
get_ignored_query_params()
S
79 1 3
home_url()
S
79 1 3
get_modules()
S
83 1 3
get_objects()
S
82 1 3
has_cloudflare_api_zone_id()
S
80 1 3
get_plugin_wp_content_directory()
S
74 1 4
is_login_page()
S
78 1 3
load_textdomain()
S
78 1 3
get_plugin_wp_content_directory_url()
S
75 1 4