AI Slop Code Risk Monitor

apache/tika

SlopCodeMonitor badge for apache/tika Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The Apache Tika toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF).

1.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

1.8
Adjusted Signal
1.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
4.1K
Stars
Java
Language
561.6K
Lines of Code
3.5K
Files
334
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 1.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 173 finding(s).

Hallucinated Dependency & Supply Chain Risk 5.3/100 · LOW

Are imports declared and package/API names verified? 101 finding(s).

Agent Over-Engineering Ratio 1.5/100 · LOW

Are wrappers, guards, and repeated structures necessary? 63 finding(s).

PR Review Velocity Impact 8.4/100 · LOW

Which changes need focused human review? 334 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 58HIGH 4MEDIUM 57LOW 215

Directory Score Breakdown

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.

Pattern Findings

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.

Hallucination Indicators58 hits · 570 pts
SeverityFileLineSnippetContext
CRITICAL…est/java/org/apache/tika/parser/pdf/PDFParserTest.java2648 new org.apache.tika.parser.enricher.CompositeContentEnricher(List.of(enricher)));CODE
CRITICAL…rc/main/java/org/apache/tika/parser/pdf/OcrConfig.java72 return org.apache.tika.renderer.ImageFormat.valueOf(name());CODE
CRITICAL…rc/main/java/org/apache/tika/parser/pdf/OcrConfig.java81 return org.apache.tika.renderer.ImageType.valueOf(name());CODE
CRITICAL…pache/tika/detect/gzip/GZipSpecializationDetector.java57 org.apache.commons.compress.utils.IOUtils.readFully(tis, firstTwo);CODE
CRITICAL…n/java/org/apache/tika/parser/hwp/HwpStreamReader.java90 int read = org.apache.poi.util.IOUtils.readFully(input, buf, 0, 4);CODE
CRITICAL…java/org/apache/tika/parser/image/ImageParserTest.java244 new org.apache.tika.parser.enricher.CompositeContentEnricher(CODE
CRITICAL…java/org/apache/tika/parser/image/ImageParserTest.java275 new org.apache.tika.parser.enricher.CompositeContentEnricher(CODE
CRITICAL…java/org/apache/tika/parser/image/ImageParserTest.java310 new org.apache.tika.parser.enricher.CompositeContentEnricher(CODE
CRITICAL…java/org/apache/tika/parser/image/ImageParserTest.java353 new org.apache.tika.parser.enricher.CompositeContentEnricher(CODE
CRITICAL…/microsoft/onenote/fsshttpb/MSOneStorePackageTest.java2669 object.referencedObjectID = new org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.ExGUIDArraCODE
CRITICAL…/microsoft/onenote/fsshttpb/MSOneStorePackageTest.java2673 object.referencedObjectSpacesID = new org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.CellCODE
CRITICAL…va/org/apache/tika/parser/microsoft/WordExtractor.java221 new org.apache.poi.hwpf.extractor.WordExtractor(document);CODE
CRITICAL…ache/tika/parser/microsoft/AbstractPOIFSExtractor.java446 return org.apache.commons.io.IOUtils.toString(is, StandardCharsets.UTF_16LE);CODE
CRITICAL…g/apache/tika/parser/microsoft/onenote/OneNotePtr.java647 data.subType.objectDeclarationWithRefCount.body.jcid.loadFrom32BitIndex(jcid);CODE
CRITICAL…g/apache/tika/parser/microsoft/onenote/OneNotePtr.java992 if (data.subType.objectDeclarationWithRefCount.body.jcid.isObjectSpaceObjectPropSet()) {CODE
CRITICAL…va/org/apache/tika/parser/vlm/OpenAIVLMParserTest.java508 org.apache.tika.metadata.TikaCoreProperties.EmbeddedResourceType.INLINE.name());CODE
CRITICAL…va/org/apache/tika/parser/vlm/OpenAIVLMParserTest.java534 org.apache.tika.metadata.TikaCoreProperties.EmbeddedResourceType.INLINE.name());CODE
CRITICAL…va/org/apache/tika/parser/climate/ClimateForecast.java54 org.apache.tika.metadata.ClimateForecast.PREFIX.length()),CODE
CRITICAL…test/resources/test-dirs/extractsA/file8_IOEx.pdf.json9 "tk:exception:runtime": "java.lang.RuntimeException: java.io.IOException: Value is not an integer: 85467364285380854CODE
CRITICAL…/resources/test-dirs/extractsA/file6_accessEx.pdf.json8 "tk:exception:container-exception": "org.apache.tika.exception.AccessPermissionException: Content extraction is not CODE
CRITICAL…test/resources/test-dirs/extractsB/file8_IOEx.pdf.json9 "tk:exception:runtime": "java.lang.RuntimeException: java.io.IOException: Value is not an integer: 85467364285380854CODE
CRITICAL…/resources/test-dirs/extractsB/file6_accessEx.pdf.json8 "tk:exception:container-exception": "org.apache.tika.exception.AccessPermissionException: Content extraction is not CODE
CRITICAL…-eval-app/src/test/resources/extracts/TIKA-4446-b.json1[{"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.json1[{"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.java360 org.apache.tika.langdetect.charsoup.core.CharSoupModel.load(is);CODE
CRITICAL…/apache/tika/parser/enricher/ContentEnrichersTest.java576 NullPointerException thrown = org.junit.jupiter.api.Assertions.assertThrows(CODE
CRITICAL…/apache/tika/parser/enricher/ContentEnrichersTest.java613 TikaException thrown = org.junit.jupiter.api.Assertions.assertThrows(TikaException.class,CODE
CRITICAL…/apache/tika/parser/enricher/ContentEnrichersTest.java647 org.junit.jupiter.api.Assertions.assertThrows(CODE
CRITICAL…re/src/main/java/org/apache/tika/io/FilenameUtils.java320 int prefixLength = org.apache.commons.io.FilenameUtils.getPrefixLength(path);CODE
CRITICAL…ava/org/apache/tika/pipes/grpc/TikaGrpcServerImpl.java515 .setCode(io.grpc.Status.Code.NOT_FOUND.value())CODE
CRITICAL⚡…java/org/apache/tika/server/core/TikaResourceTest.java322 new org.apache.cxf.jaxrs.ext.multipart.ContentDisposition(CODE
CRITICAL⚡…java/org/apache/tika/server/core/TikaResourceTest.java325 new org.apache.cxf.jaxrs.ext.multipart.Attachment("file",CODE
CRITICAL⚡…java/org/apache/tika/server/core/TikaResourceTest.java331 .post(new org.apache.cxf.jaxrs.ext.multipart.MultipartBody(List.of(att)));CODE
CRITICAL…org/apache/tika/server/core/resource/TikaResource.java304 jakarta.ws.rs.core.MediaType mediaType = (contentTypeHeader == null || "*/*".equals(contentTypeHeader)) ? null :CODE
CRITICAL…ache/tika/config/loader/ContentEnricherLoaderTest.java215 org.junit.jupiter.api.Assertions.assertThrows(STRING
CRITICAL…ache/tika/config/loader/ContentEnricherLoaderTest.java247 org.junit.jupiter.api.Assertions.assertThrows(STRING
CRITICAL…ache/tika/config/loader/ContentEnricherLoaderTest.java293 org.junit.jupiter.api.Assertions.assertThrows(STRING
CRITICAL…/tika/serialization/TestParseContextSerialization.java601 org.apache.tika.parser.ParseRecord.newInstance(pc));STRING
CRITICAL…/tika/serialization/TestParseContextSerialization.java602 org.apache.tika.config.ParseTimeout.getOrCreate(pc);STRING
CRITICAL…rg/apache/tika/parser/external/ExternalParserTest.java47 assumeTrue(org.apache.tika.utils.ProcessUtils.checkCommand(new String[]{CODE
CRITICAL…rg/apache/tika/parser/external/ExternalParserTest.java75 assumeTrue(org.apache.tika.utils.ProcessUtils.checkCommand(CODE
CRITICAL…rg/apache/tika/parser/external/ExternalParserTest.java94 assumeTrue(org.apache.tika.utils.ProcessUtils.checkCommand(CODE
CRITICAL…rg/apache/tika/parser/external/ExternalParserTest.java172 assumeTrue(org.apache.tika.utils.ProcessUtils.checkCommand(CODE
CRITICAL…rg/apache/tika/parser/external/ExternalParserTest.java174 assumeTrue(org.apache.tika.utils.ProcessUtils.checkCommand(CODE
CRITICAL…che/tika/ml/chardetect/tools/EvalCharsetDetectors.java152 ? new org.apache.tika.ml.chardetect.MojibusterEncodingDetector(nbModelPath)CODE
CRITICAL…/apache/tika/ml/junkdetect/UnicodeBlockRangesTest.java123 org.junit.jupiter.api.Assertions.assertEquals(CODE
CRITICAL…rg/apache/tika/ml/junkdetect/tools/TrainJunkModel.java252 int blockN = org.apache.tika.ml.junkdetect.UnicodeBlockRanges.bucketCount();CODE
CRITICAL…rg/apache/tika/ml/junkdetect/tools/TrainJunkModel.java533 int blockN = org.apache.tika.ml.junkdetect.UnicodeBlockRanges.bucketCount();CODE
CRITICAL…rg/apache/tika/ml/junkdetect/tools/TrainJunkModel.java542 int blockId = org.apache.tika.ml.junkdetect.UnicodeBlockRanges.bucketOf(cp);CODE
CRITICAL…rg/apache/tika/ml/junkdetect/tools/TrainJunkModel.java558 int blockN = org.apache.tika.ml.junkdetect.UnicodeBlockRanges.bucketCount();CODE
CRITICAL…rg/apache/tika/ml/junkdetect/tools/TrainJunkModel.java567 ids[len++] = org.apache.tika.ml.junkdetect.UnicodeBlockRanges.bucketOf(cp);CODE
CRITICAL…rg/apache/tika/pipes/ignite/IgniteConfigStoreTest.java236 io.grpc.health.v1.HealthGrpc.newBlockingStub(testChannel)CODE
CRITICAL…rg/apache/tika/pipes/ignite/IgniteConfigStoreTest.java240 io.grpc.health.v1.HealthCheckRequest.getDefaultInstance());CODE
CRITICAL…/org/apache/tika/pipes/filesystem/HandlerTypeTest.java212 io.grpc.health.v1.HealthGrpc.newBlockingStub(testChannel)CODE
CRITICAL…/org/apache/tika/pipes/filesystem/HandlerTypeTest.java215 io.grpc.health.v1.HealthCheckRequest.getDefaultInstance());CODE
CRITICAL…va/org/apache/tika/pipes/ignite/IgniteConfigStore.java99 ignite = org.apache.ignite.client.IgniteClient.builder()CODE
CRITICAL…/main/java/org/apache/tika/async/cli/TikaAsyncCLI.java481 org.apache.commons.cli.help.HelpFormatter helpFormatter = org.apache.commons.cli.help.HelpFormatter.builder().geCODE
CRITICALtika-app/src/main/java/org/apache/tika/cli/TikaCLI.java503 org.apache.logging.log4j.core.config.Configurator.setRootLevel(Level.DEBUG);CODE
Decorative Section Separators46 hits · 138 pts
SeverityFileLineSnippetContext
MEDIUM…t-charsoup/src/test/python/check_script_consistency.py14# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-charsoup/src/test/python/check_script_consistency.py16# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-charsoup/src/test/python/check_script_consistency.py100# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-charsoup/src/test/python/check_script_consistency.py102# ---------------------------------------------------------------------------COMMENT
MEDIUM…a-langdetect-charsoup/src/test/python/eval_fasttext.py29# ── Complete fastText lid.176 label → ISO 639-3 mapping ──────────────────COMMENT
MEDIUM…ka-langdetect-charsoup/src/test/python/clean_madlad.py57# ── Cleaning parameters (keep in sync with collect_wikipedia.py) ──────────────COMMENT
MEDIUM…ka-langdetect-charsoup/src/test/python/clean_madlad.py73# ── fastText top-10 filter (keep in sync with collect_wikipedia.py) ───────────COMMENT
MEDIUM…ka-langdetect-charsoup/src/test/python/clean_madlad.py89# ── Confusables ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py68# ── fastText top-10 filter ────────────────────────────────────────────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py89# ── Sentence cleaning ─────────────────────────────────────────────────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py137 # ── Languages in the fastText model with Wikipedia editions ──────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py151 # ── Wikipedia editions without fastText coverage ──────────────────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py157 # ── Previously unmapped: real languages now covered ───────────────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py192 # ── Additional Wikipedia editions identified as missing ───────────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py286# ── Confusables (single source of truth: confusables.txt) ────────────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py329# ── Sentence cleaning ─────────────────────────────────────────────────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py342# ── Per-language collection ───────────────────────────────────────────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py436# ── Output ────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ngdetect-charsoup/src/test/python/collect_wikipedia.py448# ── Main ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…detect-charsoup/src/test/python/summarize_wikipedia.py119 # ── Console report ────────────────────────────────────────────────────────COMMENT
MEDIUM…detect-charsoup/src/test/python/summarize_wikipedia.py156 # ── TSV output ────────────────────────────────────────────────────────────COMMENT
MEDIUM…angdetect-charsoup/src/test/python/diagnose_kor_eng.py20# ---------------------------------------------------------------------------COMMENT
MEDIUM…angdetect-charsoup/src/test/python/diagnose_kor_eng.py22# ---------------------------------------------------------------------------COMMENT
MEDIUM…angdetect-charsoup/src/test/python/diagnose_kor_eng.py67# ---------------------------------------------------------------------------COMMENT
MEDIUM…angdetect-charsoup/src/test/python/diagnose_kor_eng.py75# ---------------------------------------------------------------------------COMMENT
MEDIUM…angdetect-charsoup/src/test/python/diagnose_kor_eng.py158# ---------------------------------------------------------------------------COMMENT
MEDIUM…angdetect-charsoup/src/test/python/diagnose_kor_eng.py160# ---------------------------------------------------------------------------COMMENT
MEDIUM…angdetect-charsoup/src/test/python/diagnose_kor_eng.py179 # -----------------------------------------------------------------------COMMENT
MEDIUM…angdetect-charsoup/src/test/python/diagnose_kor_eng.py181 # -----------------------------------------------------------------------COMMENT
MEDIUM…angdetect-charsoup/src/test/python/diagnose_kor_eng.py217 # -----------------------------------------------------------------------COMMENT
MEDIUM…angdetect-charsoup/src/test/python/diagnose_kor_eng.py219 # -----------------------------------------------------------------------COMMENT
MEDIUM…ect-charsoup/src/main/python/extract_madlad_to_wiki.py48# ---------------------------------------------------------------------------COMMENT
MEDIUM…ect-charsoup/src/main/python/extract_madlad_to_wiki.py50# ---------------------------------------------------------------------------COMMENT
MEDIUM…l/tika-ml-chardetect/scripts/extract_wiki_sentences.py17# ---------------------------------------------------------------------------COMMENT
MEDIUM…l/tika-ml-chardetect/scripts/extract_wiki_sentences.py19# ---------------------------------------------------------------------------COMMENT
MEDIUM…l/tika-ml-chardetect/scripts/extract_wiki_sentences.py54# ---------------------------------------------------------------------------COMMENT
MEDIUM…l/tika-ml-chardetect/scripts/extract_wiki_sentences.py56# ---------------------------------------------------------------------------COMMENT
MEDIUM…l/tika-ml-chardetect/scripts/extract_wiki_sentences.py73# ---------------------------------------------------------------------------COMMENT
MEDIUM…l/tika-ml-chardetect/scripts/extract_wiki_sentences.py75# ---------------------------------------------------------------------------COMMENT
MEDIUM…l/tika-ml-chardetect/scripts/extract_wiki_sentences.py105# ---------------------------------------------------------------------------COMMENT
MEDIUM…l/tika-ml-chardetect/scripts/extract_wiki_sentences.py107# ---------------------------------------------------------------------------COMMENT
MEDIUM…pache/tika/pipes/plugin/solr/SolrClientHelperTest.java50 // ── auth: basic credentials applied ─────────────────────────────────────COMMENT
MEDIUM…pache/tika/pipes/plugin/solr/SolrClientHelperTest.java84 // ── auth: non-basic scheme rejected when credentials present ─────────────COMMENT
MEDIUM…pache/tika/pipes/plugin/solr/SolrClientHelperTest.java106 // ── auth: no credentials when username is blank ──────────────────────────COMMENT
MEDIUM…pache/tika/pipes/plugin/solr/SolrClientHelperTest.java125 // ── proxy: applied when host and positive port are set ──────────────────COMMENT
MEDIUM…pache/tika/pipes/plugin/solr/SolrClientHelperTest.java166 // ── combined: auth + proxy together ──────────────────────────────────────COMMENT
Over-Commented Block131 hits · 131 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ika/ml/chardetect/Utf16ColumnFeatureExtractorTest.java141 assertEquals(0, f[ASCII_ODD]);COMMENT
LOW…ml/chardetect/Utf16SpecialistEncodingDetectorTest.java81 // INT8 weights: class 0 (LE) vs class 1 (BE).COMMENT
LOW…ka/ml/chardetect/NaiveBayesBigramEncodingDetector.java541 // floor, since short probes legitimately have lower diversityCOMMENT
LOW…/org/apache/tika/ml/chardetect/CharsetConfusables.java181COMMENT
LOW…/org/apache/tika/ml/chardetect/CharsetConfusables.java201 // IMPORTANT — this is a LOSSY confusable, unlike most others:COMMENT
LOW…/org/apache/tika/ml/chardetect/CharsetConfusables.java241 // directional variants, so our detector returns IBM424 for both.COMMENT
LOW…/org/apache/tika/ml/chardetect/CharsetConfusables.java261 // IBM437 vs IBM850: IBM437's distinguishing bytes are box-drawingCOMMENT
LOW…/org/apache/tika/ml/chardetect/CharsetConfusables.java281 // Japanese Windows: Shift_JIS ⊂ windows-31j (CP932).COMMENT
LOW…che/tika/ml/chardetect/MojibusterEncodingDetector.java241 int highBytes = probe == null ? 0 : HighByteLetterStats.countHighBytes(probe);COMMENT
LOW…che/tika/ml/chardetect/MojibusterEncodingDetector.java321 LOG.trace("mojibuster -> utf16 short-circuit {}", name);COMMENT
LOW…che/tika/ml/chardetect/MojibusterEncodingDetector.java441 // candidates can still override at low confidence.COMMENT
LOW…va/org/apache/tika/detect/icu4j/CharsetRecog_mbcs.java141 * @param det The charset detector, which is needed to get at the input byte dataCOMMENT
LOW…a/detect/html/StandardCharsets_unsupported_by_IANA.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…rc/test/resources/config-examples/pdf-parser-full.json41 // Ignore content-stream space glyphs; rely on the spacing algorithm (PDFBOX-3774).COMMENT
LOW…ration-tests/src/test/resources/test-documents/testH.h1#ifndef TIKA_HELLO_WORLDCOMMENT
LOW…/java/org/apache/tika/parser/pkg/CompressorParser.java241 CompressorStreamFactory factory =COMMENT
LOW…est/java/org/apache/tika/parser/odf/ODFParserTest.java401 public void testFlatFodsEmbeddedChart() throws Exception {COMMENT
LOW…/tika/parser/wordperfect/WP6DocumentAreaExtractor.java161 // 130,131,133: soft hyphensCOMMENT
LOW…org/apache/tika/parser/odf/FlatOpenDocumentParser.java161COMMENT
LOW…rg/apache/tika/parser/odf/OpenDocumentBodyHandler.java541 } else if ("notes".equals(localName)) {COMMENT
LOW…es/org/apache/tika/parser/html/self-closeable-tags.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ava/org/apache/tika/parser/ocr/TesseractOCRConfig.java61 // enable image preprocessing with ImageMagick (optional)COMMENT
LOW…/src/test/resources/test-documents/testWORD_2006ml.xml1<?xml version="1.0" encoding="UTF-8" standalone="yes"?>COMMENT
LOW…/src/test/resources/test-documents/testWORD_2006ml.xml1781////////////////////////////////////////////////////////////////////////////COMMENT
LOW…/src/test/resources/test-documents/testWORD_2006ml.xml1921////////////////////////////////////////////////////////////////////////////COMMENT
LOW…ache/tika/parser/microsoft/ooxml/OOXMLDocxSAXTest.java321 // the outer paragraph and leaving the XHTML stack mismatched atCOMMENT
LOW…ache/tika/parser/microsoft/ooxml/OOXMLDocxSAXTest.java341 // closeFormattingTags() for the outer state, emitting </b> whileCOMMENT
LOW…s/org/apache/tika/parser/microsoft/msg/props_table.txt1#COMMENT
LOW…ache/tika/detect/microsoft/POIFSContainerDetector.java421 if (ucNames.contains(ENCRYPTED_PACKAGE)) {COMMENT
LOW…va/org/apache/tika/parser/microsoft/WordExtractor.java621 return end;COMMENT
LOW…rg/apache/tika/parser/microsoft/rtf/TextExtractor.java321 // inside a HYPERLINK's fldrslt) doesn't prematurely close the outer <a>COMMENT
LOW…rg/apache/tika/parser/microsoft/rtf/TextExtractor.java461 }COMMENT
LOW…rg/apache/tika/parser/microsoft/rtf/TextExtractor.java881 throws IOException, SAXException, TikaException {COMMENT
LOW…rg/apache/tika/parser/microsoft/rtf/TextExtractor.java1421 if (fieldState == 0) {COMMENT
LOW…a/parser/microsoft/ooxml/OOXMLTikaBodyPartHandler.java61COMMENT
LOW…microsoft/ooxml/OOXMLWordAndPowerPointTextHandler.java161 //Stack rather than a single boolean: nested <w:p> (e.g., insideCOMMENT
LOW…/tika/parser/microsoft/chm/ChmDirectoryListingSet.java261// else if (indexWorkData>=0) {COMMENT
LOW…/tika/parser/microsoft/chm/ChmDirectoryListingSet.java281// // placeHolder, (placeHolder +COMMENT
LOW…sources/org/apache/tika/parser/ner/regex/ner-regex.txt1#COMMENT
LOW…sources/org/apache/tika/parser/ner/regex/ner-regex.txt1#COMMENT
LOW…org/apache/tika/annotation/TikaComponentProcessor.java401 # this work for additional information regarding copyright ownership.COMMENT
LOW…ntegration-tests/src/test/resources/docker-compose.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…a-eval-core/src/main/resources/lucene-char-mapping.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWtika-parent/forbidden-apis-json-reader-bans.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWtika-parent/forbidden-apis-exception-reporting-bans.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWtika-parent/forbidden-apis-none.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWtika-parent/forbidden-apis-xml-factory-bans.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWtika-parent/forbidden-apis-metadata-string-key-bans.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWdocs/antora-playbook.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWdocs/antora.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWdocs/publish-docs.sh1#!/bin/bashCOMMENT
LOWdocs/modules/ROOT/examples/pdf-parser-full.json41 // Ignore content-stream space glyphs; rely on the spacing algorithm (PDFBOX-3774).COMMENT
LOW.devcontainer/devcontainer.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/org/apache/tika/language/detect/LanguageDetector.java21import java.util.Map;COMMENT
LOWtika-grpc/docker-build/start-tika-grpc.sh1#!/bin/bashCOMMENT
LOWtika-grpc/docker-build/docker-build.sh1#!/bin/bashCOMMENT
LOW…ka-langdetect-charsoup/src/test/python/clean_madlad.py1#!/usr/bin/env python3COMMENT
LOW…langdetect-charsoup/src/test/python/download_madlad.py1#!/usr/bin/env python3COMMENT
LOW…ngdetect-charsoup/src/test/python/collect_wikipedia.py1#!/usr/bin/env python3COMMENT
71 more matches not shown…
Fake / Example Data34 hits · 38 pts
SeverityFileLineSnippetContext
LOW…in/java/org/apache/tika/example/TranslatorExample.java25 translator.setId("dummy-id");CODE
LOW…a/org/apache/tika/parser/pkg/CompressorParserTest.java50 assertContains("Lorem ipsum dolor sit amet", r.xml);CODE
LOW…a/org/apache/tika/parser/pkg/CompressorParserTest.java50 assertContains("Lorem ipsum dolor sit amet", r.xml);CODE
LOW…va/org/apache/tika/parser/ibooks/iBooksParserTest.java60 assertContains("Lorem ipsum dolor rutur amet", content);CODE
LOW…va/org/apache/tika/parser/indesign/IDMLParserTest.java55 assertContains("Lorem ipsum dolor sit amet, consectetur adipiscing elit", content);CODE
LOW…va/org/apache/tika/parser/indesign/IDMLParserTest.java55 assertContains("Lorem ipsum dolor sit amet, consectetur adipiscing elit", content);CODE
LOW…va/org/apache/tika/parser/indesign/IDMLParserTest.java66 assertContains("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit", xml);CODE
LOW…va/org/apache/tika/parser/indesign/IDMLParserTest.java66 assertContains("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit", xml);CODE
LOW⚡…est/java/org/apache/tika/parser/mif/MIFParserTest.java45 assertContains("Lorem ipsum dolor sit amet, consectetur adipiscing elit", content);CODE
LOW⚡…est/java/org/apache/tika/parser/mif/MIFParserTest.java45 assertContains("Lorem ipsum dolor sit amet, consectetur adipiscing elit", content);CODE
LOW⚡…est/java/org/apache/tika/parser/mif/MIFParserTest.java53 assertContains("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit", xml);CODE
LOW⚡…est/java/org/apache/tika/parser/mif/MIFParserTest.java53 assertContains("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit", xml);CODE
LOW…est/java/org/apache/tika/parser/dwg/DWGParserTest.java180 assertEquals("Lorem ipsum", metadata.get(TikaCoreProperties.COMMENTS).substring(0, 11));CODE
LOW…c/test/resources/test-documents/testHTML_metadata.html7 <meta name="author" content="John Doe">CODE
LOW…urces/test-documents/testHTML_metadata_two_titles.html9 <meta name="author" content="John Doe">CODE
LOW…t/java/org/apache/tika/parser/html/HtmlParserTest.java1365 assertEquals("John Doe", m.get(TikaCoreProperties.CREATOR));CODE
LOW…/src/test/resources/test-documents/testWORD_2006ml.xml4043AAAAJQAAAAwAAAANAACADgAAABQAAAAAAAAAEAAAABQAAAA=</pkg:binaryData></pkg:part><pkg:part pkg:name="/word/comments.xml" pkg:CODE
LOW…che/tika/language/translate/impl/YandexTranslator.java59 private static final String DEFAULT_KEY = "dummy-key";CODE
LOW…he/tika/language/translate/impl/Lingo24Translator.java52 private static final String DEFAULT_KEY = "dummy-key";CODE
LOW…/tika/language/translate/impl/MicrosoftTranslator.java44 public static final String DEFAULT_ID = "dummy-id";CODE
LOW…/modules/ROOT/examples/pipes-google-drive-fetcher.json7 "subjectUser": "user@example.com",CODE
LOW⚡…e/src/test/java/org/apache/tika/io/TailStreamTest.java37 private static final String TEXT = "Lorem ipsum dolor sit amet, consetetur " +CODE
LOW⚡…e/src/test/java/org/apache/tika/io/TailStreamTest.java37 private static final String TEXT = "Lorem ipsum dolor sit amet, consetetur " +CODE
LOW⚡…e/src/test/java/org/apache/tika/io/TailStreamTest.java41 "kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor " + "sit amet.";CODE
LOW…pache/tika/langdetect/lingo24/Lingo24LangDetector.java57 private static final String DEFAULT_KEY = "dummy-key";CODE
LOW…ka-langdetect-charsoup/src/test/python/clean_madlad.py70 r'|Lorem ipsum'CODE
LOW…ngdetect-charsoup/src/test/python/collect_wikipedia.py101 r'|Lorem ipsum' # placeholder textCODE
LOW⚡…he/tika/server/core/benchmark/TikaServerBenchmark.java86 <write element="p" times="%d">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod teCODE
LOW⚡…he/tika/server/core/benchmark/TikaServerBenchmark.java86 <write element="p" times="%d">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod teCODE
LOW⚡…he/tika/server/core/benchmark/TikaServerBenchmark.java90 String paddingLine = "PADDING: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inSTRING
LOW⚡…he/tika/server/core/benchmark/TikaServerBenchmark.java90 String paddingLine = "PADDING: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inSTRING
LOW…st/resources/config-examples/google-drive-fetcher.json7 "subjectUser": "user@example.com",CODE
LOW…/apache/tika/pipes/googledrive/ConfigExamplesTest.java42 assertEquals("user@example.com", config.getSubjectUser());CODE
LOW…pes/fetcher/googledrive/GoogleDriveFetcherFactory.java38 * "impersonatedUser": "user@example.com"COMMENT
Deep Nesting21 hits · 21 pts
SeverityFileLineSnippetContext
LOW…ka-langdetect-charsoup/src/test/python/clean_madlad.py96CODE
LOW…ka-langdetect-charsoup/src/test/python/clean_madlad.py155CODE
LOW…ka-langdetect-charsoup/src/test/python/clean_madlad.py185CODE
LOW…langdetect-charsoup/src/test/python/download_madlad.py149CODE
LOW…ngdetect-charsoup/src/test/python/collect_wikipedia.py293CODE
LOW…ngdetect-charsoup/src/test/python/collect_wikipedia.py356CODE
LOW…langdetect-charsoup/src/test/python/download_corpus.py97CODE
LOW…langdetect-charsoup/src/test/python/download_corpus.py186CODE
LOW…ect-charsoup/src/main/python/extract_madlad_to_wiki.py100CODE
LOW.github/scripts/check_split_packages.py46CODE
LOWtika-ml/tika-ml-chardetect/scripts/download_madlad.py124CODE
LOWtika-ml/tika-ml-chardetect/scripts/download_madlad.py149CODE
LOWtika-ml/tika-ml-chardetect/scripts/download_madlad.py198CODE
LOWtika-ml/tika-ml-chardetect/scripts/build_eval_tsv.py25CODE
LOW…-ml/tika-ml-chardetect/scripts/select_unicode_langs.py144CODE
LOW…-ml/tika-ml-chardetect/scripts/select_unicode_langs.py196CODE
LOW…ka-ml-chardetect/scripts/extract_zhwiki_traditional.py75CODE
LOW…l/tika-ml-chardetect/scripts/extract_wiki_sentences.py80CODE
LOW…update-site-for-release/scripts/extract-tika-issues.py63CODE
LOW…date-site-for-release/scripts/extract-tika-contribs.py99CODE
LOW…date-site-for-release/scripts/extract-tika-contribs.py157CODE
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM…g/apache/tika/parser/pdf/updates/StartXRefScanner.java161 //TODO -- make this more robustCOMMENT
MEDIUM…rg/apache/tika/parser/microsoft/rtf/TextExtractor.java1612 // Be robust if RTF doc is corrupt (has too manyCOMMENT
MEDIUM…ain/java/org/apache/tika/eval/app/ExtractComparer.java384 //TODO: could make this more robustCOMMENT
MEDIUMtika-server/tika-server-standard/bin/tika.in.sh77# process is more robust to OOMs, InfiniteCOMMENT
MEDIUM…n/java/org/apache/tika/pipes/emitter/s3/S3Emitter.java212 // In practice, sending a file is more robustCOMMENT
Modern AI Meta-Vocabulary4 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMtika-server/docker-build/docker-tool.sh169# on the host stands in for a hosted OCR model and an embedding model, started --flaky so everyCOMMENT
MEDIUM⚡…te-site-for-release/scripts/scaffold-stable-version.sh29# scaffold-stable-version.sh <tika-site-root> <prev-version> <new-version>COMMENT
MEDIUM⚡…te-site-for-release/scripts/scaffold-stable-version.sh31# scaffold-stable-version.sh /path/to/tika-site 3.3.1 3.3.2COMMENT
MEDIUMrelease-tools/uat/run-uat.sh277# embedding model. These checks prove the wiring between tika-server, its forked workerCOMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ka-ml-chardetect/scripts/extract_zhwiki_traditional.py70except (UnicodeEncodeError, UnicodeDecodeError):CODE
HIGH…date-site-for-release/scripts/extract-tika-contribs.py136except (FileNotFoundError, subprocess.SubprocessError):CODE
HIGH…date-site-for-release/scripts/extract-tika-contribs.py151except Exception: # noqa: BLE001 - keep the login on any lookup failureCODE
Excessive Try-Catch Wrapping11 hits · 12 pts
SeverityFileLineSnippetContext
LOW…langdetect-charsoup/src/test/python/download_madlad.py174 except Exception as e:CODE
LOW…ngdetect-charsoup/src/test/python/collect_wikipedia.py243 except Exception as e:CODE
LOW…ngdetect-charsoup/src/test/python/collect_wikipedia.py397 except Exception as e:CODE
MEDIUM…a-langdetect-charsoup/src/test/python/filter_pashto.py100 print(f"Error: no sentence file found in {pus_dir}", file=sys.stderr)CODE
LOW…langdetect-charsoup/src/test/python/download_corpus.py284 except Exception as e:CODE
LOW…langdetect-charsoup/src/test/python/download_corpus.py303 except Exception as e:CODE
LOWtika-ml/tika-ml-chardetect/scripts/download_madlad.py142 except Exception:CODE
LOWtika-ml/tika-ml-chardetect/scripts/download_madlad.py332 except Exception as e:CODE
LOW…date-site-for-release/scripts/extract-tika-contribs.py151 except Exception: # noqa: BLE001 - keep the login on any lookup failureCODE
LOW…date-site-for-release/scripts/extract-tika-contribs.py216 except Exception as e: # noqa: BLE001CODE
LOW…date-site-for-release/scripts/extract-tika-contribs.py227 except Exception as e: # noqa: BLE001CODE
Unused Imports9 hits · 9 pts
SeverityFileLineSnippetContext
LOW…t-charsoup/src/test/python/check_script_consistency.py11CODE
LOW…angdetect-charsoup/src/test/python/filter_uppercase.py31CODE
LOW…langdetect-charsoup/src/test/python/download_corpus.py51CODE
LOW…langdetect-charsoup/src/test/python/download_corpus.py52CODE
LOW…langdetect-charsoup/src/test/python/download_corpus.py56CODE
LOW…ect-charsoup/src/main/python/extract_madlad_to_wiki.py43CODE
LOWtika-ml/tika-ml-chardetect/scripts/download_madlad.py35CODE
LOW…l/tika-ml-chardetect/scripts/convert_wiki_to_madlad.py19CODE
LOW…-ml/tika-ml-chardetect/scripts/select_unicode_langs.py15CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…ava/org/apache/tika/detect/NNExampleModelDetector.java106 * given string is # In this example grb model file, there are 4 elements 1)COMMENT
Example Usage Blocks4 hits · 7 pts
SeverityFileLineSnippetContext
LOWdocs/publish-docs.sh22# Usage:COMMENT
LOWtika-grpc/run-dev.sh4# Usage:COMMENT
LOWtika-metadata-schema/regen.sh29# Usage:COMMENT
LOW⚡…te-site-for-release/scripts/scaffold-stable-version.sh28# Usage:COMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOW…rc/main/java/org/apache/tika/utils/XMLReaderUtils.java174 * If you call reset() on the parser, make sure to replace theCOMMENT
MEDIUM…/apache/tika/pipes/core/config/LoggingConfigStore.java29 * Example custom ConfigStore implementation for demonstration purposes.COMMENT
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…ser/microsoft/ooxml/xwpf/ml2006/BinaryDataHandler.java36class BinaryDataHandler extends AbstractPartHandler {CODE
LOW…java/org/apache/tika/parser/xml/FictionBookParser.java58 private static class BinaryElementsDataHandler extends DefaultHandler {CODE
LOW…langdetect-charsoup/src/test/python/download_corpus.py97def download_and_extract_sentences(url: str, max_sentences: int) -> list[str]:CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…g/apache/tika/pipes/s3/tests/PipeIntegrationTests.java92 // TODO: Implement tests using new plugin system with JSON configurationCOMMENT
LOW…ava/org/apache/tika/pipes/core/server/EmitHandler.java290 //TODO: implement thisCOMMENT