TestDatanodeManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,405 of 3,4050%80 of 800%65656176172525
testGetBlockLocationConsiderStorageTypeAndLoad()3600%20%22595911
testNumVersionsReportedCorrect()3540%220%1212565611
testGetBlockLocationConsiderStorageType()3510%20%22575711
HelperFunction(String, int)3430%120%77606011
testGetBlockLocationConsiderLoad()3130%20%22545411
verifyPendingRecoveryTasks(int, int, int, int, int, int, int, int, boolean)2620%120%77585811
testGetBlockLocations()2360%20%22444411
testGetBlockLocationConsiderLoadWithNodesOfSameDistance()2260%60%44424211
verifyComputeReconstructedTaskNum(int, int, int, int, int)2170%140%88373711
testRemoveIncludedNode()1960%n/a11444411
testNumVersionsCorrectAfterReregister()1020%40%33181811
testHost2NodeMapCorrectAfterReregister()960%n/a11131311
testNetworkTopologyInstantiation()790%n/a11222211
testRejectUnresolvedDatanodes()650%n/a11181811
mockDatanodeManager(FSNamesystem, Configuration)460%n/a119911
testPendingRecoveryTasks()450%n/a115511
testWithProvidedTypes()330%n/a115511
testComputeReconstructedTaskNum()290%n/a115511
testgoodScript()130%n/a112211
testBadScript()130%n/a112211
TestDatanodeManager()60%n/a112211
lambda$verifyPendingRecoveryTasks$0(int)60%20%221111
entry(String)50%n/a111111
testSortLocatedBlocks()50%n/a112211
static {...}40%n/a112211