WP_Object_Cache D

Total Complexity 312
Dependencies 11
Dependents 1
Total lines 2,146
Lines of code 1,188
Logical lines of code 657
Comment lines 582
Methods 47
Properties 17

Methods 47

Method Rating Maintainability Complexity Lines of code
get_multiple()
D
30 30 131
connect_using_credis()
C
32 28 94
is_serialized()
B
41 24 53
flush()
B
39 19 67
get()
B
37 17 78
__construct()
B
42 18 49
add_or_replace()
B
38 16 69
connect_using_predis()
A
41 15 55
connect_using_phpredis()
A
40 14 60
maybe_serialize()
A
56 10 18
set()
A
46 8 39
connect_using_hhvm()
A
49 7 32
delete()
A
48 7 32
maybe_unserialize()
S
59 8 13
decrement()
S
46 6 39
increment()
S
46 6 39
fetch_info()
S
56 7 18
build_parameters()
S
49 5 32
lua_flush_extended_closure()
S
47 4 42
validate_expiration()
S
63 6 10
lua_flush_closure()
S
52 4 28
parse_redis_response()
S
62 5 12
info()
S
50 4 27
determine_client()
S
62 4 11
build_key()
S
61 4 11
stats()
S
57 3 20
handle_exception()
S
61 3 12
switch_to_blog()
S
68 3 7
trace_command()
S
69 3 6
get_from_internal_cache()
S
66 3 9
get_flush_closure()
S
70 2 7
add_global_groups()
S
67 2 8
add_to_internal_cache()
S
71 2 6
__get()
S
78 2 3
glob_quote()
S
60 1 13
is_unflushable_group()
S
78 1 3
is_ignored_group()
S
78 1 3
sanitize_key_part()
S
79 1 3
add_non_persistent_groups()
S
75 1 4
add_unflushable_groups()
S
75 1 4
redis_instance()
S
82 1 3
redis_status()
S
81 1 3
incr()
S
79 1 3
redis_version()
S
82 1 3
add()
S
78 1 3
replace()
S
78 1 3
is_global_group()
S
78 1 3