-
Home
-
Redis Object Cache
-
2.0.17
-
Code
-
Classes
- WP_Object_Cache
Total Complexity |
286 |
Dependencies |
11 |
Dependents |
1 |
Total lines |
1,886 |
Lines of code |
1,030 |
Logical lines of code |
599 |
Comment lines |
515 |
Methods |
46 |
Properties |
16 |
Methods 46
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
connect_using_credis() |
C |
32 |
28 |
94 |
is_serialized() |
B |
41 |
24 |
53 |
get_multiple() |
B |
36 |
21 |
78 |
flush() |
B |
39 |
19 |
67 |
add_or_replace() |
B |
40 |
15 |
61 |
__construct() |
B |
43 |
16 |
46 |
connect_using_predis() |
A |
41 |
15 |
55 |
connect_using_phpredis() |
A |
40 |
14 |
60 |
get() |
A |
45 |
12 |
41 |
maybe_serialize() |
A |
56 |
10 |
18 |
connect_using_hhvm() |
A |
49 |
7 |
32 |
set() |
S |
49 |
7 |
30 |
maybe_unserialize() |
S |
59 |
8 |
13 |
fetch_info() |
S |
56 |
7 |
18 |
delete() |
S |
52 |
6 |
24 |
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 |
decrement() |
S |
53 |
4 |
22 |
increment() |
S |
53 |
4 |
22 |
determine_client() |
S |
62 |
4 |
11 |
build_key() |
S |
61 |
4 |
11 |
stats() |
S |
57 |
3 |
20 |
handle_exception() |
S |
61 |
3 |
12 |
get_from_internal_cache() |
S |
66 |
3 |
9 |
switch_to_blog() |
S |
68 |
3 |
7 |
add_global_groups() |
S |
67 |
2 |
8 |
add_to_internal_cache() |
S |
71 |
2 |
6 |
__get() |
S |
78 |
2 |
3 |
get_flush_closure() |
S |
70 |
2 |
7 |
glob_quote() |
S |
60 |
1 |
13 |
is_global_group() |
S |
78 |
1 |
3 |
is_unflushable_group() |
S |
78 |
1 |
3 |
replace() |
S |
78 |
1 |
3 |
incr() |
S |
79 |
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 |
add() |
S |
78 |
1 |
3 |
redis_version() |
S |
82 |
1 |
3 |
redis_instance() |
S |
82 |
1 |
3 |
redis_status() |
S |
81 |
1 |
3 |