-
Home
-
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score
-
1.2.8
-
Code
-
Classes
- WP_Object_Cache
Total Complexity |
171 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
976 |
Lines of code |
516 |
Logical lines of code |
342 |
Comment lines |
346 |
Methods |
29 |
Properties |
11 |
Methods 29
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
_call_redis() |
C |
35 |
28 |
72 |
_connect_redis() |
A |
41 |
14 |
56 |
__construct() |
A |
48 |
13 |
29 |
decr() |
A |
46 |
11 |
41 |
incr() |
A |
46 |
11 |
41 |
get() |
A |
48 |
8 |
34 |
set() |
A |
51 |
8 |
27 |
delete_group() |
A |
56 |
8 |
17 |
delete() |
S |
54 |
7 |
22 |
_get_internal() |
S |
56 |
7 |
18 |
_set_internal() |
S |
58 |
6 |
15 |
_unset_internal() |
S |
60 |
6 |
13 |
add() |
S |
61 |
5 |
12 |
stats() |
S |
53 |
4 |
21 |
is_redis_failback_flush_enabled() |
S |
67 |
5 |
8 |
_exists() |
S |
60 |
4 |
14 |
_isset_internal() |
S |
64 |
4 |
9 |
_key() |
S |
62 |
3 |
11 |
_should_use_redis_hashes() |
S |
70 |
3 |
6 |
wp_action_admin_notices_warn_missing_redis() |
S |
69 |
3 |
6 |
replace() |
S |
65 |
3 |
9 |
switch_to_blog() |
S |
75 |
2 |
4 |
flush() |
S |
70 |
2 |
7 |
_should_persist() |
S |
79 |
1 |
3 |
add_global_groups() |
S |
72 |
1 |
5 |
reset() |
S |
79 |
1 |
3 |
add_redis_hash_groups() |
S |
72 |
1 |
5 |
add_non_persistent_groups() |
S |
72 |
1 |
5 |
__destruct() |
S |
82 |
1 |
3 |