Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B AddProductToCartCommand::execute() 0 15 1 0 0 0
B Command\ShowRecordedEvents::execute() 0 15 2 0 0 0
B InitializeCartCommand::execute() 0 15 3 0 0 0
A ChangeProductQuantityCommand::execute() 0 13 1 0 0 0
A Domain\Model\Cart::addProductToCart() 0 13 3 0 0 0
A ShowRecordedEvents::implodeRecursively() 0 8 4 0 0 0
A RemoveProductFromCartCommand::execute() 0 12 1 0 0 0
A CartController::initializeAction() 0 4 1 1 0 0
A Event\CartInitialized::__construct() 0 3 1 0 0 0
A ShowRecordedEvents::__construct() 0 4 1 0 0 0
A ModelCollection\CartItems::remove() 0 4 2 0 0 0
A Event\CartItemAdded::serialize() 0 7 1 0 0 0
A Model\Cart::applyCartInitialized() 0 4 1 0 0 0
A Command\AddProductToCart::__construct() 0 11 1 0 0 0
A ValueObject\CartItemQuantity::add() 0 3 1 0 0 0