WP_Object_Cache D

Total Complexity 420
Dependencies 12
Dependents 1
Total lines 2,690
Lines of code 1,505
Logical lines of code 908
Comment lines 694
Methods 64
Properties 17

Methods 64

Method Rating Maintainability Complexity Lines of code
connect_using_credis()
C
31 29 99
connect_using_predis()
C
34 29 79
is_serialized()
B
41 24 53
get_multiple()
B
35 21 90
__construct()
B
39 22 60
connect_using_phpredis()
B
37 19 71
flush()
B
42 17 53
add_or_replace()
B
40 15 61
connect_using_relay()
A
41 14 54
get()
A
44 12 44
add_multiple_at_once()
A
42 11 52
flush_group()
A
46 12 35
set_multiple_at_once()
A
42 11 48
show_error_and_die()
A
45 9 40
maybe_serialize()
A
56 10 18
fetch_info()
A
52 9 23
delete_multiple_at_once()
A
49 8 29
set()
A
48 7 33
connect_using_hhvm()
A
48 7 33
maybe_unserialize()
S
59 8 13
add_multiple()
S
56 7 17
execute_lua_script_on_cluster()
S
50 6 28
delete()
S
51 6 26
execute_lua_script()
S
51 6 26
build_parameters()
S
48 5 36
lua_flush_extended_closure()
S
47 4 42
lua_flush_closure()
S
52 5 26
validate_expiration()
S
63 6 10
delete_multiple()
S
59 5 14
set_multiple()
S
59 5 14
parse_redis_response()
S
62 5 12
increment()
S
52 4 24
decrement()
S
52 4 24
info()
S
50 3 27
cache_group_types()
S
64 4 11
determine_client()
S
62 4 11
stats()
S
57 3 20
fast_build_key()
S
64 4 9
handle_exception()
S
61 3 12
get_from_internal_cache()
S
66 3 9
switch_to_blog()
S
68 3 7
build_cluster_connection_array()
S
62 2 12
add_global_groups()
S
65 2 9
is_group_of_type()
S
75 2 4
add_to_internal_cache()
S
71 2 6
build_key()
S
67 2 8
__get()
S
78 2 3
sanitize_key_part()
S
78 2 3
get_flush_closure()
S
70 2 7
glob_quote()
S
60 1 13
redis_version()
S
82 1 3
is_predis()
S
79 1 3
replace()
S
78 1 3
flush_runtime()
S
77 1 4
add()
S
78 1 3
is_unflushable_group()
S
79 1 3
is_global_group()
S
79 1 3
add_unflushable_groups()
S
73 1 5
add_non_persistent_groups()
S
72 1 5
redis_status()
S
81 1 3
incr()
S
79 1 3
decr()
S
79 1 3
is_ignored_group()
S
79 1 3
redis_instance()
S
82 1 3