ZipArchiveOutputStream

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total318 of 2,98689%97 of 38274%9626459563973
handleSizesAndCrc(long, long, Zip64Mode)546153%2675%2531401
addUnicodeExtraFields(ZipArchiveEntry, boolean, ByteBuffer)372641%10216%674901
validateIfZip64IsNeededInEOCD()305263%61062%6961901
putArchiveEntry(ZipArchiveEntry, boolean)2610680%41275%4952501
validateSizeInformation(Zip64Mode)214668%6857%583901
handleZip64Extra(ZipArchiveEntry, long, boolean)147884%131145%111321501
setLevel(int)121860%3350%245701
writeDataDescriptor(ZipArchiveEntry)103175%1375%1321001
checkIfNeedsZip64(Zip64Mode)81463%1375%131401
writeCentralFileHeader(ZipArchiveEntry)80%n/a113311
createLocalFileHeader(ZipArchiveEntry, ByteBuffer, boolean, boolean, long)724697%53186%41904201
flush()70%20%223311
writeOut(byte[], int, int)70%n/a112211
writePreamble(byte[])70%n/a112211
ZipArchiveOutputStream(Path, OpenOption[])57593%1150%1201801
createCentralFileHeader(ZipArchiveEntry)56392%71161%7101701
copyFromZipInputStream(InputStream)53186%1375%131801
write(byte[], int, int)52281%1150%121601
preClose()52180%1583%141701
createArchiveEntry(Path, String, LinkOption[])51168%1150%121301
createArchiveEntry(File, String)5964%1150%121301
writeLocalFileHeader(ZipArchiveEntry)50%n/a112211
deflate()40%n/a112211
setComment(String)40%n/a112211
setFallbackToUTF8(boolean)40%n/a112211
setMethod(int)40%n/a112211
writeZip64CentralDirectory()315998%11794%11014101
createCentralFileHeader(ZipArchiveEntry, ByteBuffer, ZipArchiveOutputStream.EntryMetaData, boolean)29099%62480%61604901
shouldUseZip64EOCD()4896%6857%680601
canWriteEntryData(ArchiveEntry)2392%2675%251401
getEntryEncoding(ZipArchiveEntry)1487%1375%130201
isTooLargeForZip32(ZipArchiveEntry)1285%2250%230101
getEncoding()888%1150%120101
rewriteSizesAndCrc(boolean)177100%11191%1702601
writeCentralDirectoryEnd()111100%8100%0502201
finish()90100%8100%0502401
writeLocalFileHeader(ZipArchiveEntry, boolean)79100%4100%0301501
ZipArchiveOutputStream(Path, long)72100%n/a0101801
ZipArchiveOutputStream(SeekableByteChannel)71100%n/a0101801
ZipArchiveOutputStream(OutputStream)67100%n/a0101801
static {...}54100%n/a0101001
closeArchiveEntry()43100%n/a0101001
writeCentralDirectoryInChunks()43100%4100%0301201
addRawArchiveEntry(ZipArchiveEntry, InputStream)42100%2675%250901
getZip64Extra(ZipArchiveEntry)39100%8100%050901
shouldAddZip64Extra(ZipArchiveEntry, Zip64Mode)32100%31178%380301
closeCopiedEntry(boolean)25100%n/a010601
getEffectiveZip64Mode(ZipArchiveEntry)22100%8100%050401
getGeneralPurposeBits(boolean, boolean)21100%1583%140501
closeEntry(boolean, boolean)20100%6100%040601
setDefaults(ZipArchiveEntry)17100%4100%030501
setEncoding(Charset)17100%1375%130501
writePreamble(byte[], int, int)15100%2100%020401
isZip64Required(ZipArchiveEntry, Zip64Mode)14100%2466%240101
usesDataDescriptor(int, boolean)13100%6100%040101
setUseLanguageEncodingFlag(boolean)12100%1375%130201
versionNeededToExtract(int, boolean, boolean)12100%4100%030501
flushDeflater()10100%2100%020301
close()8100%2100%020401
writeOut(byte[])8100%n/a010201
ZipArchiveOutputStream(File)7100%n/a010201
destroy()7100%1150%120301
getName(ZipArchiveEntry)7100%n/a010101
versionNeededToExtractMethod(int)7100%2100%020101
ZipArchiveOutputStream(File, long)6100%n/a010201
hasZip64Extra(ZipArchiveEntry)5100%n/a010101
putArchiveEntry(ZipArchiveEntry)5100%n/a010201
setEncoding(String)5100%n/a010201
writeCounted(byte[])5100%n/a010201
getBytesWritten()4100%n/a010101
isSeekable()4100%n/a010101
setCreateUnicodeExtraFields(ZipArchiveOutputStream.UnicodeExtraFieldPolicy)4100%n/a010201
setUseZip64(Zip64Mode)4100%n/a010201