WP_Object_Cache D

Total Complexity 130
Dependencies 0
Dependents 40
Total lines 1,043
Lines of code 397
Logical lines of code 215
Comment lines 435
Methods 57
Properties 13

Methods 57

Method Rating Maintainability Complexity Lines of code
_get()
S
58 6 16
__construct()
S
60 5 13
add()
S
63 5 10
get()
S
60 4 14
flush_sites()
S
59 4 14
_set()
S
61 4 12
_incr()
S
62 4 11
_decr()
S
62 4 11
_add()
S
64 4 9
_key()
S
60 3 12
flush_groups()
S
63 3 11
incr()
S
67 3 7
replace()
S
67 3 7
flush()
S
65 3 10
_get_cache_version()
S
64 3 10
_incr_np()
S
63 3 10
flush_runtime()
S
66 3 9
set()
S
67 3 7
delete()
S
68 3 7
_decr_np()
S
63 3 10
decr()
S
67 3 7
_get_group_cache_version()
S
64 2 11
stats()
S
61 2 11
_get_site_cache_version()
S
64 2 11
_replace()
S
69 2 7
_replace_np()
S
71 2 6
set_multiple()
S
68 2 7
_set_np()
S
71 2 6
_set_cache_version()
S
70 2 6
switch_to_blog()
S
79 2 3
instance()
S
71 2 6
get_multiple()
S
68 2 7
_get_np()
S
67 2 8
_delete_np()
S
69 2 7
delete_multiple()
S
68 2 7
add_non_persistent_groups()
S
73 2 5
add_global_groups()
S
73 2 5
_add_np()
S
71 2 6
add_multiple()
S
68 2 7
__clone()
S
91 1 2
getCacheHits()
S
82 1 3
getNonPersistentGroups()
S
82 1 3
getNonPersistentCache()
S
82 1 3
getMultiSite()
S
82 1 3
getGroupVersions()
S
82 1 3
getGlobalGroups()
S
82 1 3
getCacheMisses()
S
82 1 3
_set_site_cache_version()
S
79 1 3
getBlogPrefix()
S
82 1 3
getApcuAvailable()
S
82 1 3
getAbsPath()
S
82 1 3
_is_non_persistent_group()
S
79 1 3
_set_group_cache_version()
S
79 1 3
_delete()
S
76 1 4
_exists_np()
S
79 1 3
_get_cache_version_key()
S
78 1 3
getSiteVersions()
S
82 1 3