UpgradeUtilities

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,014 of 1,0140%64 of 640%59592022022727
initialize()2430%40%33494911
initializeStorageStateConf(int, Configuration)980%40%33141411
checksumContentsHelper(HdfsServerConstants.NodeType, File, CRC32, boolean)980%200%1111212111
createDataNodeStorageDirs(String[], String)810%40%33161611
corruptFile(File, byte[], byte[])730%80%55111111
createBlockPoolStorageDirs(String[], String, String)650%20%22101011
createDataNodeVersionFile(File[], StorageInfo, String, String, Configuration)600%20%22121211
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