ResourceUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,888 of 1,8880%166 of 1660%1311314104104848
getResourceInformationMapFromConfig(Configuration)2090%180%1010292911
parseResourcesString(String)1510%240%1313313111
checkSpecialResources(Map)1370%120%77181811
getRequestedResourcesFromConfig(Configuration, String)1090%60%44232311
areMandatoryResourcesAvailable(Resource)1030%120%77212111
updateKnownResources()930%120%77232311
addResourceTypeInformation(String, String, Map)890%60%44191911
setAllocationForMandatoryResources(Map, Configuration)810%n/a11111111
addMandatoryResources(Map)630%40%33121211
getResourceTypesMinimumAllocation()620%80%55131311
parseResourceValue(String)550%80%55111111
getConfInputStream(String, Configuration)540%40%33121211
createResourceTypesArray(Map)540%40%33121211
getCustomResourcesStrings(Resource)410%40%339911
multiplyFloor(Resource, double)340%20%225511
createResourceFromString(String, List)340%20%227711
multiplyRound(Resource, double)330%20%225511
initializeNodeResourceInformation(Configuration)320%20%228811
initializeResourceTypesIfNeeded(Configuration, String)310%60%44121211
addResourcesFileToConf(String, Configuration)300%n/a11101011
getResourcesTypeInfo()300%20%228811
reinitializeResources(List)300%20%229911
validateResourceTypes(Iterable, List)300%40%335511
getNodeResourceInformation(Configuration)280%40%33111111
getResourceTypesMaximumAllocation()280%20%225511
static {...}280%n/a11111111
fetchMaximumAllocationFromConfig(Configuration)270%20%227711
createResourceWithSameValue(long)230%20%226611
validateNameOfResourceNameAndThrowException(String)220%20%225511
updateResourceTypeIndex()220%20%225511
getAllocation(Configuration, String, String, long)210%20%225511
initializeResourcesFromResourceInformationMap(Map)180%n/a118811
resetResourceTypes(Configuration)120%n/a114411
getDefaultUnit(String)120%20%224411
getNumberOfCountableResourceTypes()70%20%223311
initializeResourcesMap(Configuration)60%n/a114411
getValue(String)60%n/a111111
getNumberOfKnownResourceTypes()50%20%223311
getResourceTypes(Configuration, String)50%n/a112211
getUnits(String)50%n/a111111
lambda$validateResourceTypes$0(String, ResourceTypeInfo)50%n/a111111
getResourceTypes()40%n/a111111
getResourceTypes(Configuration)40%n/a111111
initializeResourceTypesIfNeeded()40%n/a112211
getResourceTypesArray()30%n/a112211
resetResourceTypes()30%n/a112211
resetNodeResources()30%n/a112211
getResourceTypeIndex()20%n/a111111