WP_Object_Cache D

Total Complexity 211
Dependencies 6
Dependents 0
Total lines 1,192
Lines of code 640
Logical lines of code 415
Comment lines 420
Methods 38
Properties 11

Methods 38

Method Rating Maintainability Complexity Lines of code
_call_redis()
C
36 30 70
get_multiple()
B
42 19 52
__construct()
A
48 13 29
decr()
A
46 11 41
incr()
A
46 11 41
get()
A
49 8 32
set()
A
51 8 27
_get_internal()
A
56 8 18
delete_group()
A
56 8 17
build_client_parameters()
S
50 7 30
delete()
S
54 7 22
_unset_internal()
S
59 7 13
_connect_redis()
S
47 5 39
add()
S
61 5 12
_set_internal()
S
61 5 12
stats()
S
52 4 22
_isset_internal()
S
63 5 9
is_redis_failback_flush_enabled()
S
67 5 8
_exists()
S
60 4 14
perform_client_connection()
S
60 4 13
prepare_client_connection()
S
59 3 15
_key()
S
62 3 11
exception_message_matches()
S
64 3 10
wp_action_admin_notices_warn_missing_redis()
S
69 3 6
_should_use_redis_hashes()
S
70 3 6
replace()
S
65 3 9
_format_message_for_pattern()
S
69 3 6
switch_to_blog()
S
75 2 4
_exception_handler()
S
67 2 8
flush()
S
70 2 7
check_client_dependencies()
S
71 2 6
add_global_groups()
S
67 2 8
retry_exception_messages()
S
75 1 4
add_redis_hash_groups()
S
72 1 5
_should_persist()
S
79 1 3
reset()
S
79 1 3
add_non_persistent_groups()
S
72 1 5
__destruct()
S
82 1 3