Percentage | Lines | ||
---|---|---|---|
Noop |
|
53 % | 167 |
Memory |
|
67 % | 18 |
AbstractCache |
|
76 % | 411 |
Adapter |
|
78 % | 108 |
Predis |
|
80 % | 69 |
Memcached |
|
84 % | 53 |
Stash |
|
85 % | 54 |
Psr6Cache |
|
85 % | 53 |
PhpRedis |
|
86 % | 56 |
CachedAdapter |
|
98 % | 339 |
CRAP Score | Lines | ||
---|---|---|---|
CachedAdapter::callWithFallback() | 30 | 17 | |
AbstractCache::listContents() | 6 | 17 | |
AbstractCache::pathIsInDirectory() | 6 | 4 | |
AbstractCache::isComplete() | 5 | 12 | |
Adapter::setFromStorage() | 5 | 11 | |
AbstractCache::storeContents() | 5 | 19 | |
AbstractCache::has() | 5 | 10 | |
AbstractCache::read() | 4 | 8 | |
Adapter::load() | 4 | 9 | |
CachedAdapter::has() | 4 | 19 | |