WP_Object_Cache D

Total Complexity 340
Dependencies 12
Dependents 1
Total lines 2,350
Lines of code 1,299
Logical lines of code 725
Comment lines 635
Methods 54
Properties 17

Methods 54

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
__construct()
B
40 20 55
flush()
B
39 19 67
get()
B
37 17 78
add_or_replace()
B
38 16 69
connect_using_predis()
A
41 15 55
connect_using_phpredis()
A
40 14 60
connect_using_relay()
A
43 11 48
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
delete_multiple_at_once()
S
51 5 26
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
build_key()
S
61 4 11
determine_client()
S
62 4 11
stats()
S
57 3 20
delete_multiple()
S
63 4 10
handle_exception()
S
61 3 12
switch_to_blog()
S
68 3 7
get_from_internal_cache()
S
66 3 9
trace_command()
S
69 3 6
add_global_groups()
S
67 2 8
add_to_internal_cache()
S
71 2 6
__get()
S
78 2 3
add_multiple()
S
68 2 7
set_multiple()
S
68 2 7
get_flush_closure()
S
70 2 7
glob_quote()
S
60 1 13
sanitize_key_part()
S
79 1 3
replace()
S
78 1 3
redis_version()
S
82 1 3
flush_runtime()
S
77 1 4
redis_instance()
S
82 1 3
add_non_persistent_groups()
S
75 1 4
add_unflushable_groups()
S
75 1 4
is_ignored_group()
S
78 1 3
redis_status()
S
81 1 3
incr()
S
79 1 3
decr()
S
79 1 3
is_unflushable_group()
S
78 1 3
is_global_group()
S
78 1 3
add()
S
78 1 3