TestWebHDFS

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total5,435 of 5,4350%66 of 660%1081081,3191,3197575
testWebHdfsSnapshottableDirectoryList()2680%20%22555511
testWebHdfsSnapshotList()2490%40%33505011
testWebHdfsSnapshotDiff()2290%n/a11515111
testWebHdfsReadRetries()2080%20%22444411
testWebHdfsErasureCodingFiles()1770%n/a11424211
testECPolicyInFileStatus()1690%n/a11434311
testGetEZTrashRoot()1680%n/a11393911
testWebHdfsNoRedirect()1600%n/a11272711
testWebHdfsGetBlockLocations()1580%n/a11333311
largeFileTest(long)1560%20%22333311
testSetQuota()1510%n/a11333311
testStatistics()1490%n/a11393911
testWebHdfsAllowandDisallowSnapshots()1460%n/a11404011
testQuotaUsage()1210%20%22252511
testReadRetryExceptionHelper(WebHdfsFileSystem, Path, IOException, String, boolean, int)1170%20%22282811
testExceptionPropogationInAbstractRunner()1130%n/a11303011
testWebHdfsOffsetAndLength()1010%n/a11232311
testWebHdfsSps()1010%n/a11191911
testFsserverDefaults()1010%n/a11292911
verifySeek(FileSystem, Path, long, long, byte[], byte[])970%20%22191911
verifyPread(FileSystem, Path, long, long, byte[], byte[])950%20%22181811
testWebHdfsPread()950%40%33242411
testECPolicyCommands()870%n/a11212111
testExceedingFileSpaceQuota()840%20%22262611
testWebHdfsDeleteSnapshot()840%n/a11242411
testWebHdfsRenameSnapshot()840%n/a11242411
testGetSnapshotTrashRoot()840%n/a11181811
testWebHdfsGetBlockLocationsWithStorageType()760%80%55151511
testSnapshotInContentSummary()690%n/a11171711
testStoragePolicy()690%n/a11181811
testGetTrashRoots()670%n/a11171711
testWebHdfsCreateSnapshot()660%n/a11191911
testFsStatus()660%n/a11202011
testGetHomeDirectory()640%n/a11161611
testLargeDirectory()630%n/a11131311
compareFsServerDefaults(FsServerDefaults, FsServerDefaults)630%n/a11202011
testWebHdfsAppend()620%20%22191911
checkResponseContainsLocation(URL, String)600%20%22151511
testCustomizedUserAndGroupNames()540%n/a11131311
testFileLinkStatus()530%n/a11141411
verifyEquals(BlockLocation[], BlockLocation[])520%20%22181811
testLinkTarget()500%n/a11151511
testRaceWhileNNStartup()480%n/a11151511
testContentSummary()460%20%22101011
testGetTrashRoot()420%n/a118811
checkData(long, long, int, byte[], byte[])410%60%447711
toBlockLocationArray(String)410%n/a11121211
checkECPolicyState(Collection, String, String)410%80%55131311
testSetStoragePolicyWhenPolicyDisabled()400%n/a11121211
testFsserverDefaultsBackwardsCompatible()400%n/a11121211
testCreateWithNoDN()360%n/a11111111
testGetErasureCodingPolicies()350%n/a11141411
assertResponse(String)330%n/a119911
getFileStatusJson(String, String)330%40%339911
testDTInInsecureCluster()290%n/a119911
getAllErasureCodingCodecs()290%n/a11111111
getUri(String)240%n/a117711
testWebHdfsCreateNonRecursive()230%20%229911
testDTInInsecureClusterWithFallback()230%n/a116611
getResponse(URL, String)230%20%227711
createWebHDFSAsTestUser(Configuration, URI, String)190%n/a112211
testWebHdfsCreateWithInvalidPath()160%n/a115511
static {...}120%n/a114411
getECPolicyFromFileStatusJson(JSONObject)100%20%223311
testNamenodeRestart()90%n/a114411
tearDown()80%20%224411
lambda$testSetQuota$6(WebHdfsFileSystem, Path)60%n/a111111
lambda$testSetQuota$5(WebHdfsFileSystem, Path)60%n/a111111
lambda$testSetQuota$4(WebHdfsFileSystem, Path)60%n/a111111
lambda$testSetQuota$3(WebHdfsFileSystem, Path)60%n/a111111
lambda$testSetQuota$2(WebHdfsFileSystem, Path)60%n/a111111
lambda$testSetQuota$1(WebHdfsFileSystem, Path)60%n/a111111
lambda$testSetQuota$0(WebHdfsFileSystem, Path)60%n/a111111
TestWebHDFS()30%n/a111111
testLargeFile()30%n/a112211