TestDatanodeManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,139 of 3,1390%80 of 800%65656246242525
testGetBlockLocationConsiderStorageTypeAndLoad()3270%20%22595911
HelperFunction(String, int)3190%120%77606011
testGetBlockLocationConsiderStorageType()3180%20%22575711
testGetBlockLocationConsiderLoad()2800%20%22545411
testNumVersionsReportedCorrect()2710%220%1212565611
verifyPendingRecoveryTasks(int, int, int, int, int, int, int, int, boolean)2620%120%77585811
verifyComputeReconstructedTaskNum(int, int, int, int, int)2170%140%88373711
testGetBlockLocations()2030%20%22444411
testRemoveIncludedNode()1960%n/a11444411
testGetBlockLocationConsiderLoadWithNodesOfSameDistance()1930%60%44424211
testHost2NodeMapCorrectAfterReregister()1380%n/a11202011
testNumVersionsCorrectAfterReregister()900%40%33181811
testNetworkTopologyInstantiation()790%n/a11222211
testRejectUnresolvedDatanodes()650%n/a11181811
mockDatanodeManager(FSNamesystem, Configuration)460%n/a119911
testPendingRecoveryTasks()450%n/a115511
testComputeReconstructedTaskNum()290%n/a115511
testWithProvidedTypes()210%n/a115511
testgoodScript()70%n/a112211
testBadScript()70%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