TestDFSShell

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total11,558 of 11,5580%172 of 1720%1641642,2332,2337878
testDFSShell()1,0540%100%6627827811
testCopyCommandsToDirectoryWithPreserveOption()5770%20%2211711711
testErrOutPut()5580%280%151514314311
testCopyCommandsWithPreserveOption()5580%20%2211411411
testDuSnapshots()4760%n/a11949411
testURIPaths()4690%40%33757511
textTest(Path, Configuration)4600%40%33888811
testSetXAttrCaseSensitivity()4010%20%22171711
testFilePermissions()3840%n/a11363611
testStat()3570%n/a11515111
testDu()3500%20%22787811
testAppendToFileWithOptionN()3440%20%22656511
testCopyCommandsWithRawXAttrs()3020%60%44444411
testCopyCommandsPreserveAclAndStickyBit()2740%20%22555511
testCountSnapshots()2730%n/a11595911
testPut()2290%n/a11383811
testCopyCommandsWithForceOption()2180%40%33333311
testChmod(Configuration, FileSystem, String)2040%20%22373711
testCopyToLocal()1870%20%22373711
testGet()1730%40%33383811
testCopyFromLocalWithPermissionDenied()1640%100%66363611
testSetrep()1560%20%22222211
testSetXAttrPermissionAsDifferentOwner()1530%20%22282811
deleteFileUsingTrash(boolean, boolean)1520%120%77313111
testListReserved()1430%n/a11292911
testAppendToFile()1350%n/a11252511
testGetFAttrErrors()1320%40%33242411
testSetrepLow()1140%n/a11282811
testZeroSizeFile()1120%40%33202011
testCopyReserved()1110%n/a11242411
testCount()1100%n/a11161611
testSetXAttrPermission()1100%20%22191911
doTestCopyCommandsWithRawXAttrs(FsShell, FileSystem, Path, Path, boolean)1040%80%55191911
runCmd(FsShell, String[])1020%20%22121211
doFsStat(Configuration, String, Path[])970%100%66151511
testMoveWithTargetPortEmpty()950%20%22242411
doSetXattr(ByteArrayOutputStream, FsShell, String[], String[], String[], String[])920%80%55202011
testHead()910%n/a11161611
testTail()900%n/a11161611
createTree(FileSystem, String)880%n/a11111111
testAppendToFileBadArgs()880%n/a11171711
testChecksum()850%n/a11171711
testLsr()720%n/a11121211
doCopyAndTest(FsShell, Path, Path, String, int)700%20%22101011
runLsr(FsShell, String, int)680%n/a11141411
runCount(String, long, long, FsShell)650%20%22161611
getMaterializedReplicas(MiniDFSCluster)630%60%44121211
testTailWithFresh()570%n/a11121211
static {...}560%n/a116611
confirmPermissionChange(String, String, FileSystem, FsShell, Path)520%n/a116611
setup()440%n/a11121211
testChmodReserved()440%n/a119911
testChownReserved()440%n/a119911
testTotalSizeOfAllFiles()430%n/a11101011
testRemoteException()410%20%22111111
corrupt(List, String)360%20%227711
createLocalFile(File)350%20%228811
testRecursiveRm()350%n/a11101011
checkXAttrs(FileSystem, Path, boolean, boolean)340%40%33121211
confirmOwner(String, String, FileSystem, Path[])330%60%446611
testText()320%n/a117711
testSnapshotReserved()320%n/a11121211
createLocalFileWithRandomData(int, File)280%20%228811
testInvalidShell()260%n/a116611
writeFile(FileSystem, Path)220%n/a115511
testSymLinkReserved()210%n/a116611
testRmReserved()180%n/a116611
testMkdirReserved()170%n/a116611
show(String)160%n/a112211
TestDFSShell()150%n/a114411
writeByte(FileSystem, Path)150%n/a115511
mkdir(FileSystem, Path)150%n/a114411
rmr(FileSystem, Path)100%n/a113311
tearDown()0%20%223311
testServerConfigRespected()0%n/a112211
testServerConfigRespectedWithClient()0%n/a112211
testClientConfigRespected()0%n/a112211
testNoTrashConfig()0%n/a112211