getAllProducts() |   | 67% |   | 50% | 1 | 2 | 6 | 15 | 0 | 1 |
getActiveProducts(int, int, String, String) |   | 83% |   | 50% | 1 | 2 | 1 | 7 | 0 | 1 |
findAllActive(Pageable) |   | 97% |   | 50% | 1 | 2 | 0 | 7 | 0 | 1 |
debugProductCount() |  | 100% |   | 75% | 1 | 3 | 0 | 18 | 0 | 1 |
lambda$decreaseStock$3(Integer, Long, Product) |  | 100% |  | 100% | 0 | 2 | 0 | 7 | 0 | 1 |
getProductById(Long) |  | 100% |  | 100% | 0 | 2 | 0 | 7 | 0 | 1 |
findById(Long) |  | 100% |  | 100% | 0 | 2 | 0 | 6 | 0 | 1 |
decreaseStock(Long, Integer) |  | 100% | | n/a | 0 | 1 | 0 | 4 | 0 | 1 |
updateStock(Long, Integer) |  | 100% | | n/a | 0 | 1 | 0 | 4 | 0 | 1 |
updateProduct(Long, Product) |  | 100% | | n/a | 0 | 1 | 0 | 4 | 0 | 1 |
getRelatedProducts(String, Long, int) |  | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
getPopularProducts(int) |  | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
getNewestProducts(int) |  | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
createProduct(Product) |  | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
findProductsWithFilters(String, BigDecimal, BigDecimal, Boolean, String, Pageable) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
getPopularProducts() |  | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
getNewArrivals() |  | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
getProductsByPriceRange(BigDecimal, BigDecimal) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
saveProduct(Product) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
getLowStockProducts(int) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
lambda$updateStock$2(Integer, Product) |  | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
findByCategory(String, Pageable) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
searchProducts(String) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
searchProducts(String, Pageable) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
getProductsByCategory(String) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
deleteProduct(Long) |  | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
getProductByIdWithoutView(Long) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
hardDeleteProduct(Long) |  | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
lambda$updateProduct$0(Product, Long, Product) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
getAllCategories() |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
getAllActiveProducts() |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
getProductsOnSale() |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
getTotalProductsOnSale() |  | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
ProductService(ProductRepository) |  | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
lambda$updateProduct$1(Long) |  | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
incrementViewCount(Long) |  | 100% | | n/a | 0 | 1 | 0 | 2 | 0 | 1 |
getActiveProductsByCategory(String) |  | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
searchActiveProducts(String) |  | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getTotalActiveProducts() |  | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getAveragePrice() |  | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
static {...} |  | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |