AI Slop Code Risk Monitor

apache/groovy

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

Apache Groovy: A powerful multi-faceted programming language for the JVM platform

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for apache/groovy, a Groovy project with 5,482 GitHub stars. SynthScan examined 560,402 lines of code across 2561 source files, recording 142 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 0.6 (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.

0.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.5K
Stars
Groovy
Language
560.4K
Lines of Code
2.6K
Files
142
Pattern Hits
2026-10-31
Scan Date
0.01
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.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.6/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 2.8/100 · LOW

Which changes need focused human review? 142 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 17HIGH 1MEDIUM 8LOW 116

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 142 distinct pattern matches across 13 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 Indicators17 hits · 185 pts
SeverityFileLineSnippetContext
CRITICAL…he/groovy/contracts/ast/ModifiesASTTransformation.java96 annotation.setMember("value", new org.codehaus.groovy.ast.expr.ClassExpression(ClassHelper.OBJECT_TYPE));CODE
CRITICAL…roovy/lsp/internal/diagnostic/DiagnosticConverter.java94 groovy = new org.codehaus.groovy.control.messages.Diagnostic(null, -1, -1, message.toString());CODE
CRITICAL…a/org/apache/groovy/lsp/internal/compile/AstQuery.java119 org.codehaus.groovy.ast.query.AstQuery.from(classNode)CODE
CRITICAL…a/org/apache/groovy/lsp/internal/compile/AstQuery.java140 org.codehaus.groovy.ast.query.AstQuery.from(node)CODE
CRITICAL…ols/groovydoc/gstringTemplates/topLevel/index-all.html34def encode = { org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc.encodeAngleBrackets(it) }CODE
CRITICAL…roovydoc/gstringTemplates/classLevel/classDocName.html77 def encode = { org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc.encodeAngleBrackets(it ?: '') }CODE
CRITICAL…roovydoc/gstringTemplates/classLevel/classDocName.html211final nameEncoded = org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc.encodeAngleBrackets(name)CODE
CRITICAL…roovydoc/gstringTemplates/classLevel/classDocName.html348 else classes += new org.codehaus.groovy.tools.groovydoc.ExternalGroovyClassDoc(Object.class)CODE
CRITICAL…roovydoc/gstringTemplates/classLevel/classDocName.html535 else if (!classDoc.isTrait()) classes += new org.codehaus.groovy.tools.groovydoc.ExternalGroovyClassDoc(ObjeSTRING
CRITICAL…roovydoc/gstringTemplates/classLevel/classDocName.html582 <td class="colFirst"><code>${org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc.encodeCODE
CRITICAL…roovydoc/gstringTemplates/classLevel/classDocName.html730 org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc.encodeAngleBrackets(method.CODE
CRITICAL…dehaus/groovy/benchmarks/vm5/b2394/ScriptLauncher.java46 binding.setVariable("builder", new org.codehaus.groovy.benchmarks.vm5.b2394.Builder());CODE
CRITICALsrc/spec/doc/assets/js/jquery-2.1.1.min.js4},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.matcCODE
CRITICAL⚡…ava/org/codehaus/groovy/vmplugin/v7/IndyInterface.java132 return org.codehaus.groovy.vmplugin.v8.IndyInterface.bootstrap(caller, callType, type, name, flags);CODE
CRITICAL⚡…ava/org/codehaus/groovy/vmplugin/v7/IndyInterface.java139 return org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache((CacheableCallSite)callSite, sender, methodName, CODE
CRITICAL⚡…ava/org/codehaus/groovy/vmplugin/v7/IndyInterface.java146 return org.codehaus.groovy.vmplugin.v8.IndyInterface.selectMethod((CacheableCallSite)callSite, sender, methodNamCODE
CRITICAL⚡…ava/org/codehaus/groovy/vmplugin/v7/IndyInterface.java153 return org.codehaus.groovy.vmplugin.v8.IndyInterface.staticArrayAccess(lookup, name, type);CODE
Over-Commented Block90 hits · 90 pts
SeverityFileLineSnippetContext
LOWcodecov.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWthreat-model.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWjitpack.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWappveyor.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…s/skills/groovy-reproducer/run-reproducer-sandboxed.sh1#!/usr/bin/env bashCOMMENT
LOW…s/skills/groovy-reproducer/run-reproducer-sandboxed.sh21# reproducer inside a locked-down Docker container against a *pinnedCOMMENT
LOW…s/skills/groovy-reproducer/run-reproducer-sandboxed.sh41# resolved via the pin table below. There is no 6.xCOMMENT
LOW.agents/skills/groovy-reproducer/safety-prescreen.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/groovy-reproducer/safety-prescreen.sh21# reproducer BEFORE it is executed.COMMENT
LOW.agents/skills/groovy-jira/pr-shortlist.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/groovy-jira/pr-shortlist.sh21#COMMENT
LOW.agents/skills/groovy-jira/jira-recent.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/groovy-jira/jira-recent.sh21#COMMENT
LOW.agents/skills/groovy-jira/jira-recent.sh41# - merged PR but issue still open (candidates for resolving), with theCOMMENT
LOW.agents/skills/groovy-jira/jira-issue.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/groovy-jira/jira-issue.sh21#COMMENT
LOW.agents/skills/groovy-jira/jira-search.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/groovy-jira/jira-search.sh21#COMMENT
LOWetc/bin/verify-docs-distribution.sh1#!/usr/bin/env bashCOMMENT
LOWetc/bin/verify-docs-distribution.sh21# verify-docs-distribution.sh - Verify a downloaded Groovy docs distribution.COMMENT
LOWetc/bin/download-release-artifacts.sh1#!/usr/bin/env bashCOMMENT
LOWetc/bin/download-release-artifacts.sh21# download-release-artifacts.sh - Download Groovy release artifacts from dist.apache.org.COMMENT
LOWetc/bin/verify.sh1#!/usr/bin/env bashCOMMENT
LOWetc/bin/verify.sh21# verify.sh - End-to-end release verification for Apache Groovy.COMMENT
LOWetc/bin/verify-sdk-distribution.sh1#!/usr/bin/env bashCOMMENT
LOWetc/bin/verify-sdk-distribution.sh21# verify-source-distribution.sh - Verify a downloaded Groovy sdk distribution.COMMENT
LOWetc/bin/verify-source-distribution.sh1#!/usr/bin/env bashCOMMENT
LOWetc/bin/verify-source-distribution.sh21# verify-source-distribution.sh - Verify a downloaded Groovy source distribution.COMMENT
LOWetc/bin/verify-binary-distribution.sh1#!/usr/bin/env bashCOMMENT
LOWetc/bin/verify-binary-distribution.sh21# verify-binary-distribution.sh - Verify a downloaded Groovy binary distribution.COMMENT
LOW.github/dependabot.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-perf-daily.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-perf-daily.yml61COMMENT
LOW.github/workflows/codeql-analysis.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/codeql-analysis.yml61 uses: github/codeql-action/init@v4.39.0COMMENT
LOW.github/workflows/micronaut-joint-validation.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-cancel-merged-pr-runs.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-jmh-adhoc.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/gradle-wrapper-validation.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-lint-gate.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/workflows/groovy-jmh-daily.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-jmh-daily.yml101 # The action's own caching is disabled: dependency jars and wrapperCOMMENT
LOW.github/workflows/groovy-build-dist.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/grails-joint-validation.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-build-artifacts.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-jmh.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-purge-grape-cache.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-purge-grape-cache.yml21# * `delete-entries` — wholesale removal of cache entries viaCOMMENT
LOW.github/workflows/groovy-build-performance.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/validate-actions.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-build-coverage.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-native-check.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-native-check.yml21# does not cover, and builds and runs a dynamic probe as an image, in defaultCOMMENT
LOW.github/workflows/groovy-rat-check.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-jmh-classic.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-build-test.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW.github/workflows/groovy-build-test.yml61 java-version: |COMMENT
LOW.github/workflows/groovy-build-test.yml81 # bridge in org.apache.groovy-tested.gradle). ~/.m2/repository is whatCOMMENT
LOW.github/workflows/groovy-build-test.yml121 # v6+ 'enhanced' provider) is disabled: dependency jars and wrapperCOMMENT
LOW.github/workflows/groovy-build-test.yml161 timeout-minutes: 15COMMENT
30 more matches not shown…
Example Usage Blocks11 hits · 16 pts
SeverityFileLineSnippetContext
LOW…s/skills/groovy-reproducer/run-reproducer-sandboxed.sh36# Usage:COMMENT
LOW.agents/skills/groovy-jira/pr-shortlist.sh28# Usage:COMMENT
LOW.agents/skills/groovy-jira/jira-recent.sh28# Usage:COMMENT
LOW.agents/skills/groovy-jira/jira-issue.sh27# Usage:COMMENT
LOW.agents/skills/groovy-jira/jira-search.sh28# Usage:COMMENT
LOWetc/bin/verify-docs-distribution.sh32# Usage:COMMENT
LOWetc/bin/download-release-artifacts.sh29# Usage:COMMENT
LOWetc/bin/verify.sh31# Usage:COMMENT
LOWetc/bin/verify-sdk-distribution.sh32# Usage:COMMENT
LOWetc/bin/verify-source-distribution.sh32# Usage:COMMENT
LOWetc/bin/verify-binary-distribution.sh32# Usage:COMMENT
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…rg/codehaus/groovy/util/ManagedConcurrentValueMap.java24 * This is a basic implementation of a map able to forget its values. ThisCOMMENT
MEDIUM…oovy/util/concurrent/ManagedIdentityConcurrentMap.java25 * This is a basic implementation of a map able to forget its keys could be weak/soft/strong references. ThisCOMMENT
MEDIUMsrc/main/java/groovy/beans/Vetoable.java46 * Here is a simple example of how to annotate a class with Vetoable:COMMENT
Verbosity Indicators5 hits · 9 pts
SeverityFileLineSnippetContext
LOW…ava/org/codehaus/groovy/vmplugin/v8/IndyInterface.java409 // Step 1: bind site-constant argumentsCOMMENT
LOW⚡…ava/org/codehaus/groovy/vmplugin/v8/IndyInterface.java424 // Step 2: fold into the shared invoker (MethodHandle, Object[]) → ObjectCOMMENT
LOW⚡…ava/org/codehaus/groovy/vmplugin/v8/IndyInterface.java431 // Step 3: adapt to call site type: collect all arguments into Object[] and then asTypeCOMMENT
LOW…ain/java/org/codehaus/groovy/vmplugin/v8/Selector.java1378 // We need to check if the category in the current thread is still active.COMMENT
LOW…us/groovy/transform/stc/StaticTypeCheckingVisitor.java1408 // because we need to check if a setter uses @DelegatesToCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…/org/codehaus/groovy/runtime/DefaultGroovyMethods.java11217 * to Object#equals, but this may be overridden for other types. In this example:COMMENT
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…s/skills/groovy-reproducer/run-reproducer-sandboxed.sh53# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/skills/groovy-reproducer/run-reproducer-sandboxed.sh68# ---------------------------------------------------------------------------COMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsrc/test/groovy/groovy/lang/TupleTest.java329 // guardrails: differing size / content are not equalCOMMENT
MEDIUM…us/groovy/control/customizers/SecureASTCustomizer.java262 * <li><a href="https://www.guardrails.io/blog/12-java-security-best-practices/">12 Java Security Best Practices</a></lCOMMENT
Structural Annotation Overuse3 hits · 6 pts
SeverityFileLineSnippetContext
LOW…ava/org/codehaus/groovy/vmplugin/v8/IndyInterface.java409 // Step 1: bind site-constant argumentsCOMMENT
LOW⚡…ava/org/codehaus/groovy/vmplugin/v8/IndyInterface.java424 // Step 2: fold into the shared invoker (MethodHandle, Object[]) → ObjectCOMMENT
LOW⚡…ava/org/codehaus/groovy/vmplugin/v8/IndyInterface.java431 // Step 3: adapt to call site type: collect all arguments into Object[] and then asTypeCOMMENT
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…aus/groovy/classgen/asm/OptimizingStatementWriter.java799 // TODO: implementCOMMENT
LOW…aus/groovy/classgen/asm/OptimizingStatementWriter.java833 // TODO: implement int operations for thisCOMMENT
LOW…aus/groovy/classgen/asm/OptimizingStatementWriter.java911 // TODO: implement int operations for thisCOMMENT
LOW…aus/groovy/classgen/asm/OptimizingStatementWriter.java919 // TODO: implement int operations for thisCOMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMsubprojects/performance/dashboard/jmh-summary.html175 // Trailing rolling median of the per-run y values; robust to a single slowCOMMENT
LOW…g/apache/groovy/runtime/async/DefaultAsyncChannel.java346 /** Caller holds {@link #lock} and has just set {@link #closed}. */COMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsubprojects/performance/dashboard/jmh-summary.py179CODE
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ovy/tools/groovydoc/gstringTemplates/topLevel/prism.js1183 function highlightAutomaticallyCallback() {CODE