Code Analysis: Simple Cache 2.0.0

Function Rating Maintainability Complexity Lines of code
SC_Settings::screen_options()
C
26
23 203
sc_file_cache()
C
35 29 70
SC_Notices::error_notice()
C
38 24 62
batcache::ob()
B
36 21 70
WP_Object_Cache::_call_redis()
B
42 20 47
sc_serve_file_cache()
B
43 19 40
sc_verify_file_access()
B
44 17 50
SC_Settings::update()
B
41 16 54
SC_Advanced_Cache::toggle_caching()
B
42 16 48
sc_url_exception_match()
B
43 16 47
WP_Object_Cache::__construct()
A
44 13 41
WP_Object_Cache::__construct()
A
44 12 41
WP_Object_Cache::_connect_redis()
A
44 11 46
WP_Object_Cache::decr()
A
46 11 41
WP_Object_Cache::incr()
A
46 11 41
WP_Object_Cache::get()
A
47 11 34
sc_cache_flush()
A
50 10 29
SC_Advanced_Cache::purge_post_on_update()
A
57 10 14
WP_Object_Cache::set_multi()
A
53 9 21
SC_Cron::filter_cron_schedules()
A
54 9 19
WP_Object_Cache::set()
A
51 8 27
WP_Object_Cache::get()
A
51 8 26
WP_Object_Cache::stats()
A
51 8 25
WP_Object_Cache::get()
A
52 8 24
WP_Object_Cache::delete_group()
A
56 8 17
SC_Settings::purge_cache()
A
57 8 16
WP_Object_Cache::get_multi()
A
48 7 31
WP_Object_Cache::get_multi()
S
49 7 30
SC_Notices::setup_notice()
S
51 7 26
batcache::do_headers()
S
53 7 22
WP_Object_Cache::delete()
S
53 7 22
WP_Object_Cache::add()
S
53 7 21
WP_Object_Cache::add()
S
54 7 20
WP_Object_Cache::_get_internal()
S
56 7 18
WP_Object_Cache::stats()
S
52 6 23
WP_Object_Cache::set()
S
56 6 17
WP_Object_Cache::_set_internal()
S
58 6 15
SC_Cron::schedule_events()
S
58 6 15
sc_rrmdir()
S
59 6 15
WP_Object_Cache::set()
S
58 6 14
batcache::is_ssl()
S
61 6 13
WP_Object_Cache::_unset_internal()
S
60 6 13
SC_Cron::purge_cache()
S
60 5 14
batcache::add_debug_html_to_output()
S
60 5 12
WP_Object_Cache::add()
S
61 5 12
SC_Settings::action_admin_enqueue_scripts_styles()
S
65 5 7
WP_Object_Cache::flush()
S
65 5 8
batcache::do_variants()
S
58 4 15
WP_Object_Cache::__construct()
S
65 5 8
SC_Config::write()
S
59 4 14
WP_Object_Cache::replace()
S
60 4 13
SC_Advanced_Cache::purge_post_on_comment()
S
60 4 12
SC_Object_Cache::write()
S
61 4 12
WP_Object_Cache::replace()
S
61 4 11
SC_Object_Cache::get_file_code()
S
55 3 19
SC_Config::__construct()
S
47 1 48
SC_Advanced_Cache::get_file_code()
S
57 3 16
WP_Object_Cache::delete()
S
58 3 15
WP_Object_Cache::delete()
S
58 3 15
batcache::configure_groups()
S
65 4 10
WP_Object_Cache::_isset_internal()
S
64 4 9
SC_Config::clean_up()
S
60 3 13
SC_Advanced_Cache::clean_up()
S
62 3 12
SC_Advanced_Cache::write()
S
61 3 12
WP_Object_Cache::key()
S
62 3 11
WP_Object_Cache::_exists()
S
63 3 11
WP_Object_Cache::_key()
S
62 3 11
vary_cache_on_function()
S
64 3 10
WP_Object_Cache::key()
S
64 3 9
batcache::__construct()
S
69 3 7
SC_Advanced_Cache::purge_post_on_comment_status_change()
S
62 3 10
sc_load_config()
S
67 3 8
WP_Object_Cache::replace()
S
65 3 9
SC_Advanced_Cache::set_comment_cookie_exceptions()
S
66 3 7
SC_Settings::admin_bar_menu()
S
59 2 14
batcache::timer_stop()
S
60 2 13
SC_Settings::setup()
S
63 2 11
WP_Object_Cache::stats()
S
61 2 11
batcache_cancel()
S
72 2 6
SC_Settings::factory()
S
68 2 8
batcache::redirect_status()
S
70 2 7
wp_cache_set()
S
68 2 7
SC_Advanced_Cache::factory()
S
68 2 8
SC_Config::get_defaults()
S
68 2 7
WP_Object_Cache::get_mc()
S
73 2 5
SC_Config::sanitize_length_unit()
S
68 2 7
batcache::add_debug_from_cache()
S
59 1 15
SC_Object_Cache::clean_up()
S
68 2 7
sc_filter_plugin_action_links()
S
66 2 7
WP_Object_Cache::get_mc()
S
71 2 6
SC_Config::factory()
S
70 2 7
SC_Object_Cache::factory()
S
70 2 7
sc_deactivate()
S
66 2 9
SC_Cron::factory()
S
68 2 8
SC_Config::get_file_code()
S
68 2 6
WP_Object_Cache::add_global_groups()
S
70 2 6
SC_Config::get()
S
67 2 8
WP_Object_Cache::close()
S
74 2 5
SC_Config::get_config_file_name()
S
67 2 8
WP_Object_Cache::flush()
S
69 2 7
WP_Object_Cache::add_non_persistent_groups()
S
69 2 7
WP_Object_Cache::add_non_persistent_groups()
S
70 2 6
SC_Notices::setup()
S
66 2 9
sc_activate()
S
70 2 7
SC_Notices::factory()
S
68 2 8
WP_Object_Cache::flush()
S
70 2 7
WP_Object_Cache::add_global_groups()
S
69 2 7
wp_cache_set()
S
66 2 8
WP_Object_Cache::switch_to_blog()
S
72 2 5
WP_Object_Cache::switch_to_blog()
S
75 2 4
sc_get_url_path()
S
73 2 4
sc_get_cache_dir()
S
77 2 3
sc_get_config_dir()
S
77 2 3
batcache::add_debug_just_cached()
S
63 1 12
WP_Object_Cache::colorize_debug_line()
S
61 1 11
WP_Object_Cache::colorize_debug_line()
S
61 1 11
wp_cache_reset()
S
73 1 5
wp_cache_add()
S
75 1 4
wp_cache_replace()
S
75 1 4
wp_cache_decr()
S
75 1 4
wp_cache_replace()
S
75 1 4
wp_cache_get()
S
75 1 4
WP_Object_Cache::incr()
S
69 1 6
wp_cache_add()
S
75 1 4
SC_Cron::unschedule_events()
S
76 1 4
wp_cache_add_non_persistent_groups()
S
77 1 4
batcache::add_variant()
S
76 1 4
WP_Object_Cache::add_non_persistent_groups()
S
72 1 5
sc_get_cache_path()
S
79 1 3
wp_cache_close()
S
83 1 3
wp_cache_close()
S
77 1 4
wp_cache_switch_to_blog()
S
77 1 4
WP_Object_Cache::decr()
S
69 1 6
wp_cache_delete()
S
76 1 4
SC_Cron::setup()
S
72 1 5
SC_Settings::network_admin_menu()
S
77 1 3
wp_cache_init()
S
80 1 3
WP_Object_Cache::decr()
S
69 1 6
wp_cache_get()
S
75 1 4
wp_cache_init()
S
77 1 4
sc_load_textdomain()
S
78 1 3
wp_cache_set()
S
75 1 4
wp_cache_delete_group()
S
77 1 4
SC_Config::boolval()
S
81 1 3
wp_cache_flush()
S
77 1 4
wp_cache_incr()
S
75 1 4
wp_cache_close()
S
77 1 4
wp_cache_set_multi()
S
74 1 4
wp_cache_incr()
S
75 1 4
batcache_stats()
S
100 1 2
WP_Object_Cache::__destruct()
S
82 1 3
wp_cache_add()
S
75 1 4
WP_Object_Cache::_should_persist()
S
79 1 3
WP_Object_Cache::close()
S
100 1 2
wp_cache_add_global_groups()
S
77 1 4
wp_cache_switch_to_blog()
S
77 1 4
wp_cache_flush()
S
77 1 4
batcache::status_header()
S
74 1 5
wp_cache_incr()
S
75 1 4
wp_cache_flush()
S
77 1 4
wp_cache_decr()
S
75 1 4
wp_cache_decr()
S
75 1 4
wp_cache_delete()
S
76 1 4
SC_Settings::action_admin_menu()
S
77 1 3
SC_Advanced_Cache::setup()
S
67 1 7
wp_cache_add_non_persistent_groups()
S
77 1 4
wp_cache_init()
S
77 1 4
wp_cache_get_multi()
S
76 1 4
sc_get_config_file_name()
S
79 1 3
batcache::generate_keys()
S
75 1 4
wp_cache_delete()
S
76 1 4
WP_Object_Cache::failure_callback()
S
100 1 2
wp_cache_replace()
S
75 1 4
wp_cache_get()
S
75 1 4
wp_cache_add_non_persistent_groups()
S
77 1 4
wp_cache_add_global_groups()
S
77 1 4
WP_Object_Cache::reset()
S
79 1 3
WP_Object_Cache::add_global_groups()
S
72 1 5
wp_cache_add_global_groups()
S
77 1 4
WP_Object_Cache::incr()
S
69 1 6