| Percentage | Lines | ||
|---|---|---|---|
| RepositoryInterface |
|
0 % | 62 |
| StorageInterface |
|
0 % | 65 |
| ArrayStorage |
|
100 % | 78 |
| RedisExtensionStorage |
|
100 % | 112 |
| Repository |
|
100 % | 92 |
| CRAP Score | Lines | ||
|---|---|---|---|
| RedisExtensionStorage::read() | 3 | 7 | |
| ArrayStorage::read() | 2 | 6 | |
| ArrayStorage::incrementBy() | 2 | 8 | |
| RedisExtensionStorage::put() | 2 | 4 | |
| RedisExtensionStorage::setPrefix() | 2 | 4 | |
| Repository::read() | 2 | 10 | |
| Repository::readOrPut() | 2 | 11 | |
| ArrayStorage::put() | 1 | 4 | |
| ArrayStorage::increment() | 1 | 4 | |
| ArrayStorage::decrement() | 1 | 4 | |