InventoryServiceImpl

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total551 of 4,09886%117 of 35266%122255737561878
lambda$getTile$8(InventoryFilter, double, double, double, double, double, double)670%n/a116611
setInventoryQuantity(InventoryService.InventoryQuantityRequest)573840%12214%7871501
compareSites(AccessionFilter, Map, Pageable)3631089%71161%71045001
updateMoistureContent(SeedInventoryExtra, InventoryService.MoistureContentRequest)360%40%336611
update(Inventory, Inventory)277072%61062%5941701
createHarvestedInventory(Inventory, Site, InventoryMaintenancePolicy, String, String, Double, String, String, Geography, String, String, String, String, boolean)2434993%81666%81328901
assignLocation(InventoryService.AssignLocationRequest)209081%5964%5842201
splitInventory(InventoryService.SplitInventoryRequest)198982%3562%3542301
lambda$getTile$7(QInventory, Tuple)190%n/a111111
list(Class, InventoryFilter, Pageable, String[])189784%4660%4621901
lambda$getInventoryDetails$13(InventoryViability)150%40%335511
convertQuantity(String, Double, String, Double)147984%81869%81411301
lambda$addCompletedInventoryAction$10(Instant, Consumer, InventoryAction)130%20%225511
invitroStart(InvitroInventoryService.IVMultiplicationRequest)1124195%72175%71513901
updateFast(Inventory, Inventory)108489%31381%3921701
listInventoryHarvest(InventoryActionFilter, Pageable)107087%1150%1221401
create(Inventory)106987%31178%3821601
getTile(InventoryFilter, int, int, int)100%n/a111111
lambda$assignMissingInventoryNumbers$20(List)90%n/a111111
lambda$assignMissingInventoryNumbers$18(Inventory)90%n/a111111
lambda$recalculateAllInventoryNumbers$17(List)90%n/a111111
lambda$recalculateAllInventoryNumbers$15(Inventory)90%n/a111111
autocompleteStorageLocation(int, InventoryService.InventoryStorageLocationAutocompleteRequest, Site)815295%62882%61922601
lambda$listInventoryHarvest$27(Inventory, Inventory)81970%5337%450201
remove(Inventory)720396%3975%3723601
getSystemInventory(String, String)70%n/a111111
lambda$assignMissingInventoryNumbers$19(List)70%n/a112211
lambda$recalculateAllInventoryNumbers$16(List)70%n/a112211
lambda$assignLocation$5(InventoryService.AssignLocationRequest.Location)70%n/a111111
discardMaterial(Map)56793%1583%1411201
shareAttachment(Long, List)53386%1150%121701
aggregateQuantity(InventoryFilter, Pageable)52080%1150%121501
lambda$shareAttachment$22()50%n/a111111
lambda$aggregateQuantity$2()50%n/a111111
getInventoryDetails(Inventory)48495%3350%3412401
findByIdAndVersion(Set)44792%1375%130601
lambda$list$11(List)40%n/a111111
assignMissingInventoryNumbers()4393%3125%2301101
entityIdPredicate()0%n/a111111
areCompatibleUnits(String, String, Double)5996%52180%5140901
lambda$getHasUnavailableSite$23(SecurityAction, String, Site)1083%1150%120101
addCompletedInventoryAction(Inventory, CommunityCodeValues.CodeValueDef, Consumer)10199%2250%2312201
mapInfo(ShortFilterService.FilterInfo)142100%n/a0101601
lambda$splitInventory$4(Inventory, InventoryExtra, List, InventoryService.SplitInventoryRequest.SplitInventory)119100%2675%2503001
assureSystemInventory(Accession)74100%n/a0102001
multiplicationOrder(Site, Set, Cooperator, String, String)72100%1150%1201901
applyTCExtraFromRequest(Inventory, InvitroInventoryService.IVMultiplicationItem, Inventory)68100%21083%2701801
lambda$multiplicationOrder$21(AtomicInteger, ArrayList, Inventory)62100%n/a0101701
lambda$compareSites$25(QAccession, List, Object)58100%2100%0201001
applyOrderWithExtra(JPQLQuery, Pageable, String, Querydsl)54100%6100%040901
ensureSystemInventories()46100%n/a010801
adjustFilter(InventoryFilter)44100%1375%1301101
joinDetails(JPAQuery, QInventory)44100%n/a010801
recalculateAllInventoryNumbers()40100%1150%1201101
static {...}33100%n/a010401
mintBarcode(Inventory)30100%2100%020501
assignBarcode(Inventory)24100%2100%020601
prepareLabelContext(Map, Inventory)20100%n/a010401
lambda$listInventoryHarvest$28(List, InventoryService.InventoryHarvest)20100%n/a010701
lambda$discardMaterial$1(int, Inventory, Inventory, InventoryAction)20100%n/a010501
lambda$completeInventoryAction$9(String, Inventory, InventoryAction)16100%n/a010501
getByBarcode(String)13100%n/a010101
inventoryOverview(String, InventoryFilter)13100%n/a010101
getHasUnavailableSite(Collection, SecurityAction, String)13100%n/a010501
lambda$aggregateQuantity$3(InventoryRepositoryCustom.AggregatedInventoryQuantity)12100%n/a010101
assignLocations(List)11100%n/a010401
list(InventoryFilter, Pageable)9100%n/a010101
completeInventoryAction(Inventory, CommunityCodeValues.CodeValueDef, String)8100%n/a010201
entityListQuery()8100%n/a010101
lambda$compareSites$24(Map, Site)8100%n/a010101
lambda$getInventoryDetails$14(AccessionInvAttach)8100%1150%120301
lambda$listInventoryHarvest$26(Inventory, Inventory)7100%n/a010101
lambda$getByBarcode$6(String)6100%n/a010101
get(long)5100%n/a010101
lambda$list$12(String, Sort.Order)5100%n/a010101
createFast(Inventory)4100%n/a010101
lambda$remove$0(OrderRequestItem)4100%n/a010101
InventoryServiceImpl()100%n/a010101