PDFParser

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total431 of 1,38568%73 of 16254%63114113359933
checkEncryptedPayload(PDDocument, boolean, PDFParserConfig)7345%1915%1011182001
renderPagesBeforeParse(TikaInputStream, ContentHandler, Metadata, ParseContext, PDFParserConfig)6856%7112%45232501
extractSignatures(PDDocument, Metadata)663232%4660%36112201
handleXFAOnly(PDDocument, ContentHandler, Metadata, ParseContext)400%n/a11101011
parse(TikaInputStream, ContentHandler, Metadata, ParseContext)3419985%91359%91275301
checkAccessPermissions(PDFParserConfig.AccessCheckMode, Metadata)27412%7112%457901
renderPDF(TikaInputStream, ParseContext, PDFParserConfig)210%n/a113311
scanXRefOffsets(PDFParserConfig, TikaInputStream, Metadata, ParseContext)186879%41071%4882901
shouldSpool(PDFParserConfig)141348%7330%565901
getPDDocument(TikaInputStream, String, RandomAccessStreamCache.StreamCacheCreateFunction, Metadata, ParseContext)123373%2466%2431301
PDFParser(PDFParserConfig)110%n/a114411
getPDDocumentFromStream(InputStream, String, RandomAccessStreamCache.StreamCacheCreateFunction, Metadata, ParseContext)80%n/a111111
PDFParser(JsonConfig)70%n/a112211
extractMetadata(PDDocument, Metadata, ParseContext)635298%42284%41427701
checkIllustrator(PDDocument, Metadata)53687%2466%2441801
getPassword(Metadata, ParseContext)41578%2250%231701
shouldHandleXFAOnly(boolean, PDFParserConfig)4555%3125%230101
setRenderer(Renderer)40%n/a112211
getPDFParserConfig()30%n/a111111
getDefaultConfig()30%n/a111111
getRenderer()30%n/a111111
hasMarkedContent(PDDocument)36100%11191%1701301
initRenderer(PDFParserConfig, ParseContext)36100%1375%130901
hasXFA(PDDocument, Metadata)25100%1583%140501
addFormat(Metadata, String)22100%n/a010501
static {...}13100%n/a010401
hasCollection(PDDocument)12100%2100%020401
hasMarkedContent(PDDocument, Metadata)10100%n/a010301
hasCollection(PDDocument, Metadata)10100%n/a010301
PDFParser()8100%n/a010301
getConfig(ParseContext)8100%n/a010101
getPDDocument(Path, String, RandomAccessStreamCache.StreamCacheCreateFunction, Metadata, ParseContext)6100%n/a010101
getSupportedTypes(ParseContext)100%n/a010101