Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B cart\actions\AddToCartAction::run() 0 42 7 56 0 0 0
B ShoppingCart::getAdditionalLinks() 0 22 8 72 0 0 0
B cart\ShoppingCart::putPositions() 0 27 6 42 0 0 0
B actions\AddToCartAction::afterRun() 0 23 6 42 0 0 0
A CartController::actionUpdateQuantity() 0 21 5 30 0 0 0
A CartTeaser::registerCartClearJs() 0 23 1 2 0 0 0
A controllers\CartController::actionIndex() 0 22 2 6 0 0 0
A cart\tests\unit\ModuleTest::setUp() 0 19 1 ? 0 0 0
A ShoppingCart::accumulateEvents() 0 15 2 6 0 0 0
A controllers\CartController::actionRemove() 0 15 3 12 0 0 0
A grid\PriceColumn::getDataCellValue() 0 12 2 ? 0 0 0
A hiqdev\yii2\cart\Module::init() 0 11 2 2 0 0 0
A cart\Module::registerTranslations() 0 11 1 1 0 0 0
A cart\Module::getPaymentMethods() 0 11 3 3 0 0 0
A tests\unit\ShoppingCartTest::setUp() 0 11 1 ? 0 0 0