# PDDocument

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 740 of 1,382 | 46% | 109 of 158 | 31% | 82 | 136 | 200 | 361 | 20 | 57
addSignature(PDSignature, SignatureInterface, SignatureOptions) |  | 0% |  | 0% | 14 | 14 | 61 | 61 | 1 | 1
prepareVisibleSignature(PDAnnotationWidget, PDAcroForm, COSDocument) |  | 0% |  | 0% | 12 | 12 | 24 | 24 | 1 | 1
saveIncrementalForExternalSigning(OutputStream) |  | 0% |  | 0% | 6 | 6 | 17 | 17 | 1 | 1
assignAcroFormDefaultResource(PDAcroForm, COSDictionary) |  | 0% |  | 0% | 5 | 5 | 14 | 14 | 1 | 1
findSignatureField(Iterator, PDSignature) |  | 0% |  | 0% | 5 | 5 | 10 | 10 | 1 | 1
prepareNonVisibleSignature(PDAnnotationWidget) |  | 0% |  | n/a | 1 | 1 | 7 | 7 | 1 | 1
assignSignatureRectangle(PDAnnotationWidget, COSDictionary) |  | 0% |  | 0% | 3 | 3 | 6 | 6 | 1 | 1
saveIncremental(OutputStream, Set) |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
checkSignatureField(Iterator, PDSignatureField) |  | 0% |  | 0% | 4 | 4 | 7 | 7 | 1 | 1
checkSignatureAnnotation(List, PDAnnotationWidget) |  | 0% |  | 0% | 3 | 3 | 5 | 5 | 1 | 1
getSignatureDictionaries() |  | 40% |  | 25% | 2 | 3 | 4 | 7 | 0 | 1
getLastSignatureDictionary() |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
protect(ProtectionPolicy) |  | 70% |  | 66% | 2 | 4 | 1 | 11 | 0 | 1
assignAppearanceDictionary(PDAnnotationWidget, COSDictionary) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
close() |  | 83% |  | 80% | 2 | 6 | 2 | 13 | 0 | 1
getEncryption() |  | 52% |  | 75% | 1 | 3 | 1 | 3 | 0 | 1
addSignature(PDSignature, SignatureInterface) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
addSignature(PDSignature) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
importPage(PDPage) |  | 90% |  | 50% | 2 | 3 | 2 | 11 | 0 | 1
getDocumentCatalog() |  | 80% |  | 75% | 1 | 3 | 1 | 7 | 0 | 1
PDDocument(COSDocument, RandomAccessRead) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
addSignature(PDSignature, SignatureOptions) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
save(OutputStream, CompressParameters) |  | 89% |  | 75% | 2 | 5 | 1 | 10 | 0 | 1
static {...} |  | 88% |  | n/a | 0 | 1 | 2 | 8 | 0 | 1
getSignatureFields() |  | 84% |  | 66% | 2 | 4 | 1 | 8 | 0 | 1
getVersion() |  | 83% |  | 100% | 0 | 3 | 2 | 11 | 0 | 1
saveIncremental(OutputStream) |  | 76% |  | 50% | 1 | 2 | 1 | 5 | 0 | 1
PDDocument(COSDocument) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
removePage(int) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
setDocumentId(Long) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
setResourceCache(ResourceCache) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getCurrentAccessPermission() |  | 66% |  | 50% | 1 | 2 | 1 | 3 | 0 | 1
PDDocument(MemoryUsageSetting) |  | 100% |  | n/a | 0 | 1 | 0 | 21 | 0 | 1
PDDocument(COSDocument, RandomAccessRead, AccessPermission) |  | 100% |  | n/a | 0 | 1 | 0 | 10 | 0 | 1
setVersion(float) |  | 100% |  | 100% | 0 | 4 | 0 | 10 | 0 | 1
getDocumentInformation() |  | 100% |  | 100% | 0 | 3 | 0 | 8 | 0 | 1
save(File, CompressParameters) |  | 100% |  | 100% | 0 | 2 | 0 | 6 | 0 | 1
setDocumentInformation(PDDocumentInformation) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
save(String, CompressParameters) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
save(String) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
registerTrueTypeFontForClosing(TrueTypeFont) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getPage(int) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
addPage(PDPage) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
removePage(PDPage) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
save(File) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
save(OutputStream) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getNumberOfPages() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
PDDocument() |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
isEncrypted() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
setEncryptionDictionary(PDEncryption) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getPages() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
setAllSecurityToBeRemoved(boolean) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getDocument() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getFontsToSubset() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
isAllSecurityToBeRemoved() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getDocumentId() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getResourceCache() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1