# ModernConcurrentMaterialStore

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 504 of 1,276 | 60% | 50 of 88 | 43% | 60 | 111 | 122 | 291 | 21 | 67
findByCreators(String[]) |  | 0% |  | 0% | 4 | 4 | 15 | 15 | 1 | 1
close() |  | 41% |  | 30% | 5 | 6 | 10 | 18 | 0 | 1
toString() |  | 0% |  | n/a | 1 | 1 | 7 | 7 | 1 | 1
getMediaMaterials() |  | 0% |  | n/a | 1 | 1 | 7 | 7 | 1 | 1
filterMaterials(Predicate) |  | 0% |  | n/a | 1 | 1 | 7 | 7 | 1 | 1
findWithPredicate(Predicate) |  | 0% |  | n/a | 1 | 1 | 7 | 7 | 1 | 1
getSorted(Comparator) |  | 0% |  | n/a | 1 | 1 | 7 | 7 | 1 | 1
getMaterialsByYear(int) |  | 0% |  | n/a | 1 | 1 | 6 | 6 | 1 | 1
getDiscountedMaterials() |  | 0% |  | n/a | 1 | 1 | 6 | 6 | 1 | 1
getAllMaterialsSorted() |  | 0% |  | n/a | 1 | 1 | 6 | 6 | 1 | 1
groupByType() |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
getTotalDiscountedValue() |  | 0% |  | n/a | 1 | 1 | 6 | 6 | 1 | 1
getTotalDiscountAmount() |  | 0% |  | n/a | 1 | 1 | 6 | 6 | 1 | 1
getAllMaterials() |  | 57% |  | 50% | 1 | 2 | 3 | 8 | 0 | 1
clearInventory() |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
getInventoryStats() |  | 90% |  | 75% | 1 | 3 | 1 | 28 | 0 | 1
size() |  | 58% |  | 50% | 1 | 2 | 3 | 8 | 0 | 1
ModernConcurrentMaterialStore(Collection) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
lambda$getDiscountedMaterials$0(Material) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$getMaterialsByYear$0(int, Material) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
isEmpty() |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$findByCreators$0(String) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
findRecentMaterials(int) |  | 84% |  | 50% | 1 | 2 | 1 | 10 | 0 | 1
lambda$getTotalDiscountAmount$0(Material) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
parallelSearchAsync(String, String, Material.MaterialType) |  | 91% |  | 50% | 6 | 7 | 1 | 11 | 0 | 1
lambda$findByCreators$1(Set, Material) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getMaterialsByPriceRange(double, double) |  | 90% |  | 50% | 3 | 4 | 1 | 8 | 0 | 1
searchByTitle(String) |  | 89% |  | 50% | 2 | 3 | 1 | 9 | 0 | 1
searchByCreator(String) |  | 89% |  | 50% | 2 | 3 | 1 | 9 | 0 | 1
getMaterialsByType(Material.MaterialType) |  | 86% |  | 50% | 1 | 2 | 1 | 8 | 0 | 1
performMaintenance() |  | 0% |  | 0% | 2 | 2 | 2 | 2 | 1 | 1
findById(String) |  | 94% |  | 75% | 1 | 3 | 1 | 10 | 0 | 1
removeMaterial(String) |  | 91% |  | 50% | 1 | 2 | 1 | 6 | 0 | 1
addMaterial(Material) |  | 96% |  | 50% | 1 | 2 | 0 | 5 | 0 | 1
lambda$getMaterialsByPriceRange$0(double, double, Material) |  | 92% |  | 50% | 2 | 3 | 0 | 1 | 0 | 1
lambda$findRecentMaterials$0(int, Material) |  | 87% |  | 50% | 1 | 2 | 0 | 1 | 0 | 1
ModernConcurrentMaterialStore() |  | 100% |  | n/a | 0 | 1 | 0 | 9 | 0 | 1
getTotalInventoryValue() |  | 100% |  | n/a | 0 | 1 | 0 | 6 | 0 | 1
addMaterialsBatchAsync(Collection) |  | 100% |  | n/a | 0 | 1 | 0 | 5 | 0 | 1
findByIdsAsync(List) |  | 100% |  | n/a | 0 | 1 | 0 | 5 | 0 | 1
lambda$findByIdsAsync$2(List, Void) |  | 100% |  | n/a | 0 | 1 | 0 | 4 | 0 | 1
lambda$parallelSearchAsync$2(List, Void) |  | 100% |  | n/a | 0 | 1 | 0 | 5 | 0 | 1
lambda$new$0(Runnable) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
scheduleMaintenanceTasks() |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
lambda$getInventoryStats$0(Material) |  | 100% |  | 75% | 1 | 3 | 0 | 1 | 0 | 1
lambda$addMaterialsBatchAsync$2(List, Void) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
ensureNotClosed() |  | 100% |  | 100% | 0 | 2 | 0 | 3 | 0 | 1
lambda$getMaterialsByType$0(Material.MaterialType, Material) |  | 100% |  | 100% | 0 | 2 | 0 | 1 | 0 | 1
lambda$addMaterialsBatchAsync$1(Material) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
addMaterialAsync(Material) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
findByIdAsync(String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
searchByTitleAsync(String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$findByIdsAsync$0(String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$addMaterialsBatchAsync$0(Material) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getTotalInventoryValueAsync() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getInventoryStatsAsync() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$searchByCreator$0(String, Material) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$searchByTitle$0(String, Material) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$findByIdsAsync$4(Map.Entry) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$findByIdsAsync$1(String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$findByIdsAsync$3(Map.Entry) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$addMaterialAsync$0(Material) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$parallelSearchAsync$1(Material.MaterialType) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$parallelSearchAsync$0(String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$searchByTitleAsync$0(String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$findByIdAsync$0(String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
static {...} |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1