TestDiskBalancerCommand

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,060 of 2,0600%40 of 400%64644974974444
testReportNode()1730%n/a11696911
testDiskBalancerQueryWithoutSubmitAndMultipleNodes()1240%80%55222211
testReportNodeWithoutJson()1180%n/a11313111
testReportCommandWithReadingHostFile()880%n/a11161611
testReportCommandWithInvalidNode()870%n/a11161611
testPrintFullPathOfPlan()860%20%22171711
testReportWithGenericOptionFS()630%n/a11101011
testSubmitPlanInNonRegularStatus()610%20%22171711
testDiskBalancerQueryWithoutSubmit()590%n/a11141411
testGetNodeList()590%20%22141411
testReportCommandWithMultipleNodes()590%n/a117711
verifyOutputsOfReportCommand(List, String, String, boolean)590%100%66101011
testReportCommandWithInvalidHostFilePath()550%n/a118811
testDiskBalancerExecuteOptionPlanValidityWithException()540%20%22121211
testDiskBalancerExecutePlanValidityWithOutUnitException()540%20%22121211
testDiskBalancerForceExecute()540%20%22121211
testCancelCommand()540%n/a118811
runAndVerifyPlan(MiniDFSCluster, Configuration)530%n/a11121211
testReportSimple()530%n/a11212111
testReportInvalidTopLimit()530%n/a11212111
testDiskBalancerExecuteOptionPlanValidity()520%20%22131311
testRunMultipleCommandsUnderOneSetup()440%20%22101011
runCommandInternal(String, Configuration)430%20%22101011
testReportLessThanTotal()400%n/a11171711
testReportMoreThanTotal()400%n/a11171711
testPlanJsonNode()390%n/a118811
testReportCommandWithNullNodes()380%n/a116611
testQueryCommand()370%n/a117711
testPlanNode()350%n/a116611
testIllegalArgument()310%n/a116611
setUp()280%n/a117711
tearDown()240%40%335511
testHelpCommand()230%n/a115511
testReadClusterFromJson()200%n/a115511
testExceptionOnInvalidArguments()150%n/a115511
testReportWithNegativeTopLimit()150%n/a115511
static {...}120%n/a111111
TestDiskBalancerCommand()110%n/a114411
runCommand(String)90%n/a112211
runCommand(String, MiniDFSCluster)90%n/a112211
runCommand(String, Configuration, MiniDFSCluster)90%n/a112211
lambda$testDiskBalancerExecutePlanValidityWithOutUnitException$1(String, Configuration, MiniDFSCluster)70%n/a112211
lambda$testDiskBalancerExecuteOptionPlanValidityWithException$0(String, Configuration, MiniDFSCluster)70%n/a112211
runCommandInternal(String)60%n/a111111