Code Analysis: Powered Cache 1.2.8

Function Rating Maintainability Complexity Lines of code
Powered_Cache_Admin_Actions::update_settings()
D
25
63 107
powered_cache_page_buffer()
C
30 30 104
WP_Object_Cache::_call_redis()
C
35 28 72
Powered_Cache_Config::htaccess_rules()
C
28
20 135
Powered_Cache_Admin_Helper::diagnostic_info()
B
37 14 78
WP_Object_Cache::_connect_redis()
A
41 14 56
powered_cache_serve_cache()
A
44 15 40
powered_cache_index_file()
A
45 14 37
powered_cache_advanced_cache_notices()
A
44 13 42
WP_Object_Cache::__construct()
A
44 13 42
Powered_Cache_Config::define_wp_cache()
A
45 13 39
Powered_Cache_Preload_Process::preload_taxonomies()
A
43 12 46
WP_Object_Cache::__construct()
A
43 12 45
WP_Object_Cache::__construct()
A
48 13 29
WP_Object_Cache::decr()
A
46 11 41
WP_Object_Cache::incr()
A
46 11 41
powered_cache_get_post_related_urls()
A
45 11 41
WP_Object_Cache::get()
A
47 11 35
powered_cache_get_response_headers()
A
39 8 71
Powered_Cache_CDN::maybe_cdn_replace()
A
46 10 37
Powered_Cache_CDN::cdn_images()
A
49 10 30
Powered_Cache::setup_constants()
A
53 10 29
WP_Object_Cache::set_multi()
A
51 9 26
Powered_Cache::setup()
A
54 9 21
Powered_Cache_Extension_Admin_Base::update_options()
A
53 9 20
WP_Object_Cache::get()
A
48 8 34
WP_Object_Cache::set()
A
51 8 27
WP_Object_Cache::get()
A
51 8 26
WP_Object_Cache::stats()
A
50 8 26
powered_cache_rmdir()
A
53 8 23
WP_Object_Cache::flush_prefix()
A
53 8 22
APCu_Object_Cache::add()
A
53 8 22
WP_Object_Cache::get_multi()
A
48 7 33
powered_cache_object_cache_notices()
A
49 7 32
WP_Object_Cache::delete_group()
A
56 8 17
WP_Object_Cache::get_multi()
S
50 7 30
powered_cache_maybe_htaccess_warning()
S
50 7 30
APCu_Object_Cache::get()
S
51 7 29
Powered_Cache_Config::nginx_rules()
S
41 5 58
WP_Object_Cache::delete()
S
54 7 22
Powered_Cache_Lazy_Load::_setup_filtering()
S
53 7 21
WP_Object_Cache::add()
S
53 7 21
WP_Object_Cache::add()
S
53 7 21
WP_Object_Cache::_get_internal()
S
56 7 18
Powered_Cache_Preload_Process::preload_posts()
S
48 6 29
Powered_Cache_Preload_Process::preload()
S
51 6 25
Powered_Cache_Config::configure_htaccess()
S
52 6 25
WP_Object_Cache::stats()
S
52 6 23
APCu_Object_Cache::decr()
S
54 6 22
APCu_Object_Cache::incr()
S
54 6 22
Powered_Cache_Config::save_to_file()
S
52 6 22
APCu_Object_Cache::replace()
S
55 6 20
Powered_Cache_Extensions::get_extentions()
S
47 5 34
Powered_Cache_Config::setup_object_cache()
S
56 6 18
powered_cache_get_debug_info()
S
48 5 33
WP_Object_Cache::set()
S
56 6 17
WP_Object_Cache::set()
S
56 6 17
powered_cache_plugin_compatability_notices()
S
43 4 46
Powered_Cache_CDN::get_best_possible_cdn_host()
S
59 6 15
WP_Object_Cache::_set_internal()
S
58 6 15
Powered_Cache_Cloudflare_Api::purge()
S
58 6 14
WP_Object_Cache::_unset_internal()
S
60 6 13
powered_cache_is_ssl()
S
61 6 13
Powered_Cache::includes()
S
55 5 20
Powered_Cache_Config::factory()
S
56 5 19
Powered_Cache_Admin::update_options()
S
57 5 18
powered_cache_get_exprired_files()
S
57 5 18
Powered_Cache_Config::find_wp_config_file()
S
57 5 17
Powered_Cache_Object_Cache::purge_object_cache()
S
57 5 16
Powered_Cache_Admin_Helper::available_object_caches()
S
58 5 16
Powered_Cache_Extensions::load_extentions()
S
58 5 15
Powered_Cache_CDN::attachment_image_src()
S
59 5 14
powered_cache_delete_page_cache()
S
60 5 13
Powered_Cache_Lazy_Load::init()
S
61 5 12
WP_Object_Cache::add()
S
61 5 12
Powered_Cache_Lazy_Load::compat()
S
61 5 11
Powered_Cache_Lazy_Load::filter_images()
S
51 4 25
WP_Object_Cache::stats()
S
53 4 21
powered_cache_save_settings()
S
56 4 18
powered_cache_deactivation()
S
57 4 18
Powered_Cache_Admin_Helper::get_timeout_interval()
S
58 4 17
Powered_Cache_Hooks::purge_all_cache()
S
57 4 16
Powered_Cache_Extensions::is_active()
S
63 5 10
Powered_Cache_Admin_Helper::check_cap_and_nonce()
S
65 5 8
WP_Object_Cache::flush()
S
63 5 10
WP_Object_Cache::is_redis_failback_flush_enabled()
S
67 5 8
Powered_Cache_Extensions::activate()
S
59 4 14
Powered_Cache_Preload_Admin::update_preloader_status()
S
59 4 14
WP_Object_Cache::_exists()
S
60 4 14
Powered_Cache_Cron::schedule_events()
S
59 4 14
WP_Object_Cache::replace()
S
60 4 13
WP_Object_Cache::replace()
S
60 4 13
powered_cache_cloudflare_purge_cache()
S
62 4 12
Powered_Cache_Config::generate_advanced_cache_file()
S
61 4 12
Powered_Cache_Preload_Admin::__construct()
S
43 1 57
powered_cache_get_user_cookie()
S
63 4 11
Powered_Cache_Preload_Process::unschedule_events()
S
64 4 11
Powered_Cache_Preload_Process::setup_child_process()
S
61 4 11
Powered_Cache_Preload_Process::schedule_events()
S
61 4 11
Powered_Cache_Cloudflare_Admin::flush_cache()
S
62 4 11
Powered_Cache_Cloudflare_Admin::__construct()
S
53 3 25
Powered_Cache_Cloudflare_Api::remote_request()
S
54 3 21
Powered_Cache_Config::download_rewrite_rules()
S
55 3 20
Powered_Cache_Lazy_Load::filter_iframes()
S
55 3 19
Powered_Cache_Admin_Helper::admin_sections()
S
57 3 16
WP_Object_Cache::_isset_internal()
S
64 4 9
WP_Object_Cache::delete()
S
58 3 15
Powered_Cache_Extension_Admin_Base::get_option()
S
66 4 8
WP_Object_Cache::delete()
S
58 3 15
Powered_Cache_Cloudflare_Admin::get_zones()
S
64 4 10
Powered_Cache_Advanced_Cache::powered_cache_post_related_urls()
S
59 3 14
Powered_Cache_Config::advanced_cache_file_content()
S
49 2 29
Powered_Cache_Extensions::deactivate()
S
60 3 13
APCu_Object_Cache::set()
S
60 3 13
WP_Object_Cache::key()
S
60 3 13
powered_cache_cdn_addresses()
S
61 3 12
Powered_Cache_Preload_Process::http_request()
S
60 3 12
Powered_Cache_Advanced_Cache::purge_on_post_update()
S
61 3 12
Powered_Cache_Hooks::purge_all_admin_bar_menu()
S
62 3 11
Powered_Cache_Object_Cache::admin_bar_menu()
S
62 3 11
Powered_Cache_Cloudflare_Admin::admin_bar_menu()
S
62 3 11
WP_Object_Cache::key()
S
62 3 11
WP_Object_Cache::_key()
S
62 3 11
Powered_Cache_Admin_Helper::get_flash_message()
S
61 3 11
Powered_Cache_Cron::purge_cache()
S
62 3 11
Powered_Cache_Admin_Helper::plugin_button()
S
54 2 20
Powered_Cache_Lazy_Load_Admin::__construct()
S
51 1 33
powered_cache_lazy_load_compat_amp()
S
73 3 5
powered_cache_lazy_load_compat_mobilepress()
S
71 3 5
powered_cache_lazy_load_compat_operamini()
S
71 3 5
APCu_Object_Cache::add_global_groups()
S
66 3 9
APCu_Object_Cache::get_key()
S
64 3 8
powered_cache_is_premium()
S
71 3 6
WP_Object_Cache::wp_action_admin_notices_warn_missing_redis()
S
69 3 6
powered_cache_maybe_require_premium_html()
S
67 3 8
powered_cache_get_extension_settings()
S
64 3 10
powered_cache_get_extension_option()
S
68 3 7
Powered_Cache_Preload_Admin::preload_cache_button()
S
66 3 7
Powered_Cache_Object_Cache::maybe_clear_alloptions_cache()
S
67 3 8
powered_cache_lazy_load_compat_wpprint()
S
71 3 5
APCu_Object_Cache::wp_cache_add_non_persistent_groups()
S
66 3 9
WP_Object_Cache::_should_use_redis_hashes()
S
70 3 6
Powered_Cache_CDN::cdn_url()
S
71 3 6
WP_Object_Cache::replace()
S
65 3 9
powered_cache_is_saving_options()
S
70 3 6
powered_cache_requirements_notice()
S
60 2 15
powered_cache_lazy_load_compat_bp()
S
73 3 5
powered_cache_lazy_load_compat_wptouch()
S
72 3 5
Powered_Cache_Admin::setup()
S
59 2 13
Powered_Cache_Admin::load_scripts()
S
61 2 12
powered_cache_fragment()
S
63 2 11
Powered_Cache_Config::default_settings()
S
52 1 26
Powered_Cache_CDN::setup()
S
56 1 18
Powered_Cache_Config::object_cache_file_content()
S
57 1 16
Powered_Cache_Advanced_Cache::purge_page_cache()
S
65 2 9
WP_Object_Cache::close()
S
74 2 5
Powered_Cache_Admin::download_rewrite_config()
S
65 2 9
WP_Object_Cache::add_non_persistent_groups()
S
69 2 7
Powered_Cache_Preload_Admin::admin_notice()
S
66 2 9
Powered_Cache::instance()
S
65 2 10
Powered_Cache_Lazy_Load::filter()
S
67 2 8
Powered_Cache_Config::setup_page_cache()
S
65 2 10
Powered_Cache_Preload_Process::cron_schedules()
S
63 2 10
Powered_Cache_CDN::srcset_url()
S
70 2 6
WP_Object_Cache::get_mc()
S
71 2 6
APCu_Object_Cache::get_group()
S
79 2 3
Powered_Cache_Preload_Process::factory()
S
68 2 8
Powered_Cache_Extension_Admin_Base::admin_bar_menu()
S
64 2 10
WP_Object_Cache::add_non_persistent_groups()
S
69 2 7
wp_cache_set()
S
66 2 8
WP_Object_Cache::flush()
S
70 2 7
WP_Object_Cache::salt_keys()
S
69 2 7
Powered_Cache_Extension_Admin_Base::__construct()
S
68 2 7
Powered_Cache_Object_Cache::factory()
S
68 2 8
powered_cache_get_settings()
S
67 2 8
Powered_Cache_Admin::action_links()
S
67 2 7
powered_cache_get_option()
S
69 2 6
Powered_Cache_Hooks::setup()
S
66 2 8
Powered_Cache_Admin_Helper::load_settings_template()
S
66 2 8
Powered_Cache_Hooks::factory()
S
68 2 8
Powered_Cache_Extensions::factory()
S
68 2 8
Powered_Cache_Lazy_Load::enqueue_scripts()
S
66 2 7
powered_cache_flush()
S
70 2 7
wp_cache_set()
S
66 2 8
powered_cache_get_cache_dir()
S
71 2 6
powered_cache_get_url_path()
S
68 2 6
Powered_Cache_Extension_Admin_Base::setup()
S
66 2 8
Powered_Cache_Cron::factory()
S
68 2 8
Powered_Cache_Config::protect_cache_dir()
S
65 2 9
Powered_Cache_Admin_Helper::set_flash_message()
S
69 2 6
Powered_Cache_CDN::factory()
S
68 2 8
WP_Object_Cache::flush()
S
70 2 7
Powered_Cache_Lazy_Load_Admin::factory()
S
69 2 7
Powered_Cache_Admin::deactivate_plugin()
S
66 2 8
Powered_Cache_Admin_Actions::exit_with_redirect()
S
66 2 8
APCu_Object_Cache::switch_to_blog()
S
78 2 3
WP_Object_Cache::add_global_groups()
S
69 2 7
Powered_Cache_Preload_Admin::is_running()
S
72 2 6
Powered_Cache_Preload_Admin::factory()
S
69 2 7
Powered_Cache_Admin::admin_bar_menu()
S
65 2 9
APCu_Object_Cache::delete()
S
65 2 9
Powered_Cache_Admin::factory()
S
68 2 8
WP_Object_Cache::switch_to_blog()
S
75 2 4
Powered_Cache_Cloudflare_Api::factory()
S
68 2 7
Powered_Cache_Cloudflare_Admin::factory()
S
69 2 7
WP_Object_Cache::add_global_groups()
S
69 2 7
APCu_Object_Cache::__construct()
S
69 2 6
WP_Object_Cache::switch_to_blog()
S
73 2 5
Powered_Cache_Advanced_Cache::factory()
S
68 2 8
WP_Object_Cache::get_mc()
S
71 2 6
Powered_Cache_Admin_Actions::export_settings()
S
61 1 12
Powered_Cache_Admin_Helper::reset_settings_button()
S
61 1 11
WP_Object_Cache::colorize_debug_line()
S
61 1 11
Powered_Cache_Admin_Helper::export_settings_button()
S
61 1 11
WP_Object_Cache::colorize_debug_line()
S
61 1 11
Powered_Cache_Admin::__construct()
S
100 1 1
wp_cache_delete()
S
76 1 4
wp_cache_incr()
S
75 1 4
wp_cache_init()
S
77 1 4
Powered_Cache_Extension_Admin_Base::is_premium()
S
82 1 3
wp_cache_flush()
S
77 1 4
Powered_Cache_Preload_Process::setup()
S
70 1 6
wp_cache_add_non_persistent_groups()
S
77 1 4
wp_cache_get()
S
75 1 4
Powered_Cache_Admin_Helper::cdn_zones()
S
64 1 9
wp_cache_add_global_groups()
S
77 1 4
powered_cache_mobile_prefixes_regex()
S
71 1 5
Powered_Cache_Admin_Helper::object_cache_dropins()
S
65 1 9
Powered_Cache_Preload_Process::preload_homepage()
S
72 1 5
wp_cache_add()
S
75 1 4
wp_cache_get()
S
75 1 4
WP_Object_Cache::incr()
S
69 1 6
Powered_Cache::__clone()
S
89 1 1
wp_cache_switch_to_blog()
S
77 1 4
Powered_Cache::setup_globals()
S
77 1 4
powered_cache_clean_page_cache_dir()
S
79 1 3
wp_cache_decr()
S
75 1 4
powered_cache_site_cache_dir()
S
68 1 7
Powered_Cache_Admin_Actions::reset_settings()
S
64 1 10
powered_cache_get_url_dir()
S
69 1 6
Powered_Cache_Extension_Admin_Base::settings_page()
S
91 1 2
wp_cache_replace()
S
75 1 4
wp_cache_reset()
S
78 1 4
Powered_Cache_Admin::settings_page()
S
80 1 3
wp_cache_replace()
S
75 1 4
WP_Object_Cache::add_non_persistent_groups()
S
72 1 5
wp_cache_flush()
S
77 1 4
Powered_Cache::load_textdomain()
S
71 1 5
Powered_Cache_Config::__construct()
S
98 1 1
wp_cache_add()
S
75 1 4
Powered_Cache_Admin::admin_menu()
S
68 1 6
Powered_Cache_Cloudflare_Admin::flush_url()
S
64 1 9
boolval()
S
82 1 3
WP_Object_Cache::decr()
S
69 1 6
Powered_Cache_Extensions::__construct()
S
98 1 1
powered_cache_mobile_browsers_regex()
S
71 1 5
powered_cache_update_extension_option()
S
68 1 7
APCu_Object_Cache::reset()
S
82 1 3
wp_cache_incr()
S
75 1 4
wp_cache_incr()
S
75 1 4
wp_cache_replace()
S
75 1 4
WP_Object_Cache::decr()
S
69 1 6
Powered_Cache_Lazy_Load::_get_content_haystack()
S
73 1 5
wp_cache_init()
S
80 1 3
wp_cache_add()
S
75 1 4
wp_cache_replace()
S
75 1 4
WP_Object_Cache::failure_callback()
S
100 1 2
Powered_Cache_Advanced_Cache::admin_bar_menu()
S
66 1 8
wp_cache_delete_group()
S
77 1 4
Powered_Cache_Cloudflare_Admin::setup()
S
75 1 4
wp_cache_add()
S
75 1 4
WP_Object_Cache::add_redis_hash_groups()
S
72 1 5
wp_cache_add_non_persistent_groups()
S
77 1 4
Powered_Cache_Admin_Helper::flush_cache_button()
S
70 1 5
wp_cache_add_global_groups()
S
77 1 4
wp_cache_close()
S
83 1 3
WP_Object_Cache::rotate_global_keys()
S
74 1 4
WP_Object_Cache::add_global_groups()
S
72 1 5
Powered_Cache_Cron::setup()
S
72 1 5
wp_cache_add_non_persistent_groups()
S
77 1 4
powered_cache_mobile_browsers()
S
76 1 4
wp_cache_flush()
S
77 1 4
Powered_Cache_Admin_Helper::diagnostic_button()
S
62 1 10
WP_Object_Cache::rotate_site_keys()
S
73 1 4
Powered_Cache_Admin_Helper::upgrade_button()
S
71 1 5
Powered_Cache_Cloudflare_Api::__construct()
S
77 1 4
Powered_Cache_Cron::unschedule_events()
S
76 1 4
wp_cache_close()
S
77 1 4
Powered_Cache_Advanced_Cache::set_comment_cookie()
S
73 1 4
powered_cache_flash_messages()
S
83 1 3
powered_cache_clean_site_cache_dir()
S
82 1 3
wp_cache_set_multi()
S
74 1 4
wp_cache_delete()
S
76 1 4
wp_cache_switch_to_blog()
S
77 1 4
wp_cache_close()
S
83 1 3
wp_cache_decr()
S
75 1 4
Powered_Cache_Preload_Admin::settings_page()
S
72 1 5
Powered_Cache_Hooks::remove_script_version()
S
75 1 4
Powered_Cache_Lazy_Load::__construct()
S
79 1 3
wp_cache_delete()
S
76 1 4
WP_Object_Cache::close()
S
100 1 2
Powered_Cache_Lazy_Load::remove_skip_classes_elements()
S
67 1 7
wp_cache_switch_to_blog()
S
77 1 4
Powered_Cache_Lazy_Load_Admin::settings_page()
S
75 1 4
Powered_Cache_Advanced_Cache::setup()
S
63 1 10
Powered_Cache_Cloudflare_Admin::admin_menu()
S
81 1 3
Powered_Cache_Extension_Admin_Base::admin_menu()
S
73 1 4
wp_cache_get_multi()
S
76 1 4
Powered_Cache_Cron::__construct()
S
98 1 1
Powered_Cache_Advanced_Cache::purge_post_on_comment_status_change()
S
73 1 5
wp_cache_close()
S
77 1 4
wp_cache_init()
S
77 1 4
powered_cache_mobile_prefixes()
S
76 1 4
Powered_Cache_Cloudflare_Admin::flush_cache_button()
S
71 1 5
WP_Object_Cache::__destruct()
S
82 1 3
wp_cache_incr()
S
75 1 4
Powered_Cache_Extensions::setup()
S
78 1 3
Powered_Cache::__wakeup()
S
89 1 1
powered_cache()
S
82 1 3
Powered_Cache_Cron::cron_schedules()
S
66 1 8
Powered_Cache_Object_Cache::setup()
S
68 1 7
Powered_Cache::__construct()
S
98 1 1
APCu_Object_Cache::stats()
S
82 1 3
wp_cache_set()
S
75 1 4
wp_cache_get()
S
75 1 4
wp_cache_add_redis_hash_groups()
S
77 1 4
wp_cache_add_global_groups()
S
77 1 4
Powered_Cache_Extension_Admin_Base::settings_template()
S
76 1 4
wp_cache_reset()
S
73 1 5
wp_cache_set()
S
75 1 4
WP_Object_Cache::_should_persist()
S
79 1 3
wp_cache_flush()
S
77 1 4
WP_Object_Cache::reset()
S
79 1 3
Powered_Cache_Cloudflare_Admin::settings_page()
S
75 1 4
wp_cache_decr()
S
75 1 4
wp_cache_add_non_persistent_groups()
S
77 1 4
wp_cache_delete()
S
76 1 4
powered_cache_get_page_cache_dir()
S
75 1 4
WP_Object_Cache::incr()
S
69 1 6
wp_cache_init()
S
80 1 3
Powered_Cache_Lazy_Load::_get_skip_classes()
S
75 1 4
Powered_Cache_Cloudflare_Api::get_zones()
S
71 1 5
wp_cache_add_global_groups()
S
77 1 4
wp_cache_get()
S
75 1 4
Powered_Cache_Preload_Process::__construct()
S
98 1 1
Powered_Cache_Lazy_Load::remove_noscript()
S
78 1 3
wp_cache_decr()
S
75 1 4
APCu_Object_Cache::flush()
S
74 1 5