# COSWriter

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 472 of 2,621 | 81% | 65 of 264 | 75% | 60 | 189 | 81 | 600 | 7 | 57
doWriteSignature() |  | 0% |  | 0% | 5 | 5 | 25 | 25 | 1 | 1
writeExternalSignature(byte[]) |  | 0% |  | 0% | 4 | 4 | 11 | 11 | 1 | 1
getDataToSign() |  | 0% |  | 0% | 3 | 3 | 6 | 6 | 1 | 1
write(FDFDocument) |  | 0% |  | 0% | 2 | 2 | 8 | 8 | 1 | 1
getXRefRanges(List) |  | 78% |  | 75% | 2 | 5 | 4 | 19 | 0 | 1
visitFromDictionary(COSDictionary) |  | 91% |  | 79% | 7 | 18 | 3 | 44 | 0 | 1
write(PDDocument, SignatureInterface) |  | 92% |  | 86% | 4 | 16 | 3 | 49 | 0 | 1
fillGapsWithFreeEntries() |  | 89% |  | 83% | 2 | 7 | 3 | 27 | 0 | 1
doWriteXRefInc(COSDocument, boolean) |  | 77% |  | 50% | 2 | 4 | 4 | 18 | 0 | 1
doWriteHeader(COSDocument) |  | 82% |  | 75% | 1 | 3 | 1 | 14 | 0 | 1
COSWriter(OutputStream, RandomAccessRead, Set) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
write(COSDocument) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
lambda$write$3(COSBase) |  | 63% |  | 50% | 1 | 2 | 1 | 5 | 0 | 1
visitFromDocument(COSDocument) |  | 92% |  | 77% | 3 | 10 | 1 | 25 | 0 | 1
visitFromArray(COSArray) |  | 94% |  | 92% | 1 | 8 | 1 | 24 | 0 | 1
doWriteXRefTable() |  | 96% |  | 75% | 2 | 5 | 1 | 23 | 0 | 1
doWriteBody(COSDocument) |  | 92% |  | 66% | 2 | 4 | 1 | 14 | 0 | 1
getOutput() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isNeedToBeUpdated(COSBase) |  | 77% |  | 50% | 1 | 2 | 1 | 3 | 0 | 1
lambda$doWriteXRefTable$0(XReferenceEntry) |  | 90% |  | 75% | 1 | 3 | 0 | 1 | 0 | 1
doWriteBodyCompressed(COSDocument) |  | 100% |  | 93% | 1 | 9 | 0 | 48 | 0 | 1
static {...} |  | 100% |  | n/a | 0 | 1 | 0 | 23 | 0 | 1
COSWriter(OutputStream, RandomAccessRead) |  | 100% |  | n/a | 0 | 1 | 0 | 25 | 0 | 1
writeString(byte[], boolean, OutputStream) |  | 100% |  | 100% | 0 | 10 | 0 | 22 | 0 | 1
COSWriter(OutputStream, CompressParameters) |  | 100% |  | n/a | 0 | 1 | 0 | 21 | 0 | 1
addObjectToWrite(COSBase) |  | 100% |  | 90% | 2 | 11 | 0 | 21 | 0 | 1
doWriteObject(COSObjectKey, COSBase) |  | 100% |  | 83% | 1 | 4 | 0 | 16 | 0 | 1
doWriteTrailer(COSDocument) |  | 100% |  | 50% | 3 | 4 | 0 | 16 | 0 | 1
visitFromStream(COSStream) |  | 100% |  | 66% | 2 | 4 | 0 | 16 | 0 | 1
prepareIncrement() |  | 100% |  | 62% | 3 | 5 | 0 | 10 | 0 | 1
writeXrefEntry(XReferenceEntry) |  | 100% |  | 100% | 0 | 2 | 0 | 9 | 0 | 1
getObjectKey(COSBase) |  | 100% |  | 83% | 1 | 4 | 0 | 9 | 0 | 1
writeReference(COSBase) |  | 100% |  | n/a | 0 | 1 | 0 | 7 | 0 | 1
writeXrefRange(long, long) |  | 100% |  | n/a | 0 | 1 | 0 | 5 | 0 | 1
visitFromString(COSString) |  | 100% |  | 100% | 0 | 2 | 0 | 6 | 0 | 1
doWriteIncrement() |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
doWriteObject(COSBase) |  | 100% |  | n/a | 0 | 1 | 0 | 4 | 0 | 1
doWriteObjects() |  | 100% |  | 100% | 0 | 2 | 0 | 3 | 0 | 1
lambda$getObjectKey$2(COSBase) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
isCompress() |  | 100% |  | 75% | 1 | 3 | 0 | 1 | 0 | 1
writeString(COSString, OutputStream) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
COSWriter(OutputStream) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
addXRefEntry(XReferenceEntry) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
visitFromBoolean(COSBoolean) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
visitFromFloat(COSFloat) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
visitFromInt(COSInteger) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
visitFromName(COSName) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
visitFromNull(COSNull) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
write(PDDocument) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
writeString(byte[], OutputStream) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
setOutput(OutputStream) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
setStandardOutput(COSStandardOutputStream) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
setStartxref(long) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getStandardOutput() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getStartxref() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getXRefEntries() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$fillGapsWithFreeEntries$1(XReferenceEntry) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1