WP_Object_Cache D

Total Complexity 260
Dependencies 5
Dependents 1
Total lines 1,958
Lines of code 887
Logical lines of code 588
Comment lines 672
Methods 51
Properties 26

Methods 51

Method Rating Maintainability Complexity Lines of code
get_defined_options()
B
49 18 29
htmlStats()
B
43 16 46
write_cache()
A
39 13 69
getStats()
A
38 12 65
set()
A
51 12 23
select_all()
A
48 10 31
close()
A
46 9 39
import_wp_transients()
A
47 9 36
get_multiple()
A
48 9 31
error_log()
A
52 9 22
do_cache_misses()
A
51 8 25
get_valid_key()
A
54 8 19
flush_blog()
S
49 7 29
connect_sqlite()
S
46 6 42
stats()
S
50 7 27
key_exists_memory()
S
59 7 14
select_one()
S
52 6 23
__construct()
S
49 5 33
delete()
S
60 6 12
flush_group()
S
51 5 26
get()
S
57 5 16
addStats()
S
60 5 14
key_exists_database()
S
63 5 10
add()
S
66 5 7
add_wp_transient()
S
58 4 14
load_prefetch_groups()
S
61 4 11
get_defined_groups()
S
62 4 11
incr()
S
62 4 10
replace()
S
68 4 6
select_parse_row()
S
59 3 12
maybe_write_cache()
S
65 3 9
delete_cache_file()
S
63 3 10
set_multiple()
S
65 2 9
getLastSample()
S
70 2 6
cache_hit_ratio()
S
71 2 5
key_exists()
S
72 2 5
add_multiple()
S
65 2 9
flush()
S
70 2 6
replace_multiple()
S
65 2 9
set_delayed_writes()
S
65 2 10
delete_multiple()
S
65 2 9
switch_to_blog()
S
72 2 5
decr()
S
78 1 3
add_prefetch_groups()
S
70 1 6
add_permanent_groups()
S
70 1 6
add_non_persistent_groups()
S
70 1 6
__isset()
S
80 1 3
add_global_groups()
S
70 1 6
flush_runtime()
S
72 1 6
__get()
S
82 1 3
reset()
S
75 1 4