The Apache Tika toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF).
This report summarizes scanner evidence for apache/tika, a Java project with 4,120 GitHub stars. SynthScan examined 561,567 lines of code across 3453 source files, recording 334 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 1.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 173 finding(s).
Are imports declared and package/API names verified? 101 finding(s).
Are wrappers, guards, and repeated structures necessary? 63 finding(s).
Which changes need focused human review? 334 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 334 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …est/java/org/apache/tika/parser/pdf/PDFParserTest.java | 2648 | new org.apache.tika.parser.enricher.CompositeContentEnricher(List.of(enricher))); | CODE |
| CRITICAL | …rc/main/java/org/apache/tika/parser/pdf/OcrConfig.java | 72 | return org.apache.tika.renderer.ImageFormat.valueOf(name()); | CODE |
| CRITICAL | …rc/main/java/org/apache/tika/parser/pdf/OcrConfig.java | 81 | return org.apache.tika.renderer.ImageType.valueOf(name()); | CODE |
| CRITICAL | …pache/tika/detect/gzip/GZipSpecializationDetector.java | 57 | org.apache.commons.compress.utils.IOUtils.readFully(tis, firstTwo); | CODE |
| CRITICAL | …n/java/org/apache/tika/parser/hwp/HwpStreamReader.java | 90 | int read = org.apache.poi.util.IOUtils.readFully(input, buf, 0, 4); | CODE |
| CRITICAL | …java/org/apache/tika/parser/image/ImageParserTest.java | 244 | new org.apache.tika.parser.enricher.CompositeContentEnricher( | CODE |
| CRITICAL | …java/org/apache/tika/parser/image/ImageParserTest.java | 275 | new org.apache.tika.parser.enricher.CompositeContentEnricher( | CODE |
| CRITICAL | …java/org/apache/tika/parser/image/ImageParserTest.java | 310 | new org.apache.tika.parser.enricher.CompositeContentEnricher( | CODE |
| CRITICAL | …java/org/apache/tika/parser/image/ImageParserTest.java | 353 | new org.apache.tika.parser.enricher.CompositeContentEnricher( | CODE |
| CRITICAL | …/microsoft/onenote/fsshttpb/MSOneStorePackageTest.java | 2669 | object.referencedObjectID = new org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.ExGUIDArra | CODE |
| CRITICAL | …/microsoft/onenote/fsshttpb/MSOneStorePackageTest.java | 2673 | object.referencedObjectSpacesID = new org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.Cell | CODE |
| CRITICAL | …va/org/apache/tika/parser/microsoft/WordExtractor.java | 221 | new org.apache.poi.hwpf.extractor.WordExtractor(document); | CODE |
| CRITICAL | …ache/tika/parser/microsoft/AbstractPOIFSExtractor.java | 446 | return org.apache.commons.io.IOUtils.toString(is, StandardCharsets.UTF_16LE); | CODE |
| CRITICAL | …g/apache/tika/parser/microsoft/onenote/OneNotePtr.java | 647 | data.subType.objectDeclarationWithRefCount.body.jcid.loadFrom32BitIndex(jcid); | CODE |
| CRITICAL | …g/apache/tika/parser/microsoft/onenote/OneNotePtr.java | 992 | if (data.subType.objectDeclarationWithRefCount.body.jcid.isObjectSpaceObjectPropSet()) { | CODE |
| CRITICAL | …va/org/apache/tika/parser/vlm/OpenAIVLMParserTest.java | 508 | org.apache.tika.metadata.TikaCoreProperties.EmbeddedResourceType.INLINE.name()); | CODE |
| CRITICAL | …va/org/apache/tika/parser/vlm/OpenAIVLMParserTest.java | 534 | org.apache.tika.metadata.TikaCoreProperties.EmbeddedResourceType.INLINE.name()); | CODE |
| CRITICAL | …va/org/apache/tika/parser/climate/ClimateForecast.java | 54 | org.apache.tika.metadata.ClimateForecast.PREFIX.length()), | CODE |
| CRITICAL | …test/resources/test-dirs/extractsA/file8_IOEx.pdf.json | 9 | "tk:exception:runtime": "java.lang.RuntimeException: java.io.IOException: Value is not an integer: 85467364285380854 | CODE |
| CRITICAL | …/resources/test-dirs/extractsA/file6_accessEx.pdf.json | 8 | "tk:exception:container-exception": "org.apache.tika.exception.AccessPermissionException: Content extraction is not | CODE |
| CRITICAL | …test/resources/test-dirs/extractsB/file8_IOEx.pdf.json | 9 | "tk:exception:runtime": "java.lang.RuntimeException: java.io.IOException: Value is not an integer: 85467364285380854 | CODE |
| CRITICAL | …/resources/test-dirs/extractsB/file6_accessEx.pdf.json | 8 | "tk:exception:container-exception": "org.apache.tika.exception.AccessPermissionException: Content extraction is not | CODE |
| CRITICAL | …-eval-app/src/test/resources/extracts/TIKA-4446-b.json | 1 | [{"msoffice:excel:has-hidden-rows":"true","tk:parsed-by-full-set":["org.apache.tika.parser.CompositeParser","org.apache. | CODE |
| CRITICAL | …-eval-app/src/test/resources/extracts/TIKA-4446-a.json | 1 | [{"msoffice:excel:has-hidden-rows":"true","tk:parsed-by-full-set":["org.apache.tika.parser.CompositeParser","org.apache. | CODE |
| CRITICAL | …/tika/eval/core/tokens/tools/CommonTokenGenerator.java | 360 | org.apache.tika.langdetect.charsoup.core.CharSoupModel.load(is); | CODE |
| CRITICAL | …/apache/tika/parser/enricher/ContentEnrichersTest.java | 576 | NullPointerException thrown = org.junit.jupiter.api.Assertions.assertThrows( | CODE |
| CRITICAL | …/apache/tika/parser/enricher/ContentEnrichersTest.java | 613 | TikaException thrown = org.junit.jupiter.api.Assertions.assertThrows(TikaException.class, | CODE |
| CRITICAL | …/apache/tika/parser/enricher/ContentEnrichersTest.java | 647 | org.junit.jupiter.api.Assertions.assertThrows( | CODE |
| CRITICAL | …re/src/main/java/org/apache/tika/io/FilenameUtils.java | 320 | int prefixLength = org.apache.commons.io.FilenameUtils.getPrefixLength(path); | CODE |
| CRITICAL | …ava/org/apache/tika/pipes/grpc/TikaGrpcServerImpl.java | 515 | .setCode(io.grpc.Status.Code.NOT_FOUND.value()) | CODE |
| CRITICAL⚡ | …java/org/apache/tika/server/core/TikaResourceTest.java | 322 | new org.apache.cxf.jaxrs.ext.multipart.ContentDisposition( | CODE |
| CRITICAL⚡ | …java/org/apache/tika/server/core/TikaResourceTest.java | 325 | new org.apache.cxf.jaxrs.ext.multipart.Attachment("file", | CODE |
| CRITICAL⚡ | …java/org/apache/tika/server/core/TikaResourceTest.java | 331 | .post(new org.apache.cxf.jaxrs.ext.multipart.MultipartBody(List.of(att))); | CODE |
| CRITICAL | …org/apache/tika/server/core/resource/TikaResource.java | 304 | jakarta.ws.rs.core.MediaType mediaType = (contentTypeHeader == null || "*/*".equals(contentTypeHeader)) ? null : | CODE |
| CRITICAL | …ache/tika/config/loader/ContentEnricherLoaderTest.java | 215 | org.junit.jupiter.api.Assertions.assertThrows( | STRING |
| CRITICAL | …ache/tika/config/loader/ContentEnricherLoaderTest.java | 247 | org.junit.jupiter.api.Assertions.assertThrows( | STRING |
| CRITICAL | …ache/tika/config/loader/ContentEnricherLoaderTest.java | 293 | org.junit.jupiter.api.Assertions.assertThrows( | STRING |
| CRITICAL | …/tika/serialization/TestParseContextSerialization.java | 601 | org.apache.tika.parser.ParseRecord.newInstance(pc)); | STRING |
| CRITICAL | …/tika/serialization/TestParseContextSerialization.java | 602 | org.apache.tika.config.ParseTimeout.getOrCreate(pc); | STRING |
| CRITICAL | …rg/apache/tika/parser/external/ExternalParserTest.java | 47 | assumeTrue(org.apache.tika.utils.ProcessUtils.checkCommand(new String[]{ | CODE |
| CRITICAL | …rg/apache/tika/parser/external/ExternalParserTest.java | 75 | assumeTrue(org.apache.tika.utils.ProcessUtils.checkCommand( | CODE |
| CRITICAL | …rg/apache/tika/parser/external/ExternalParserTest.java | 94 | assumeTrue(org.apache.tika.utils.ProcessUtils.checkCommand( | CODE |
| CRITICAL | …rg/apache/tika/parser/external/ExternalParserTest.java | 172 | assumeTrue(org.apache.tika.utils.ProcessUtils.checkCommand( | CODE |
| CRITICAL | …rg/apache/tika/parser/external/ExternalParserTest.java | 174 | assumeTrue(org.apache.tika.utils.ProcessUtils.checkCommand( | CODE |
| CRITICAL | …che/tika/ml/chardetect/tools/EvalCharsetDetectors.java | 152 | ? new org.apache.tika.ml.chardetect.MojibusterEncodingDetector(nbModelPath) | CODE |
| CRITICAL | …/apache/tika/ml/junkdetect/UnicodeBlockRangesTest.java | 123 | org.junit.jupiter.api.Assertions.assertEquals( | CODE |
| CRITICAL | …rg/apache/tika/ml/junkdetect/tools/TrainJunkModel.java | 252 | int blockN = org.apache.tika.ml.junkdetect.UnicodeBlockRanges.bucketCount(); | CODE |
| CRITICAL | …rg/apache/tika/ml/junkdetect/tools/TrainJunkModel.java | 533 | int blockN = org.apache.tika.ml.junkdetect.UnicodeBlockRanges.bucketCount(); | CODE |
| CRITICAL | …rg/apache/tika/ml/junkdetect/tools/TrainJunkModel.java | 542 | int blockId = org.apache.tika.ml.junkdetect.UnicodeBlockRanges.bucketOf(cp); | CODE |
| CRITICAL | …rg/apache/tika/ml/junkdetect/tools/TrainJunkModel.java | 558 | int blockN = org.apache.tika.ml.junkdetect.UnicodeBlockRanges.bucketCount(); | CODE |
| CRITICAL | …rg/apache/tika/ml/junkdetect/tools/TrainJunkModel.java | 567 | ids[len++] = org.apache.tika.ml.junkdetect.UnicodeBlockRanges.bucketOf(cp); | CODE |
| CRITICAL | …rg/apache/tika/pipes/ignite/IgniteConfigStoreTest.java | 236 | io.grpc.health.v1.HealthGrpc.newBlockingStub(testChannel) | CODE |
| CRITICAL | …rg/apache/tika/pipes/ignite/IgniteConfigStoreTest.java | 240 | io.grpc.health.v1.HealthCheckRequest.getDefaultInstance()); | CODE |
| CRITICAL | …/org/apache/tika/pipes/filesystem/HandlerTypeTest.java | 212 | io.grpc.health.v1.HealthGrpc.newBlockingStub(testChannel) | CODE |
| CRITICAL | …/org/apache/tika/pipes/filesystem/HandlerTypeTest.java | 215 | io.grpc.health.v1.HealthCheckRequest.getDefaultInstance()); | CODE |
| CRITICAL | …va/org/apache/tika/pipes/ignite/IgniteConfigStore.java | 99 | ignite = org.apache.ignite.client.IgniteClient.builder() | CODE |
| CRITICAL | …/main/java/org/apache/tika/async/cli/TikaAsyncCLI.java | 481 | org.apache.commons.cli.help.HelpFormatter helpFormatter = org.apache.commons.cli.help.HelpFormatter.builder().ge | CODE |
| CRITICAL | tika-app/src/main/java/org/apache/tika/cli/TikaCLI.java | 503 | org.apache.logging.log4j.core.config.Configurator.setRootLevel(Level.DEBUG); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …t-charsoup/src/test/python/check_script_consistency.py | 14 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …t-charsoup/src/test/python/check_script_consistency.py | 16 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …t-charsoup/src/test/python/check_script_consistency.py | 100 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …t-charsoup/src/test/python/check_script_consistency.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …a-langdetect-charsoup/src/test/python/eval_fasttext.py | 29 | # ── Complete fastText lid.176 label → ISO 639-3 mapping ────────────────── | COMMENT |
| MEDIUM | …ka-langdetect-charsoup/src/test/python/clean_madlad.py | 57 | # ── Cleaning parameters (keep in sync with collect_wikipedia.py) ────────────── | COMMENT |
| MEDIUM | …ka-langdetect-charsoup/src/test/python/clean_madlad.py | 73 | # ── fastText top-10 filter (keep in sync with collect_wikipedia.py) ─────────── | COMMENT |
| MEDIUM | …ka-langdetect-charsoup/src/test/python/clean_madlad.py | 89 | # ── Confusables ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 68 | # ── fastText top-10 filter ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 89 | # ── Sentence cleaning ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 137 | # ── Languages in the fastText model with Wikipedia editions ────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 151 | # ── Wikipedia editions without fastText coverage ────────────────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 157 | # ── Previously unmapped: real languages now covered ─────────────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 192 | # ── Additional Wikipedia editions identified as missing ─────────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 286 | # ── Confusables (single source of truth: confusables.txt) ──────────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 329 | # ── Sentence cleaning ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 342 | # ── Per-language collection ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 436 | # ── Output ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 448 | # ── Main ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …detect-charsoup/src/test/python/summarize_wikipedia.py | 119 | # ── Console report ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …detect-charsoup/src/test/python/summarize_wikipedia.py | 156 | # ── TSV output ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …angdetect-charsoup/src/test/python/diagnose_kor_eng.py | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …angdetect-charsoup/src/test/python/diagnose_kor_eng.py | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …angdetect-charsoup/src/test/python/diagnose_kor_eng.py | 67 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …angdetect-charsoup/src/test/python/diagnose_kor_eng.py | 75 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …angdetect-charsoup/src/test/python/diagnose_kor_eng.py | 158 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …angdetect-charsoup/src/test/python/diagnose_kor_eng.py | 160 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …angdetect-charsoup/src/test/python/diagnose_kor_eng.py | 179 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | …angdetect-charsoup/src/test/python/diagnose_kor_eng.py | 181 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | …angdetect-charsoup/src/test/python/diagnose_kor_eng.py | 217 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | …angdetect-charsoup/src/test/python/diagnose_kor_eng.py | 219 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ect-charsoup/src/main/python/extract_madlad_to_wiki.py | 48 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ect-charsoup/src/main/python/extract_madlad_to_wiki.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …l/tika-ml-chardetect/scripts/extract_wiki_sentences.py | 17 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …l/tika-ml-chardetect/scripts/extract_wiki_sentences.py | 19 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …l/tika-ml-chardetect/scripts/extract_wiki_sentences.py | 54 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …l/tika-ml-chardetect/scripts/extract_wiki_sentences.py | 56 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …l/tika-ml-chardetect/scripts/extract_wiki_sentences.py | 73 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …l/tika-ml-chardetect/scripts/extract_wiki_sentences.py | 75 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …l/tika-ml-chardetect/scripts/extract_wiki_sentences.py | 105 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …l/tika-ml-chardetect/scripts/extract_wiki_sentences.py | 107 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …pache/tika/pipes/plugin/solr/SolrClientHelperTest.java | 50 | // ── auth: basic credentials applied ───────────────────────────────────── | COMMENT |
| MEDIUM | …pache/tika/pipes/plugin/solr/SolrClientHelperTest.java | 84 | // ── auth: non-basic scheme rejected when credentials present ───────────── | COMMENT |
| MEDIUM | …pache/tika/pipes/plugin/solr/SolrClientHelperTest.java | 106 | // ── auth: no credentials when username is blank ────────────────────────── | COMMENT |
| MEDIUM | …pache/tika/pipes/plugin/solr/SolrClientHelperTest.java | 125 | // ── proxy: applied when host and positive port are set ────────────────── | COMMENT |
| MEDIUM | …pache/tika/pipes/plugin/solr/SolrClientHelperTest.java | 166 | // ── combined: auth + proxy together ────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …ika/ml/chardetect/Utf16ColumnFeatureExtractorTest.java | 141 | assertEquals(0, f[ASCII_ODD]); | COMMENT |
| LOW | …ml/chardetect/Utf16SpecialistEncodingDetectorTest.java | 81 | // INT8 weights: class 0 (LE) vs class 1 (BE). | COMMENT |
| LOW | …ka/ml/chardetect/NaiveBayesBigramEncodingDetector.java | 541 | // floor, since short probes legitimately have lower diversity | COMMENT |
| LOW | …/org/apache/tika/ml/chardetect/CharsetConfusables.java | 181 | COMMENT | |
| LOW | …/org/apache/tika/ml/chardetect/CharsetConfusables.java | 201 | // IMPORTANT — this is a LOSSY confusable, unlike most others: | COMMENT |
| LOW | …/org/apache/tika/ml/chardetect/CharsetConfusables.java | 241 | // directional variants, so our detector returns IBM424 for both. | COMMENT |
| LOW | …/org/apache/tika/ml/chardetect/CharsetConfusables.java | 261 | // IBM437 vs IBM850: IBM437's distinguishing bytes are box-drawing | COMMENT |
| LOW | …/org/apache/tika/ml/chardetect/CharsetConfusables.java | 281 | // Japanese Windows: Shift_JIS ⊂ windows-31j (CP932). | COMMENT |
| LOW | …che/tika/ml/chardetect/MojibusterEncodingDetector.java | 241 | int highBytes = probe == null ? 0 : HighByteLetterStats.countHighBytes(probe); | COMMENT |
| LOW | …che/tika/ml/chardetect/MojibusterEncodingDetector.java | 321 | LOG.trace("mojibuster -> utf16 short-circuit {}", name); | COMMENT |
| LOW | …che/tika/ml/chardetect/MojibusterEncodingDetector.java | 441 | // candidates can still override at low confidence. | COMMENT |
| LOW | …va/org/apache/tika/detect/icu4j/CharsetRecog_mbcs.java | 141 | * @param det The charset detector, which is needed to get at the input byte data | COMMENT |
| LOW | …a/detect/html/StandardCharsets_unsupported_by_IANA.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …rc/test/resources/config-examples/pdf-parser-full.json | 41 | // Ignore content-stream space glyphs; rely on the spacing algorithm (PDFBOX-3774). | COMMENT |
| LOW | …ration-tests/src/test/resources/test-documents/testH.h | 1 | #ifndef TIKA_HELLO_WORLD | COMMENT |
| LOW | …/java/org/apache/tika/parser/pkg/CompressorParser.java | 241 | CompressorStreamFactory factory = | COMMENT |
| LOW | …est/java/org/apache/tika/parser/odf/ODFParserTest.java | 401 | public void testFlatFodsEmbeddedChart() throws Exception { | COMMENT |
| LOW | …/tika/parser/wordperfect/WP6DocumentAreaExtractor.java | 161 | // 130,131,133: soft hyphens | COMMENT |
| LOW | …org/apache/tika/parser/odf/FlatOpenDocumentParser.java | 161 | COMMENT | |
| LOW | …rg/apache/tika/parser/odf/OpenDocumentBodyHandler.java | 541 | } else if ("notes".equals(localName)) { | COMMENT |
| LOW | …es/org/apache/tika/parser/html/self-closeable-tags.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …ava/org/apache/tika/parser/ocr/TesseractOCRConfig.java | 61 | // enable image preprocessing with ImageMagick (optional) | COMMENT |
| LOW | …/src/test/resources/test-documents/testWORD_2006ml.xml | 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | COMMENT |
| LOW | …/src/test/resources/test-documents/testWORD_2006ml.xml | 1781 | //////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | …/src/test/resources/test-documents/testWORD_2006ml.xml | 1921 | //////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | …ache/tika/parser/microsoft/ooxml/OOXMLDocxSAXTest.java | 321 | // the outer paragraph and leaving the XHTML stack mismatched at | COMMENT |
| LOW | …ache/tika/parser/microsoft/ooxml/OOXMLDocxSAXTest.java | 341 | // closeFormattingTags() for the outer state, emitting </b> while | COMMENT |
| LOW | …s/org/apache/tika/parser/microsoft/msg/props_table.txt | 1 | # | COMMENT |
| LOW | …ache/tika/detect/microsoft/POIFSContainerDetector.java | 421 | if (ucNames.contains(ENCRYPTED_PACKAGE)) { | COMMENT |
| LOW | …va/org/apache/tika/parser/microsoft/WordExtractor.java | 621 | return end; | COMMENT |
| LOW | …rg/apache/tika/parser/microsoft/rtf/TextExtractor.java | 321 | // inside a HYPERLINK's fldrslt) doesn't prematurely close the outer <a> | COMMENT |
| LOW | …rg/apache/tika/parser/microsoft/rtf/TextExtractor.java | 461 | } | COMMENT |
| LOW | …rg/apache/tika/parser/microsoft/rtf/TextExtractor.java | 881 | throws IOException, SAXException, TikaException { | COMMENT |
| LOW | …rg/apache/tika/parser/microsoft/rtf/TextExtractor.java | 1421 | if (fieldState == 0) { | COMMENT |
| LOW | …a/parser/microsoft/ooxml/OOXMLTikaBodyPartHandler.java | 61 | COMMENT | |
| LOW | …microsoft/ooxml/OOXMLWordAndPowerPointTextHandler.java | 161 | //Stack rather than a single boolean: nested <w:p> (e.g., inside | COMMENT |
| LOW | …/tika/parser/microsoft/chm/ChmDirectoryListingSet.java | 261 | // else if (indexWorkData>=0) { | COMMENT |
| LOW | …/tika/parser/microsoft/chm/ChmDirectoryListingSet.java | 281 | // // placeHolder, (placeHolder + | COMMENT |
| LOW | …sources/org/apache/tika/parser/ner/regex/ner-regex.txt | 1 | # | COMMENT |
| LOW | …sources/org/apache/tika/parser/ner/regex/ner-regex.txt | 1 | # | COMMENT |
| LOW | …org/apache/tika/annotation/TikaComponentProcessor.java | 401 | # this work for additional information regarding copyright ownership. | COMMENT |
| LOW | …ntegration-tests/src/test/resources/docker-compose.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …a-eval-core/src/main/resources/lucene-char-mapping.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | tika-parent/forbidden-apis-json-reader-bans.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | tika-parent/forbidden-apis-exception-reporting-bans.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | tika-parent/forbidden-apis-none.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | tika-parent/forbidden-apis-xml-factory-bans.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | tika-parent/forbidden-apis-metadata-string-key-bans.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | docs/antora-playbook.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | docs/antora.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | docs/publish-docs.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docs/modules/ROOT/examples/pdf-parser-full.json | 41 | // Ignore content-stream space glyphs; rely on the spacing algorithm (PDFBOX-3774). | COMMENT |
| LOW | .devcontainer/devcontainer.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …/org/apache/tika/language/detect/LanguageDetector.java | 21 | import java.util.Map; | COMMENT |
| LOW | tika-grpc/docker-build/start-tika-grpc.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tika-grpc/docker-build/docker-build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …ka-langdetect-charsoup/src/test/python/clean_madlad.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | …langdetect-charsoup/src/test/python/download_madlad.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 1 | #!/usr/bin/env python3 | COMMENT |
| 71 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …in/java/org/apache/tika/example/TranslatorExample.java | 25 | translator.setId("dummy-id"); | CODE |
| LOW | …a/org/apache/tika/parser/pkg/CompressorParserTest.java | 50 | assertContains("Lorem ipsum dolor sit amet", r.xml); | CODE |
| LOW | …a/org/apache/tika/parser/pkg/CompressorParserTest.java | 50 | assertContains("Lorem ipsum dolor sit amet", r.xml); | CODE |
| LOW | …va/org/apache/tika/parser/ibooks/iBooksParserTest.java | 60 | assertContains("Lorem ipsum dolor rutur amet", content); | CODE |
| LOW | …va/org/apache/tika/parser/indesign/IDMLParserTest.java | 55 | assertContains("Lorem ipsum dolor sit amet, consectetur adipiscing elit", content); | CODE |
| LOW | …va/org/apache/tika/parser/indesign/IDMLParserTest.java | 55 | assertContains("Lorem ipsum dolor sit amet, consectetur adipiscing elit", content); | CODE |
| LOW | …va/org/apache/tika/parser/indesign/IDMLParserTest.java | 66 | assertContains("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit", xml); | CODE |
| LOW | …va/org/apache/tika/parser/indesign/IDMLParserTest.java | 66 | assertContains("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit", xml); | CODE |
| LOW⚡ | …est/java/org/apache/tika/parser/mif/MIFParserTest.java | 45 | assertContains("Lorem ipsum dolor sit amet, consectetur adipiscing elit", content); | CODE |
| LOW⚡ | …est/java/org/apache/tika/parser/mif/MIFParserTest.java | 45 | assertContains("Lorem ipsum dolor sit amet, consectetur adipiscing elit", content); | CODE |
| LOW⚡ | …est/java/org/apache/tika/parser/mif/MIFParserTest.java | 53 | assertContains("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit", xml); | CODE |
| LOW⚡ | …est/java/org/apache/tika/parser/mif/MIFParserTest.java | 53 | assertContains("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit", xml); | CODE |
| LOW | …est/java/org/apache/tika/parser/dwg/DWGParserTest.java | 180 | assertEquals("Lorem ipsum", metadata.get(TikaCoreProperties.COMMENTS).substring(0, 11)); | CODE |
| LOW | …c/test/resources/test-documents/testHTML_metadata.html | 7 | <meta name="author" content="John Doe"> | CODE |
| LOW | …urces/test-documents/testHTML_metadata_two_titles.html | 9 | <meta name="author" content="John Doe"> | CODE |
| LOW | …t/java/org/apache/tika/parser/html/HtmlParserTest.java | 1365 | assertEquals("John Doe", m.get(TikaCoreProperties.CREATOR)); | CODE |
| LOW | …/src/test/resources/test-documents/testWORD_2006ml.xml | 4043 | AAAAJQAAAAwAAAANAACADgAAABQAAAAAAAAAEAAAABQAAAA=</pkg:binaryData></pkg:part><pkg:part pkg:name="/word/comments.xml" pkg: | CODE |
| LOW | …che/tika/language/translate/impl/YandexTranslator.java | 59 | private static final String DEFAULT_KEY = "dummy-key"; | CODE |
| LOW | …he/tika/language/translate/impl/Lingo24Translator.java | 52 | private static final String DEFAULT_KEY = "dummy-key"; | CODE |
| LOW | …/tika/language/translate/impl/MicrosoftTranslator.java | 44 | public static final String DEFAULT_ID = "dummy-id"; | CODE |
| LOW | …/modules/ROOT/examples/pipes-google-drive-fetcher.json | 7 | "subjectUser": "user@example.com", | CODE |
| LOW⚡ | …e/src/test/java/org/apache/tika/io/TailStreamTest.java | 37 | private static final String TEXT = "Lorem ipsum dolor sit amet, consetetur " + | CODE |
| LOW⚡ | …e/src/test/java/org/apache/tika/io/TailStreamTest.java | 37 | private static final String TEXT = "Lorem ipsum dolor sit amet, consetetur " + | CODE |
| LOW⚡ | …e/src/test/java/org/apache/tika/io/TailStreamTest.java | 41 | "kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor " + "sit amet."; | CODE |
| LOW | …pache/tika/langdetect/lingo24/Lingo24LangDetector.java | 57 | private static final String DEFAULT_KEY = "dummy-key"; | CODE |
| LOW | …ka-langdetect-charsoup/src/test/python/clean_madlad.py | 70 | r'|Lorem ipsum' | CODE |
| LOW | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 101 | r'|Lorem ipsum' # placeholder text | CODE |
| LOW⚡ | …he/tika/server/core/benchmark/TikaServerBenchmark.java | 86 | <write element="p" times="%d">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod te | CODE |
| LOW⚡ | …he/tika/server/core/benchmark/TikaServerBenchmark.java | 86 | <write element="p" times="%d">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod te | CODE |
| LOW⚡ | …he/tika/server/core/benchmark/TikaServerBenchmark.java | 90 | String paddingLine = "PADDING: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor in | STRING |
| LOW⚡ | …he/tika/server/core/benchmark/TikaServerBenchmark.java | 90 | String paddingLine = "PADDING: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor in | STRING |
| LOW | …st/resources/config-examples/google-drive-fetcher.json | 7 | "subjectUser": "user@example.com", | CODE |
| LOW | …/apache/tika/pipes/googledrive/ConfigExamplesTest.java | 42 | assertEquals("user@example.com", config.getSubjectUser()); | CODE |
| LOW | …pes/fetcher/googledrive/GoogleDriveFetcherFactory.java | 38 | * "impersonatedUser": "user@example.com" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ka-langdetect-charsoup/src/test/python/clean_madlad.py | 96 | CODE | |
| LOW | …ka-langdetect-charsoup/src/test/python/clean_madlad.py | 155 | CODE | |
| LOW | …ka-langdetect-charsoup/src/test/python/clean_madlad.py | 185 | CODE | |
| LOW | …langdetect-charsoup/src/test/python/download_madlad.py | 149 | CODE | |
| LOW | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 293 | CODE | |
| LOW | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 356 | CODE | |
| LOW | …langdetect-charsoup/src/test/python/download_corpus.py | 97 | CODE | |
| LOW | …langdetect-charsoup/src/test/python/download_corpus.py | 186 | CODE | |
| LOW | …ect-charsoup/src/main/python/extract_madlad_to_wiki.py | 100 | CODE | |
| LOW | .github/scripts/check_split_packages.py | 46 | CODE | |
| LOW | tika-ml/tika-ml-chardetect/scripts/download_madlad.py | 124 | CODE | |
| LOW | tika-ml/tika-ml-chardetect/scripts/download_madlad.py | 149 | CODE | |
| LOW | tika-ml/tika-ml-chardetect/scripts/download_madlad.py | 198 | CODE | |
| LOW | tika-ml/tika-ml-chardetect/scripts/build_eval_tsv.py | 25 | CODE | |
| LOW | …-ml/tika-ml-chardetect/scripts/select_unicode_langs.py | 144 | CODE | |
| LOW | …-ml/tika-ml-chardetect/scripts/select_unicode_langs.py | 196 | CODE | |
| LOW | …ka-ml-chardetect/scripts/extract_zhwiki_traditional.py | 75 | CODE | |
| LOW | …l/tika-ml-chardetect/scripts/extract_wiki_sentences.py | 80 | CODE | |
| LOW | …update-site-for-release/scripts/extract-tika-issues.py | 63 | CODE | |
| LOW | …date-site-for-release/scripts/extract-tika-contribs.py | 99 | CODE | |
| LOW | …date-site-for-release/scripts/extract-tika-contribs.py | 157 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …g/apache/tika/parser/pdf/updates/StartXRefScanner.java | 161 | //TODO -- make this more robust | COMMENT |
| MEDIUM | …rg/apache/tika/parser/microsoft/rtf/TextExtractor.java | 1612 | // Be robust if RTF doc is corrupt (has too many | COMMENT |
| MEDIUM | …ain/java/org/apache/tika/eval/app/ExtractComparer.java | 384 | //TODO: could make this more robust | COMMENT |
| MEDIUM | tika-server/tika-server-standard/bin/tika.in.sh | 77 | # process is more robust to OOMs, Infinite | COMMENT |
| MEDIUM | …n/java/org/apache/tika/pipes/emitter/s3/S3Emitter.java | 212 | // In practice, sending a file is more robust | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tika-server/docker-build/docker-tool.sh | 169 | # on the host stands in for a hosted OCR model and an embedding model, started --flaky so every | COMMENT |
| MEDIUM⚡ | …te-site-for-release/scripts/scaffold-stable-version.sh | 29 | # scaffold-stable-version.sh <tika-site-root> <prev-version> <new-version> | COMMENT |
| MEDIUM⚡ | …te-site-for-release/scripts/scaffold-stable-version.sh | 31 | # scaffold-stable-version.sh /path/to/tika-site 3.3.1 3.3.2 | COMMENT |
| MEDIUM | release-tools/uat/run-uat.sh | 277 | # embedding model. These checks prove the wiring between tika-server, its forked worker | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ka-ml-chardetect/scripts/extract_zhwiki_traditional.py | 70 | except (UnicodeEncodeError, UnicodeDecodeError): | CODE |
| HIGH | …date-site-for-release/scripts/extract-tika-contribs.py | 136 | except (FileNotFoundError, subprocess.SubprocessError): | CODE |
| HIGH | …date-site-for-release/scripts/extract-tika-contribs.py | 151 | except Exception: # noqa: BLE001 - keep the login on any lookup failure | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …langdetect-charsoup/src/test/python/download_madlad.py | 174 | except Exception as e: | CODE |
| LOW | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 243 | except Exception as e: | CODE |
| LOW | …ngdetect-charsoup/src/test/python/collect_wikipedia.py | 397 | except Exception as e: | CODE |
| MEDIUM | …a-langdetect-charsoup/src/test/python/filter_pashto.py | 100 | print(f"Error: no sentence file found in {pus_dir}", file=sys.stderr) | CODE |
| LOW | …langdetect-charsoup/src/test/python/download_corpus.py | 284 | except Exception as e: | CODE |
| LOW | …langdetect-charsoup/src/test/python/download_corpus.py | 303 | except Exception as e: | CODE |
| LOW | tika-ml/tika-ml-chardetect/scripts/download_madlad.py | 142 | except Exception: | CODE |
| LOW | tika-ml/tika-ml-chardetect/scripts/download_madlad.py | 332 | except Exception as e: | CODE |
| LOW | …date-site-for-release/scripts/extract-tika-contribs.py | 151 | except Exception: # noqa: BLE001 - keep the login on any lookup failure | CODE |
| LOW | …date-site-for-release/scripts/extract-tika-contribs.py | 216 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | …date-site-for-release/scripts/extract-tika-contribs.py | 227 | except Exception as e: # noqa: BLE001 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …t-charsoup/src/test/python/check_script_consistency.py | 11 | CODE | |
| LOW | …angdetect-charsoup/src/test/python/filter_uppercase.py | 31 | CODE | |
| LOW | …langdetect-charsoup/src/test/python/download_corpus.py | 51 | CODE | |
| LOW | …langdetect-charsoup/src/test/python/download_corpus.py | 52 | CODE | |
| LOW | …langdetect-charsoup/src/test/python/download_corpus.py | 56 | CODE | |
| LOW | …ect-charsoup/src/main/python/extract_madlad_to_wiki.py | 43 | CODE | |
| LOW | tika-ml/tika-ml-chardetect/scripts/download_madlad.py | 35 | CODE | |
| LOW | …l/tika-ml-chardetect/scripts/convert_wiki_to_madlad.py | 19 | CODE | |
| LOW | …-ml/tika-ml-chardetect/scripts/select_unicode_langs.py | 15 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ava/org/apache/tika/detect/NNExampleModelDetector.java | 106 | * given string is # In this example grb model file, there are 4 elements 1) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/publish-docs.sh | 22 | # Usage: | COMMENT |
| LOW | tika-grpc/run-dev.sh | 4 | # Usage: | COMMENT |
| LOW | tika-metadata-schema/regen.sh | 29 | # Usage: | COMMENT |
| LOW⚡ | …te-site-for-release/scripts/scaffold-stable-version.sh | 28 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rc/main/java/org/apache/tika/utils/XMLReaderUtils.java | 174 | * If you call reset() on the parser, make sure to replace the | COMMENT |
| MEDIUM | …/apache/tika/pipes/core/config/LoggingConfigStore.java | 29 | * Example custom ConfigStore implementation for demonstration purposes. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ser/microsoft/ooxml/xwpf/ml2006/BinaryDataHandler.java | 36 | class BinaryDataHandler extends AbstractPartHandler { | CODE |
| LOW | …java/org/apache/tika/parser/xml/FictionBookParser.java | 58 | private static class BinaryElementsDataHandler extends DefaultHandler { | CODE |
| LOW | …langdetect-charsoup/src/test/python/download_corpus.py | 97 | def download_and_extract_sentences(url: str, max_sentences: int) -> list[str]: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …g/apache/tika/pipes/s3/tests/PipeIntegrationTests.java | 92 | // TODO: Implement tests using new plugin system with JSON configuration | COMMENT |
| LOW | …ava/org/apache/tika/pipes/core/server/EmitHandler.java | 290 | //TODO: implement this | COMMENT |