WP_Object_Cache D

Total Complexity 371
Dependencies 5
Dependents 0
Total lines 2,689
Lines of code 1,253
Logical lines of code 795
Comment lines 908
Methods 78
Properties 31

Methods 78

Method Rating Maintainability Complexity Lines of code
htmlStats()
B
43 16 46
write_cache()
A
39 13 66
set()
A
50 15 26
close()
A
42 13 50
flush_blog()
A
46 11 35
get_multiple()
A
48 11 32
error_log()
A
48 11 29
import_wp_transients()
A
46 9 37
flush_group()
A
47 9 32
is_actionable()
A
54 9 20
select_cursor()
A
49 8 29
get_cache()
A
54 8 21
pull_wp_transient()
A
47 7 34
stats()
S
50 7 27
get_group()
S
53 7 21
key_exists_memory()
S
55 7 20
wp_transients()
S
55 7 19
get_defined_option()
S
57 7 16
getStatsCache()
S
49 6 29
delete()
S
60 7 12
select_one()
S
52 6 23
is_valid_key()
S
54 6 21
key_exists_database()
S
57 6 17
push_wp_transient()
S
58 6 15
connect_sqlite()
S
49 5 30
load_prefetch_groups()
S
58 6 14
getStats()
S
51 5 25
export_wp_transients()
S
53 5 22
getStatsGroups()
S
53 5 22
select_parse()
S
56 5 15
addStats()
S
60 5 14
load_cache_misses()
S
58 5 14
select_all()
S
60 5 13
getStatsDB()
S
51 4 28
optimize()
S
52 4 26
init()
S
53 4 24
install()
S
53 4 22
select_each()
S
58 4 16
save_cache_misses()
S
62 5 10
flush()
S
63 5 9
maybe_write_cache()
S
61 4 13
get_defined_options()
S
52 3 27
incr()
S
62 4 10
get_valid_key()
S
65 4 8
add()
S
68 4 6
replace()
S
68 4 6
flush_runtime()
S
63 4 10
delete_cache_file()
S
63 3 10
get_defined_groups()
S
65 3 9
key_exists()
S
67 3 7
get()
S
65 3 9
is_flush_enabled()
S
66 3 8
__construct()
S
64 2 11
is_global_group()
S
77 2 3
add_multiple()
S
65 2 9
cache_hit_ratio()
S
71 2 5
set_multiple()
S
65 2 9
delete_multiple()
S
65 2 9
set_delayed_writes()
S
65 2 10
uninstall()
S
67 2 8
is_non_persistent_group()
S
77 2 3
replace_multiple()
S
65 2 9
_exists()
S
74 2 4
is_permanent_group()
S
77 2 3
is_prefetch_group()
S
77 2 3
switch_to_blog()
S
64 2 10
getLastSample()
S
71 2 6
rebuild_object_cache()
S
80 1 3
__isset()
S
80 1 3
__get()
S
82 1 3
reset()
S
81 1 3
decr()
S
78 1 3
add_global_groups()
S
70 1 6
add_non_persistent_groups()
S
70 1 6
add_permanent_groups()
S
70 1 6
add_prefetch_groups()
S
67 1 7
pending_writes()
S
78 1 3
delete_group()
S
75 1 4