TestDFSShell

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total10,706 of 10,7060%172 of 1720%1651652,1902,1907979
testDFSShell()8910%100%6627827811
testCopyCommandsToDirectoryWithPreserveOption()5650%20%2211711711
testErrOutPut()5470%280%151513013011
testCopyCommandsWithPreserveOption()5460%20%2211411411
testDuSnapshots()4120%n/a11949411
textTest(Path, Configuration)4040%40%33838311
testSetXAttrCaseSensitivity()4010%20%22171711
testURIPaths()4000%40%33757511
testFilePermissions()3840%n/a11363611
testDu()3470%20%22787811
testStat()3410%n/a11444411
testAppendToFileWithOptionN()3180%20%22616111
testCopyCommandsPreserveAclAndStickyBit()2660%20%22555511
testCopyCommandsWithRawXAttrs()2580%60%44444411
testCountSnapshots()2480%n/a11595911
testPut()2150%n/a11383811
testCopyCommandsWithForceOption()2060%40%33333311
testChmod(Configuration, FileSystem, String)1920%20%22373711
testCopyToLocal()1670%20%22373711
testGet()1650%40%33383811
testCopyFromLocalWithPermissionDenied()1560%100%66343411
testSetXAttrPermissionAsDifferentOwner()1530%20%22282811
testSetrep()1410%20%22222211
testListReserved()1400%n/a11292911
deleteFileUsingTrash(boolean, boolean)1320%120%77313111
testGetFAttrErrors()1310%40%33232311
testAppendToFile()1250%n/a11252511
testCopyReserved()1120%n/a11242411
testSetXAttrPermission()1090%20%22191911
testSetrepLow()1070%n/a11262611
doTestCopyCommandsWithRawXAttrs(FsShell, FileSystem, Path, Path, boolean)1040%80%55191911
testZeroSizeFile()970%40%33202011
doSetXattr(ByteArrayOutputStream, FsShell, String[], String[], String[], String[])920%80%55181811
doFsStat(Configuration, String, Path[])880%100%66141411
testAppendToFileBadArgs()860%n/a11171711
testCount()850%n/a11161611
testChecksum()840%n/a11161611
testMoveWithTargetPortEmpty()800%20%22242411
createTree(FileSystem, String)760%n/a11111111
testHead()740%n/a11151511
testTail()730%n/a11141411
runCmd(FsShell, String[])690%20%22121211
testLsr()660%n/a11121211
getMaterializedReplicas(MiniDFSCluster)630%60%44121211
doCopyAndTest(FsShell, Path, Path, String, int)620%20%22101011
runCount(String, long, long, FsShell)590%20%22161611
testTailWithFresh()570%n/a11121211
static {...}560%n/a116611
runLsr(FsShell, String, int)510%n/a11141411
setup()440%n/a11121211
testChmodReserved()440%n/a119911
testChownReserved()440%n/a119911
testTotalSizeOfAllFiles()430%n/a11101011
testRemoteException()410%20%22111111
confirmPermissionChange(String, String, FileSystem, FsShell, Path)370%n/a116611
testRecursiveRm()360%n/a11101011
corrupt(List, String)360%20%227711
testSnapshotReserved()340%n/a11121211
confirmOwner(String, String, FileSystem, Path[])330%60%446611
testText()320%n/a117711
checkXAttrs(FileSystem, Path, boolean, boolean)320%40%33101011
createLocalFile(File)290%20%228811
createLocalFileWithRandomData(int, File)280%20%228811
testInvalidShell()250%n/a116611
testSymLinkReserved()220%n/a116611
testRmReserved()190%n/a116611
testMkdirReserved()180%n/a116611
writeFile(FileSystem, Path)160%n/a115511
writeByte(FileSystem, Path)150%n/a115511
mkdir(FileSystem, Path)150%n/a114411
rmr(FileSystem, Path)100%n/a113311
TestDFSShell()90%n/a113311
show(String)90%n/a112211
tearDown()0%20%223311
lambda$testPut$0(DFSClient, Path)0%n/a111111
testServerConfigRespected()0%n/a112211
testServerConfigRespectedWithClient()0%n/a112211
testClientConfigRespected()0%n/a112211
testNoTrashConfig()0%n/a112211