WP_Object_Cache D

Total Complexity 148
Dependencies 4
Dependents 1
Total lines 894
Lines of code 419
Logical lines of code 270
Comment lines 289
Methods 27
Properties 10

Methods 27

Method Rating Maintainability Complexity Lines of code
__construct()
D
31 35 92
is_serialized()
B
40 24 53
get()
A
47 13 33
get_multi()
A
48 10 32
add_or_replace()
S
52 7 24
set()
S
55 6 19
delete()
S
58 5 15
parse_redis_response()
S
62 5 12
flush()
S
59 4 15
validate_expiration()
S
67 5 7
stats()
S
59 3 15
maybe_serialize()
S
66 4 9
decrement()
S
60 3 13
increment()
S
60 3 13
build_key()
S
63 3 11
switch_to_blog()
S
68 3 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
add()
S
78 1 3
incr()
S
79 1 3
add_to_internal_cache()
S
80 1 3
add_non_persistent_groups()
S
75 1 4
replace()
S
78 1 3
redis_instance()
S
82 1 3