| Percentage | Lines | ||
|---|---|---|---|
| QuantityColumn |
|
0 % | 7 |
| QuantityCell |
|
0 % | 44 |
| CartTeaser |
|
0 % | 40 |
| AddToCartAction |
|
0 % | 104 |
| CartPositionTrait |
|
0 % | 102 |
| CartController |
|
0 % | 96 |
| ShoppingCart |
|
36 % | 241 |
| Module |
|
100 % | 114 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ShoppingCart::getAdditionalLinks() | 72 | 22 | |
| AddToCartAction::run() | 56 | 42 | |
| AddToCartAction::afterRun() | 42 | 23 | |
| ShoppingCart::putPositions() | 42 | 27 | |
| CartController::actionUpdateQuantity() | 30 | 21 | |
| CartController::actionRemove() | 12 | 15 | |
| ShoppingCart::hasErrors() | 12 | 10 | |
| QuantityCell::isSelectMode() | 6 | 4 | |
| CartController::getViewPath() | 6 | 8 | |
| ShoppingCart::getCurrency() | 6 | 8 | |