WP_Object_Cache D

Total Complexity 337
Dependencies 4
Dependents 0
Total lines 2,530
Lines of code 1,170
Logical lines of code 746
Comment lines 862
Methods 72
Properties 31

Methods 72

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