| Percentage | Lines | ||
|---|---|---|---|
| PhPsst |
|
100 % | 88 |
| SqLiteStorage |
|
100 % | 91 |
| Storage |
|
100 % | 27 |
| RedisStorage |
|
100 % | 34 |
| FileStorage |
|
100 % | 93 |
| Password |
|
100 % | 66 |
| CRAP Score | Lines | ||
|---|---|---|---|
| FileStorage::garbageCollection() | 6 | 12 | |
| PhPsst::store() | 4 | 21 | |
| PhPsst::retrieve() | 4 | 22 | |
| Storage::hasValidJsonData() | 4 | 6 | |
| Storage::getPasswordFromJson() | 4 | 13 | |
| FileStorage::__construct() | 4 | 13 | |
| PhPsst::generateKey() | 3 | 14 | |
| SqLiteStorage::store() | 3 | 18 | |
| SqLiteStorage::__construct() | 3 | 21 | |
| SqLiteStorage::get() | 3 | 16 | |