CartController

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total279 of 70460%21 of 3844%193465173215
addToCartAjax(Long, Integer, HttpSession)7810958%5550%46174501
updateQuantity(Long, Integer, HttpSession, RedirectAttributes)603939%5337%45172901
addToCart(Long, Integer, HttpSession, RedirectAttributes)547658%7541%57143401
viewCartSwedish(HttpSession, Model, Authentication)419970%2250%2383001
removeFromCart(Long, HttpSession, RedirectAttributes)162863%1150%1241201
clearCart(HttpSession, RedirectAttributes)101458%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 {...}4100%n/a010101