MockDirectoryWrapper

Source file "org/apache/lucene/store/MockDirectoryWrapper.java" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,367 of 2,3670%241 of 2410%1821824784785959
_corruptFiles(Collection)4390%230%1515909011
close()3810%480%2525737311
openInput(String, IOContext)1580%220%1212222211
corruptUnknownFiles()1280%200%1111242411
rename(String, String)1080%140%88191911
createOutput(String, IOContext)1040%100%66191911
createTempOutput(String, String, IOContext)960%60%44181811
MockDirectoryWrapper(Random, Directory)830%20%22181811
maybeThrowIOExceptionOnOpen(String)810%100%668811
maybeThrowIOException(String)660%80%557711
deleteFile(String)640%60%44131311
fillOpenTrace(Throwable, String, boolean)550%140%889911
crash()500%20%22121211
addFileHandle(Closeable, String, MockDirectoryWrapper.Handle)500%20%227711
sizeInBytes()420%60%447711
sync(Collection)370%40%33101011
removeOpenFile(Closeable, String)360%40%338811
maybeThrottle(String, IndexOutput)340%80%556611
maybeThrowDeterministicException()330%60%44101011
getRecomputedSizeInBytes()310%40%337711
getRecomputedActualSizeInBytes()310%40%336611
init()300%60%448811
toString()300%20%223311
syncMetaData()160%20%226611
failOn(MockDirectoryWrapper.Failure)140%20%224411
corruptFiles(Collection)130%20%225511
removeIndexOutput(IndexOutput, String)100%n/a113311
static {...}80%20%221111
clearCrash()70%n/a113311
fileLength(String)70%n/a112211
copyFrom(Directory, String, String, IOContext)70%n/a112211
maybeYield()60%20%223311
getOpenDeletedFiles()60%n/a111111
listAll()60%n/a112211
obtainLock(String)60%n/a112211
resetMaxUsedSizeInBytes()50%n/a112211
getFileHandleCount()50%n/a111111
removeIndexInput(IndexInput, String)50%n/a112211
openChecksumInput(String, IOContext)50%n/a111111
getInputCloneCount()40%n/a111111
setVerboseClone(boolean)40%n/a112211
setTrackDiskUsage(boolean)40%n/a112211
setAllowRandomFileNotFoundException(boolean)40%n/a112211
setAllowReadingFilesStillOpenForWrite(boolean)40%n/a112211
setThrottling(MockDirectoryWrapper.Throttling)40%n/a112211
setUseSlowOpenClosers(boolean)40%n/a112211
setMaxSizeInBytes(long)40%n/a112211
setAssertNoDeleteOpenFile(boolean)40%n/a112211
setRandomIOExceptionRate(double)40%n/a112211
setRandomIOExceptionRateOnOpen(double)40%n/a112211
setFailOnCreateOutput(boolean)40%n/a112211
setFailOnOpenInput(boolean)40%n/a112211
setAssertNoUnrefencedFilesOnClose(boolean)40%n/a112211
getMaxSizeInBytes()0%n/a111111
getMaxUsedSizeInBytes()0%n/a111111
getAssertNoDeleteOpenFile()0%n/a111111
getRandomIOExceptionRate()0%n/a111111
getRandomIOExceptionRateOnOpen()0%n/a111111
ensureOpen()0%n/a112211