Fast disk usage analyzer with console interface written in Go
This report summarizes scanner evidence for dundee/gdu, a Go project with 6,203 GitHub stars. SynthScan examined 62,987 lines of code across 379 source files, recording 27 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 0.5 (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-11-15.
Can maintainers explain intent, assumptions, and trade-offs? 27 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 27 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 27 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 | internal/remove/deleter.go | 241 | switch name { | COMMENT |
| LOW | internal/ignore/pattern.go | 1 | // Package ignore matches the paths of the directories a scan leaves out. | COMMENT |
| LOW | internal/webui/action_token.go | 21 | // action token. | COMMENT |
| LOW | internal/webui/frontend/src/model.tsx | 81 | // Recursive-tree cache, keyed by path. Lives here (rather than inside | COMMENT |
| LOW | internal/webui/frontend/src/components/TreeMap.tsx | 21 | onSelect: (node: Node) => void; | COMMENT |
| LOW | internal/session/session.go | 41 | // and Roots is how many scanned roots there are. | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | pkg/analyze/options.go | 21 | // IgnoreDir tells which directories to leave out; nil leaves out none | COMMENT |
| LOW | pkg/analyze/stored.go | 161 | } | COMMENT |
| LOW | pkg/analyze/exclusive_darwin.go | 121 | // measure returns the disk usage of a file as its private size, and the rest | COMMENT |
| LOW | pkg/analyze/analyzer.go | 101 | COMMENT | |
| LOW | pkg/analyze/database.go | 1 | package analyze | COMMENT |
| LOW | pkg/analyze/storage_codec.go | 1 | package analyze | COMMENT |
| LOW | pkg/analyze/storage_codec.go | 21 | // int64 item_count = 7; | COMMENT |
| LOW | pkg/analyze/entry.go | 21 | // shared is the part of the disk usage shared with other files, measured | COMMENT |
| LOW | pkg/analyze/storage.go | 41 | // RecordStore keeps the records of a stored analysis: bytes under keys. | COMMENT |
| LOW | pkg/analyze/doc.go | 1 | // Package analyze scans directories into trees of fs.Item, the way gdu does. | COMMENT |
| LOW | pkg/analyze/doc.go | 21 | // The analyzers of packages analyze/badger and analyze/sqlite keep their | COMMENT |
| LOW | pkg/analyze/exclusive_linux.go | 61 | // and the caller should fall back to st_blocks. | COMMENT |
| LOW | pkg/analyze/file.go | 141 | // empty-directory rule is applied. | COMMENT |
| LOW | pkg/analyze/file.go | 341 | // SetStatsFromJSON marks directory statistics decoded from an export as authoritative. | COMMENT |
| LOW | pkg/analyze/walk.go | 21 | // must be safe for use by several goroutines, but the calls for one | COMMENT |
| LOW | pkg/analyze/virtualroot.go | 1 | package analyze | COMMENT |
| LOW | pkg/fs/dataless_darwin.go | 21 | // files while this process walks the filesystem. | COMMENT |
| LOW | pkg/fs/dataless_darwin.go | 41 | // inert on volumes with no dataless files, so it is safe to make it always. | COMMENT |
| LOW | pkg/fs/file.go | 101 | func (f ByApparentSize) Less(i, j int) bool { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | internal/webui/tree.go | 218 | // sorted as requested. | COMMENT |