CapacitySchedulerPreemptionUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total345 of 3450%52 of 520%3535939399
tryPreemptContainerAndDeductResToObtain(ResourceCalculator, CapacitySchedulerPreemptionContext, Map, RMContainer, Resource, Map, Map, Resource, boolean)1190%200%1111333311
deductPreemptableResourcesBasedSelectedCandidates(CapacitySchedulerPreemptionContext, Map)830%140%88222211
addToPreemptMap(Map, Map, ApplicationAttemptId, RMContainer)430%40%33111111
getResToObtainByPartitionForLeafQueue(CapacitySchedulerPreemptionContext, String, Resource)390%60%44101011
isContainerAlreadySelected(RMContainer, Map)190%40%337711
deductPreemptableResourcePerApp(CapacitySchedulerPreemptionContext, Resource, Collection, Resource)180%20%224411
preemptMapContains(Map, ApplicationAttemptId, RMContainer)140%20%224411
getPartitionByNodeId(CapacitySchedulerPreemptionContext, NodeId)70%n/a111111
CapacitySchedulerPreemptionUtils()30%n/a111111