Terminal UI library with rich, interactive widgets — written in Golang
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.
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? 74 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 76 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | list.go | 21 | // clicking on them with the mouse. The following key binds are available: | COMMENT |
| LOW | list.go | 161 | l.itemOffset = items | COMMENT |
| LOW | list.go | 321 | // SetWrapAround sets the flag that determines whether navigating the list will | COMMENT |
| LOW | list.go | 361 | return l | COMMENT |
| LOW | list.go | 381 | // | COMMENT |
| LOW | treeview.go | 261 | func (n *TreeNode) GetLevel() int { | COMMENT |
| LOW | treeview.go | 281 | // - J: Move (the selection) up one level (if that node is selectable). | COMMENT |
| LOW | treeview.go | 381 | // selections. Selected nodes must be visible and selectable, or else the | COMMENT |
| LOW | treeview.go | 501 | // is only updated after the tree view has been redrawn. | COMMENT |
| LOW | textarea.go | 41 | ) | COMMENT |
| LOW | textarea.go | 61 | // (3-int array) and an ending position (3-int array). The starting position | COMMENT |
| LOW | textarea.go | 101 | // keys can be used to move the cursor (subject to what the user's terminal | COMMENT |
| LOW | textarea.go | 121 | // | COMMENT |
| LOW | textarea.go | 141 | // - Ctrl-U: Delete the current line, i.e. everything after the last newline | COMMENT |
| LOW | textarea.go | 161 | // global Ctrl-C key and you want to bind it to the "copy to clipboard" | COMMENT |
| LOW | textarea.go | 181 | // | COMMENT |
| LOW | textarea.go | 241 | length int | COMMENT |
| LOW | textarea.go | 281 | // position (see [textAreaSpan]). Not all lines of the text may be contained | COMMENT |
| LOW | textarea.go | 621 | // positions refer to index positions within the entire text string (as a | COMMENT |
| LOW | textarea.go | 901 | // skipped during drawing at the top or on the left, respectively. Note that the | COMMENT |
| LOW | textarea.go | 981 | t.textStyle = tcell.StyleDefault.Foreground(fieldTextColor).Background(fieldBgColor) | COMMENT |
| LOW | textarea.go | 1441 | if fromLine < len(t.lineStarts) { | COMMENT |
| LOW | textarea.go | 1601 | func (t *TextArea) setTransform(transform func(cluster, rest string, boundaries int) (newCluster string, newBoundaries i | COMMENT |
| LOW | box.go | 1 | package tview | COMMENT |
| LOW | box.go | 161 | // (and all primitives which extend it). | COMMENT |
| LOW | box.go | 221 | } | COMMENT |
| LOW | box.go | 281 | } | COMMENT |
| LOW | box.go | 481 | // Call custom draw function. | COMMENT |
| LOW | box.go | 501 | // | COMMENT |
| LOW | grid.go | 21 | // Grid is an implementation of a grid-based layout. It works by defining the | COMMENT |
| LOW | grid.go | 61 | // NewGrid returns a new grid-based layout container with no initial primitives. | COMMENT |
| LOW | grid.go | 81 | // less than or equal to 0 represent proportional column widths or fractions of | COMMENT |
| LOW | grid.go | 101 | // | COMMENT |
| LOW | grid.go | 181 | // If rowSpan or colSpan is 0, the primitive will not be drawn. | COMMENT |
| LOW | textview.go | 61 | // Write() method except that it does not acquire the lock. | COMMENT |
| LOW | textview.go | 81 | // screen columns, but only if the text is left-aligned. If the text is centered | COMMENT |
| LOW | textview.go | 101 | // | COMMENT |
| LOW | textview.go | 121 | // | COMMENT |
| LOW | textview.go | 141 | // text very far down only if really needed. For example, call | COMMENT |
| LOW | textview.go | 501 | if t.regionTags != regions { | COMMENT |
| LOW | textview.go | 621 | t.text.Reset() | COMMENT |
| LOW | textview.go | 721 | } | COMMENT |
| LOW | textview.go | 801 | } | COMMENT |
| LOW | textview.go | 901 | // and [TextView.Clear] do. The lock will be acquired once when BatchWriter is | COMMENT |
| LOW | textview.go | 921 | COMMENT | |
| LOW | semigraphics.go | 181 | // The matching will be sorted ascending by rune value, so you don't need to | COMMENT |
| LOW | util.go | 41 | // not exceeding that box. "align" is one of AlignLeft, AlignCenter, or | COMMENT |
| LOW | primitive.go | 21 | // | COMMENT |
| LOW | primitive.go | 41 | Focus(delegate func(p Primitive)) | COMMENT |
| LOW | primitive.go | 61 | COMMENT | |
| LOW | primitive.go | 81 | // the primitive which newly received focus as well as on all of its | COMMENT |
| LOW | form.go | 41 | // AllowExit returns true if the form may use the given key event to exit | COMMENT |
| LOW | form.go | 221 | } | COMMENT |
| LOW | application.go | 61 | // | COMMENT |
| LOW | application.go | 141 | COMMENT | |
| LOW | application.go | 901 | } | COMMENT |
| LOW | image.go | 41 | BlockQuadrantUpperRight: 0b0000000000000000000000000000000011110000111100001111000011110000, | COMMENT |
| LOW | image.go | 61 | // settings, none of which are under the control of this package. Results may | COMMENT |
| LOW | image.go | 141 | return i | COMMENT |
| LOW | strings.go | 81 | COMMENT | |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demos/table/main.go | 15 | lorem := strings.Split("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt | CODE |
| LOW | demos/table/main.go | 15 | lorem := strings.Split("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt | CODE |