# MaterialController

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 22 of 146 | 84% | 4 of 8 | 50% | 4 | 17 | 7 | 40 | 0 | 13
updateMaterial(String, Material) |  | 58% |  | 50% | 2 | 3 | 3 | 8 | 0 | 1
createMaterial(Material) |  | 63% |  | 50% | 1 | 2 | 3 | 6 | 0 | 1
deleteMaterial(String) |  | 85% |  | 50% | 1 | 2 | 1 | 4 | 0 | 1
getMaterialById(String) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
getMaterialsByPriceRange(double, double) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
searchByTitle(String) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
searchByCreator(String) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getMaterialsByType(Material.MaterialType) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getRecentMaterials(int) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getMaterialCount() |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getAllMaterials() |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getInventoryStats() |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
MaterialController(MaterialStore) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1