AI Slop Code Risk Monitor

longhorn/longhorn

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

Cloud-Native distributed storage built on and for Kubernetes

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for longhorn/longhorn, a Shell project with 8,052 GitHub stars. SynthScan examined 79,403 lines of code across 321 source files, recording 45 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
8.1K
Stars
Shell
Language
79.4K
Lines of Code
321
Files
45
Pattern Hits
2026-10-31
Scan Date
0.00
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 3.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 3.8/100 · LOW

Which changes need focused human review? 45 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 0HIGH 0MEDIUM 8LOW 37

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 45 distinct pattern matches across 8 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.

Over-Commented Block24 hits · 24 pts
SeverityFileLineSnippetContext
LOWchart/values.yaml161 nodePort: nullCOMMENT
LOWchart/values.yaml321 # -- Maximum number of failed support bundles that can exist in the cluster. When the value is "0", Longhorn automaticCOMMENT
LOWchart/values.yaml381 # -- Number of minutes that Longhorn waits before cleaning up the backing image file when no replicas in the disk are COMMENT
LOWchart/values.yaml521 log:COMMENT
LOWchart/values.yaml541 ## and uncomment this example blockCOMMENT
LOWchart/values.yaml581 ## If you want to set topology spread constraints for the global manager Deployment, delete the `[]` in the line aboveCOMMENT
LOWchart/values.yaml601 # -- Minimum number or percentage of global manager pods that must remain available during a disruption. Mutually exCOMMENT
LOWchart/values.yaml641 - longhorn-uiCOMMENT
LOWchart/values.yaml661 # -- Resource requests and limits for Longhorn UI pods.COMMENT
LOWchart/values.yaml681 # ingressClassName can replace the kubernetes.io/ingress.class annotation used in earlier Kubernetes releases.COMMENT
LOWchart/values.yaml701 ## If you're using kube-lego, you will want to add:COMMENT
LOWchart/values.yaml721 ##COMMENT
LOWchart/values.yaml741 ## Example:COMMENT
LOWchart/values.yaml781 annotations: {}COMMENT
LOWchart/templates/validate-psp-install.yaml1#{{- if gt (len (lookup "rbac.authorization.k8s.io/v1" "ClusterRole" "" "")) 0 -}}COMMENT
LOWexamples/storageclass.yaml21# nodeSelector: "storage,fast"COMMENT
LOW…crypto/secret-crypto-customized-rhel-FIPS-enabled.yaml21 # (e.g., replica rebuild, engine restart, volume attach paths)COMMENT
LOWexamples/v2/replication/storageclass.yaml21# fromBackup: ""COMMENT
LOW.github/workflows/enforce-issue-requirements.yml141 // [BUG FIX] -> validCOMMENT
LOW.github/workflows/scorecards.yml41 # - you want to enable the Branch-Protection check on a *public* repository, orCOMMENT
LOWenhancements/20220420-longhorn-snapshot-crd.md61```yamlCOMMENT
LOWenhancements/20220420-longhorn-snapshot-crd.md81 // +optionalCOMMENT
LOWenhancements/20260519-v2-sharding.md2601 # Why the sequence here too: engine and ShardGroup are co-located on oneCOMMENT
LOW…nts/20260819-age-based-retention-for-recurring-jobs.md121 // The retention age of the snapshot/backup, specified as a Go duration string,COMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/longhorn-okd.yaml6890# Create a proxy service account and ensure it will use the route "proxy"COMMENT
MEDIUMdeploy/longhorn-okd.yaml6891# Create a secure connection to the proxy via a routeCOMMENT
MEDIUMchart/templates/deployment-ui.yaml4# Create a proxy service account and ensure it will use the route "proxy"COMMENT
MEDIUMchart/templates/deployment-ui.yaml5# Create a secure connection to the proxy via a routeCOMMENT
Excessive Try-Catch Wrapping5 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM…and-sizing-guidelines/public-cloud/medium-node-spec.md4374 print(f"Error getting engine: {e}")CODE
LOWscripts/update-uninstall-manifest.py64 except Exception as e:CODE
MEDIUMscripts/update-uninstall-manifest.py65 print(f"Error: {str(e)}")CODE
MEDIUMscripts/update-uninstall-manifest.py54def main():CODE
LOW.github/workflows/pr-review-reminder.py177 except Exception as e:CODE
Deep Nesting5 hits · 5 pts
SeverityFileLineSnippetContext
LOWscripts/update-uninstall-manifest.py12CODE
LOW.github/workflows/scan-and-notify-testing-items.py110CODE
LOW.github/workflows/scan-and-notify-testing-items.py193CODE
LOW.github/workflows/pr-review-reminder.py20CODE
LOW.github/workflows/pr-review-reminder.py105CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWdeploy/upgrade_responder_server/chart-values.yaml14 # Set this to false if you don't want to manage these secrets with helmCOMMENT
LOW.github/workflows/pr-review-reminder.py126 # Check if the command was successfulCOMMENT
LOW.github/workflows/pr-review-reminder.py135 # Check if there's any output to parseCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMenhancements/20260519-v2-sharding.md1844 # Aggregated EC orchestration stateCOMMENT
Hyper-Verbose Identifiers2 hits · 1 pts
SeverityFileLineSnippetContext
LOW.github/workflows/check-sprint-last-day.py95def is_today_is_in_last_day_of_current_sprint(github_token, project_id):STRING
LOW.github/workflows/scan-and-notify-testing-items.py98def is_today_is_in_last_day_of_current_sprint(github_token, project_id):STRING
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/workflows/scan-and-notify-testing-items.py4CODE