| Percentage | Lines | ||
|---|---|---|---|
| Application |
|
93 % | 24 |
| RetentionJob |
|
100 % | 174 |
| APIController |
|
100 % | 197 |
| EventListener |
|
100 % | 24 |
| CRAP Score | Lines | ||
|---|---|---|---|
| APIController::editRetention() | 11 | 52 | |
| RetentionJob::run() | 8 | 52 | |
| RetentionJob::getBeforeDate() | 5 | 19 | |
| APIController::addRetention() | 5 | 34 | |
| RetentionJob::checkFileId() | 3 | 18 | |
| RetentionJob::expireNode() | 3 | 13 | |
| APIController::getRetentions() | 2 | 24 | |
| APIController::deleteRetention() | 2 | 29 | |
| Application::__construct() | 1 | 10 | |
| RetentionJob::__construct() | 1 | 18 | |