UpgradeUtilities

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total962 of 9620%64 of 640%59592022022727
initialize()2430%40%33494911
checksumContentsHelper(HdfsServerConstants.NodeType, File, CRC32, boolean)920%200%1111212111
createDataNodeStorageDirs(String[], String)810%40%33161611
initializeStorageStateConf(int, Configuration)740%40%33141411
createDataNodeVersionFile(File[], StorageInfo, String, String, Configuration)600%20%22121211
createBlockPoolStorageDirs(String[], String, String)580%20%22101011
corruptFile(File, byte[], byte[])580%80%55111111
createNameNodeStorageDirs(String[], String)530%20%229911
createNameNodeVersionFile(Configuration, File[], StorageInfo, String)480%20%22101011
createBlockPoolVersionFile(File, StorageInfo, String)330%20%227711
createEmptyDirs(String[])310%40%336611
createEmptyBPDirs(String[], String)270%20%225511
static {...}180%n/a114411
writeFile(FileSystem, Path, byte[], int)160%n/a114411
checksumContents(HdfsServerConstants.NodeType, File, boolean)120%n/a113311
getCurrentNamespaceID(MiniDFSCluster)90%20%223311
getCurrentClusterID(MiniDFSCluster)90%20%223311
getCurrentBlockPoolID(MiniDFSCluster)90%20%223311
getCurrentFsscTime(MiniDFSCluster)90%20%223311
createDataNodeVersionFile(File[], StorageInfo, String, Configuration)70%n/a112211
UpgradeUtilities()30%n/a111111
checksumMasterNameNodeContents()0%n/a111111
checksumMasterDataNodeContents()0%n/a111111
checksumMasterBlockPoolContents()0%n/a111111
checksumMasterBlockPoolFinalizedContents()0%n/a111111
checksumMasterBlockPoolRbwContents()0%n/a111111
getCurrentNameNodeLayoutVersion()0%n/a111111