WP_Object_Cache D

Total Complexity 160
Dependencies 4
Dependents 1
Total lines 1,011
Lines of code 502
Logical lines of code 289
Comment lines 329
Methods 31
Properties 13

Methods 31

Method Rating Maintainability Complexity Lines of code
__construct()
D
29 40 102
is_serialized()
B
40 24 53
get_multi()
A
48 10 32
add_or_replace()
A
50 10 28
get()
A
52 8 24
lua_flush_extended_closure()
S
47 4 41
flush()
S
59 5 16
set()
S
57 5 16
parse_redis_response()
S
62 5 12
lua_flush_closure()
S
52 4 27
delete()
S
61 4 12
build_key()
S
61 4 11
stats()
S
54 3 23
maybe_serialize()
S
66 4 9
decr()
S
60 3 13
incr()
S
60 3 13
switch_to_blog()
S
68 3 7
validate_expiration()
S
77 3 3
get_flush_closure()
S
70 2 7
filter_redis_get_multi()
S
72 2 6
get_from_internal_cache()
S
68 2 7
add_global_groups()
S
67 2 8
maybe_unserialize()
S
72 2 6
redis_status()
S
82 1 3
replace()
S
77 1 3
add_to_internal_cache()
S
80 1 3
add_non_persistent_groups()
S
75 1 4
add()
S
77 1 3
redis_version()
S
82 1 3
redis_instance()
S
82 1 3
sanitize_key()
S
75 1 4