Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 40 of 403 | 90% | 5 of 20 | 75% | 5 | 25 | 9 | 89 | 0 | 15 |
getItem(String) | 51% | 50% | 3 | 4 | 2 | 5 | 0 | 1 | ||
createRepo() | 70% | 75% | 1 | 3 | 1 | 8 | 0 | 1 | ||
load(JsonReader) | 94% | 100% | 0 | 3 | 4 | 27 | 0 | 1 | ||
load(File) | 81% | n/a | 0 | 1 | 2 | 6 | 0 | 1 | ||
static {...} | 100% | n/a | 0 | 1 | 0 | 12 | 0 | 1 | ||
getRandom(String) | 100% | 100% | 0 | 2 | 0 | 7 | 0 | 1 | ||
getRandomItem(String, int) | 100% | 75% | 1 | 3 | 0 | 8 | 0 | 1 | ||
store(JsonWriter) | 100% | n/a | 0 | 1 | 0 | 6 | 0 | 1 | ||
ItemRepository() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | ||
addItem(Item) | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | ||
getRandomFood(int) | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | ||
getRandomWeapon(int) | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | ||
getRandomArmour(int) | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | ||
getRandomPotion(int) | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | ||
retrieve(JsonReader) | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 |