| Percentage | Lines | ||
|---|---|---|---|
| ServiceProvider |
|
95 % | 40 |
| ListCard |
|
100 % | 180 |
| ResourceController |
|
100 % | 61 |
| CardRequest |
|
100 % | 95 |
| CRAP Score | Lines | ||
|---|---|---|---|
| CardRequest::prepareQuery() | 10 | 37 | |
| ResourceController::__invoke() | 6 | 55 | |
| CardRequest::card() | 4 | 14 | |
| ServiceProvider::routes() | 2 | 13 | |
| ListCard::getCacheKey() | 2 | 10 | |
| ListCard::orderBy() | 2 | 11 | |
| ListCard::name() | 2 | 3 | |
| CardRequest::cardResource() | 2 | 8 | |
| ServiceProvider::register() | 1 | 2 | |
| CardRequest::authorize() | 1 | 3 | |