AI Slop Code Risk Monitor

rivo/tview

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

Terminal UI library with rich, interactive widgets — written in Golang

4.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for rivo/tview, a Go project with 14,144 GitHub stars. SynthScan examined 19,020 lines of code across 90 source files, recording 76 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 4.0 (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.

4.0
Adjusted Signal
4.0
Raw Pattern Score
100%
Time Factor
2026-08-11
Last Push
14.1K
Stars
Go
Language
19.0K
Lines of Code
90
Files
76
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 17.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 18.1/100 · LOW

Which changes need focused human review? 76 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 0LOW 76

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 76 distinct pattern matches across 2 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 Block74 hits · 74 pts
SeverityFileLineSnippetContext
LOWlist.go21// clicking on them with the mouse. The following key binds are available:COMMENT
LOWlist.go161 l.itemOffset = itemsCOMMENT
LOWlist.go321// SetWrapAround sets the flag that determines whether navigating the list willCOMMENT
LOWlist.go361 return lCOMMENT
LOWlist.go381//COMMENT
LOWtreeview.go261func (n *TreeNode) GetLevel() int {COMMENT
LOWtreeview.go281// - J: Move (the selection) up one level (if that node is selectable).COMMENT
LOWtreeview.go381// selections. Selected nodes must be visible and selectable, or else theCOMMENT
LOWtreeview.go501// is only updated after the tree view has been redrawn.COMMENT
LOWtextarea.go41)COMMENT
LOWtextarea.go61// (3-int array) and an ending position (3-int array). The starting positionCOMMENT
LOWtextarea.go101// keys can be used to move the cursor (subject to what the user's terminalCOMMENT
LOWtextarea.go121//COMMENT
LOWtextarea.go141// - Ctrl-U: Delete the current line, i.e. everything after the last newlineCOMMENT
LOWtextarea.go161// global Ctrl-C key and you want to bind it to the "copy to clipboard"COMMENT
LOWtextarea.go181//COMMENT
LOWtextarea.go241 length intCOMMENT
LOWtextarea.go281 // position (see [textAreaSpan]). Not all lines of the text may be containedCOMMENT
LOWtextarea.go621// positions refer to index positions within the entire text string (as aCOMMENT
LOWtextarea.go901// skipped during drawing at the top or on the left, respectively. Note that theCOMMENT
LOWtextarea.go981 t.textStyle = tcell.StyleDefault.Foreground(fieldTextColor).Background(fieldBgColor)COMMENT
LOWtextarea.go1441 if fromLine < len(t.lineStarts) {COMMENT
LOWtextarea.go1601func (t *TextArea) setTransform(transform func(cluster, rest string, boundaries int) (newCluster string, newBoundaries iCOMMENT
LOWbox.go1package tviewCOMMENT
LOWbox.go161// (and all primitives which extend it).COMMENT
LOWbox.go221 }COMMENT
LOWbox.go281 }COMMENT
LOWbox.go481 // Call custom draw function.COMMENT
LOWbox.go501//COMMENT
LOWgrid.go21// Grid is an implementation of a grid-based layout. It works by defining theCOMMENT
LOWgrid.go61// NewGrid returns a new grid-based layout container with no initial primitives.COMMENT
LOWgrid.go81// less than or equal to 0 represent proportional column widths or fractions ofCOMMENT
LOWgrid.go101//COMMENT
LOWgrid.go181// If rowSpan or colSpan is 0, the primitive will not be drawn.COMMENT
LOWtextview.go61// Write() method except that it does not acquire the lock.COMMENT
LOWtextview.go81// screen columns, but only if the text is left-aligned. If the text is centeredCOMMENT
LOWtextview.go101//COMMENT
LOWtextview.go121//COMMENT
LOWtextview.go141// text very far down only if really needed. For example, callCOMMENT
LOWtextview.go501 if t.regionTags != regions {COMMENT
LOWtextview.go621 t.text.Reset()COMMENT
LOWtextview.go721 }COMMENT
LOWtextview.go801}COMMENT
LOWtextview.go901// and [TextView.Clear] do. The lock will be acquired once when BatchWriter isCOMMENT
LOWtextview.go921COMMENT
LOWsemigraphics.go181// The matching will be sorted ascending by rune value, so you don't need toCOMMENT
LOWutil.go41// not exceeding that box. "align" is one of AlignLeft, AlignCenter, orCOMMENT
LOWprimitive.go21 //COMMENT
LOWprimitive.go41 Focus(delegate func(p Primitive))COMMENT
LOWprimitive.go61COMMENT
LOWprimitive.go81 // the primitive which newly received focus as well as on all of itsCOMMENT
LOWform.go41 // AllowExit returns true if the form may use the given key event to exitCOMMENT
LOWform.go221}COMMENT
LOWapplication.go61//COMMENT
LOWapplication.go141COMMENT
LOWapplication.go901 }COMMENT
LOWimage.go41 BlockQuadrantUpperRight: 0b0000000000000000000000000000000011110000111100001111000011110000,COMMENT
LOWimage.go61// settings, none of which are under the control of this package. Results mayCOMMENT
LOWimage.go141 return iCOMMENT
LOWstrings.go81COMMENT
14 more matches not shown…
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdemos/table/main.go15 lorem := strings.Split("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWdemos/table/main.go15 lorem := strings.Split("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE