CartController

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total285 of 74961%21 of 3844%193465173215
addToCartAjax(Long, Integer, HttpSession)7910957%5550%46174501
updateQuantity(Long, Integer, HttpSession, RedirectAttributes)614844%5337%45172901
addToCart(Long, Integer, HttpSession, RedirectAttributes)559162%7541%57143401
viewCartSwedish(HttpSession, Model, Authentication)4210671%2250%2383001
removeFromCart(Long, HttpSession, RedirectAttributes)173466%1150%1241201
clearCart(HttpSession, RedirectAttributes)111557%n/a013801
getCartItemsFromSession(HttpSession)8952%1150%122501
lambda$addToCartAjax$3(Long, CartController.CartItem)60%n/a111111
lambda$addToCart$0(Long, CartController.CartItem)60%n/a111111
getCartCount(HttpSession)23100%n/a010701
viewCart(HttpSession, Model, Authentication)6100%n/a010101
CartController(ProductService)6100%n/a010101
lambda$removeFromCart$2(Long, CartController.CartItem)6100%n/a010101
lambda$updateQuantity$1(Long, CartController.CartItem)6100%n/a010101
static {...}5100%n/a010101