Code Analysis: Shift8 CDN 1.70

Function Rating Maintainability Complexity Lines of code
shift8_cdn_settings_page()
D
23
32 249
shift8_cdn_poll()
A
39 12 65
shift8_cdn_debug_version_check()
A
43 9 45
Shift8_CDN::is_excluded()
A
52 10 23
shift8_cdn_push()
A
57 9 17
WDS_CLI::flush()
A
47 7 34
shift8_cdn_sanitize_reject_field_display()
S
51 6 29
shift8_cdn_debug_get_php_info()
S
60 6 12
shift8_cdn_sanitize_reject_field()
S
51 5 27
Shift8_CDN::rewrite_srcset()
S
60 5 12
Shift8_CDN::rewrite()
S
55 4 18
shift8_cdn_check_enabled()
S
67 5 7
shift8_cdn_check_paid_transient()
S
68 5 7
shift8_cdn_check_suffix()
S
55 3 19
shift8_cdn_rewrites()
S
58 3 15
Shift8_CDN::__construct()
S
58 3 14
shift8_cdn_url_validate()
S
60 3 13
Shift8_CDN::get_excluded_files()
S
58 2 16
Shift8_CDN::cdn_script_loader_src()
S
64 3 8
WDS_CLI::enable()
S
66 3 8
WDS_CLI::disable()
S
66 3 8
shift8_cdn_decrypt()
S
65 3 8
shift8_cdn_encrypt()
S
64 3 9
register_shift8_cdn_settings()
S
60 2 13
shift8_cdn_add_cron_interval()
S
57 1 18
shift8_cdn_prefetch()
S
65 2 9
Shift8_CDN::get_allowed_paths()
S
62 2 10
shift8_cdn_create_menu()
S
66 2 7
shift8_cdn_uninstall_hook()
S
63 1 12
shift8_cdn_custom_favicon()
S
66 1 11
shift8_main_page()
S
100 1 8
shift8_cdn_deactivation()
S
77 1 4
Shift8_CDN::filter()
S
75 1 4
Shift8_CDN::ob()
S
79 1 3
shift8_cdn_check_options()
S
63 1 10
Shift8_CDN::template_redirect()
S
80 1 3
Shift8_CDN::matchURL()
S
63 1 10
Shift8_CDN::flatten_array()
S
73 1 5
load_shift8_cdn_wp_admin_style()
S
65 1 8