| Percentage | Lines | ||
|---|---|---|---|
| GuitarWasDeleted |
|
0 % | 19 |
| ModelWasCreated |
|
0 % | 19 |
| NotificationWasCreated |
|
0 % | 19 |
| NotificationWasDismissed |
|
0 % | 19 |
| SaleWasCreated |
|
0 % | 19 |
| SaleWasDeleted |
|
0 % | 19 |
| GuitarWasCreated |
|
0 % | 19 |
| GuitarWasUpdated |
|
0 % | 19 |
| GuitarController |
|
0 % | 22 |
| NotificationController |
|
0 % | 30 |
| CRAP Score | Lines | ||
|---|---|---|---|
| GuitarController::store() | 30 | 31 | |
| GuitarTransformer::transform() | 30 | 38 | |
| GuitarController::sale() | 12 | 23 | |
| GuitarController::update() | 12 | 23 | |
| GeneratePurchaseNotification::handle() | 4 | 7 | |
| Purchase::getStatusAttribute() | 4 | 11 | |
| Authenticate::handle() | 4 | 12 | |
| AppServiceProvider::boot() | 3 | 9 | |
| PurchaseController::getSupplier() | 3 | 13 | |
| RedirectIfAuthenticated::handle() | 2 | 8 | |