TestDiskBalancerCommand

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,427 of 2,4270%40 of 400%69694124124949
testReportNode()2830%n/a11272711
testReportNodeWithoutJson()1560%n/a11181811
testDiskBalancerQueryWithoutSubmitAndMultipleNodes()1250%80%55222211
testReportSimple()1070%n/a11212111
testReportCommandWithInvalidNode()1010%n/a11131311
testPrintFullPathOfPlan()970%20%22161611
testReportCommandWithReadingHostFile()880%n/a11161611
testReportInvalidTopLimit()830%n/a11111111
testSubmitPlanInNonRegularStatus()770%20%22151511
testReportWithGenericOptionFS()770%n/a119911
verifyOutputsOfReportCommand(List, String, String, boolean)770%100%669911
testReportLessThanTotal()620%n/a11111111
testReportMoreThanTotal()620%n/a119911
testDiskBalancerQueryWithoutSubmit()590%n/a11141411
testReportCommandWithMultipleNodes()590%n/a117711
runAndVerifyPlan(MiniDFSCluster, Configuration)580%n/a11111111
testGetNodeList()570%20%22141411
testReportCommandWithInvalidHostFilePath()550%n/a118811
testDiskBalancerExecuteOptionPlanValidityWithException()540%20%22121211
testDiskBalancerExecutePlanValidityWithOutUnitException()540%20%22121211
testDiskBalancerForceExecute()540%20%22121211
testDiskBalancerExecuteOptionPlanValidity()520%20%22131311
testRunMultipleCommandsUnderOneSetup()440%20%22101011
runCommandInternal(String, Configuration)430%20%22101011
testCancelCommand()400%n/a115511
testPlanJsonNode()390%n/a118811
testReportCommandWithNullNodes()380%n/a116611
testPlanNode()350%n/a116611
testIllegalArgument()290%n/a115511
setUp()280%n/a117711
testQueryCommand()260%n/a114411
tearDown()240%40%335511
testHelpCommand()230%n/a115511
testReadClusterFromJson()190%n/a115511
lambda$testCancelCommand$5(String, String)180%n/a114411
testExceptionOnInvalidArguments()140%n/a114411
testReportWithNegativeTopLimit()140%n/a114411
lambda$testQueryCommand$6(String)140%n/a114411
static {...}120%n/a111111
runCommand(String)90%n/a112211
runCommand(String, MiniDFSCluster)90%n/a112211
runCommand(String, Configuration, MiniDFSCluster)90%n/a112211
TestDiskBalancerCommand()80%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
lambda$testIllegalArgument$4(String)50%n/a112211
lambda$testReportWithNegativeTopLimit$3()50%n/a112211
lambda$testExceptionOnInvalidArguments$2()50%n/a112211