A syntax-highlighting pager for git, diff, grep, rg --json, and blame output
This report summarizes scanner evidence for dandavison/delta, a Rust project with 32,619 GitHub stars. SynthScan examined 50,452 lines of code across 147 source files, recording 68 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.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-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 55 finding(s).
Are imports declared and package/API names verified? 11 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 68 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 68 distinct pattern matches across 5 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 | etc/examples/styles.py | 1 | # avocet avocet avocet avocet | COMMENT |
| LOW | src/paint.rs | 521 | state | COMMENT |
| LOW | src/wrapping.rs | 121 | StackEmpty, | COMMENT |
| LOW | src/main.rs | 61 | // Do this first because both parsing all the input in `run_app()` and | COMMENT |
| LOW | src/cli.rs | 41 | /// format section of the line (the background color is determined by blame-palette). E.g. | COMMENT |
| LOW | src/cli.rs | 61 | COMMENT | |
| LOW | src/cli.rs | 81 | #[arg( | COMMENT |
| LOW | src/cli.rs | 121 | #[arg( | COMMENT |
| LOW | src/cli.rs | 141 | COMMENT | |
| LOW | src/cli.rs | 161 | /// since the pager is started *after* the color is detected. | COMMENT |
| LOW | src/cli.rs | 181 | /// `git diff --no-index --color -U999 file_1 file_2 | delta`. | COMMENT |
| LOW | src/cli.rs | 201 | /// | COMMENT |
| LOW | src/cli.rs | 301 | /// See STYLES section. | COMMENT |
| LOW | src/cli.rs | 321 | )] | COMMENT |
| LOW | src/cli.rs | 401 | pub hunk_header_style: String, | COMMENT |
| LOW | src/cli.rs | 421 | pub hyperlinks: bool, | COMMENT |
| LOW | src/cli.rs | 461 | )] | COMMENT |
| LOW | src/cli.rs | 481 | COMMENT | |
| LOW | src/cli.rs | 581 | /// List supported languages and associated file extensions. | COMMENT |
| LOW | src/cli.rs | 601 | COMMENT | |
| LOW | src/cli.rs | 721 | /// | COMMENT |
| LOW | src/cli.rs | 801 | value_name = "STYLE" | COMMENT |
| LOW | src/cli.rs | 821 | /// Text to display with a changed file path. | COMMENT |
| LOW | src/cli.rs | 841 | #[arg(long = "show-syntax-themes")] | COMMENT |
| LOW | src/cli.rs | 861 | pub side_by_side: bool, | COMMENT |
| LOW | src/cli.rs | 901 | /// | COMMENT |
| LOW | src/cli.rs | 921 | pub tokenization_regex: String, | COMMENT |
| LOW | src/cli.rs | 941 | )] | COMMENT |
| LOW | src/edits.rs | 1 | use regex::Regex; | COMMENT |
| LOW | src/options/theme.rs | 1 | //! Delta doesn't have a formal concept of a "theme". What it has is | COMMENT |
| LOW | src/options/get.rs | 1 | use std::collections::HashMap; | COMMENT |
| LOW | src/options/set.rs | 301 | // The feature list comprises features deriving from the following sources, listed in order of | COMMENT |
| LOW | src/options/set.rs | 321 | // The "ordered descendents" of a feature `f` is a list of features obtained via a pre-order | COMMENT |
| LOW | src/subcommands/diff.rs | 101 | use std::io::Cursor; | COMMENT |
| LOW | src/ansi/console_tests.rs | 1 | // This file contains some unit tests copied from the `console` project: | COMMENT |
| LOW | src/ansi/mod.rs | 81 | } | COMMENT |
| LOW | src/ansi/mod.rs | 101 | /// calculating the width. If a double-width ("fullwidth") grapheme has to be cut, it is omitted and | COMMENT |
| LOW | src/features/side_by_side.rs | 421 | _ if panel_side == Left => (Some(BgFillMethod::Spaces), fill_style), | COMMENT |
| LOW | src/features/side_by_side.rs | 581 | // Panels in side-by-side mode always sum up to an even number, so when the terminal | COMMENT |
| LOW | src/features/mod.rs | 1 | use std::collections::HashMap; | COMMENT |
| LOW | src/features/hyperlinks.rs | 521 | .into(), | COMMENT |
| LOW | src/features/diff_line_metadata.rs | 1 | // Emit per-line diff metadata as an OSC sequence, so that a host application | COMMENT |
| LOW | src/features/diff_line_metadata.rs | 101 | COMMENT | |
| LOW | src/utils/helpwrap.rs | 1 | #![allow(clippy::comparison_to_empty)] // no_indent != "", instead of !no_indent.is_empty() | COMMENT |
| LOW | src/utils/bat/terminal.rs | 21 | 0x04 => Color::Blue, | COMMENT |
| LOW | src/handlers/grep.rs | 501 | COMMENT | |
| LOW | src/handlers/ripgrep_json.rs | 61 | } | COMMENT |
| LOW | src/handlers/ripgrep_json.rs | 81 | // "text": "fn" | COMMENT |
| LOW | src/handlers/mod.rs | 21 | /// `osc` is the `f` record to tag the row with (empty for none): whether | COMMENT |
| LOW | src/handlers/hunk_header.rs | 1 | // A module for constructing and writing the hunk header. | COMMENT |
| LOW | src/handlers/hunk_header.rs | 41 | Yes, | COMMENT |
| LOW | src/handlers/diff_header.rs | 201 | /// when no host negotiated emission. The path is selected exactly as the | COMMENT |
| LOW | src/handlers/diff_header.rs | 581 | // the case of a user with `diff.noprefix = true` who has directories named "a" or "b", which | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/format.rs | 371 | let regex = make_placeholder_regex(&["placeholder"]); | CODE |
| LOW⚡ | src/format.rs | 375 | placeholder: Some(Placeholder::Str("placeholder")), | CODE |
| LOW⚡ | src/format.rs | 385 | let regex = make_placeholder_regex(&["placeholder"]); | CODE |
| LOW⚡ | src/format.rs | 389 | placeholder: Some(Placeholder::Str("placeholder")), | CODE |
| LOW⚡ | src/format.rs | 398 | let regex = make_placeholder_regex(&["placeholder"]); | CODE |
| LOW⚡ | src/format.rs | 402 | placeholder: Some(Placeholder::Str("placeholder")), | CODE |
| LOW⚡ | src/format.rs | 410 | let regex = make_placeholder_regex(&["placeholder"]); | CODE |
| LOW⚡ | src/format.rs | 415 | placeholder: Some(Placeholder::Str("placeholder")), | CODE |
| LOW | src/format.rs | 430 | placeholder: Some(Placeholder::Str("placeholder")), | CODE |
| LOW | src/format.rs | 444 | let regex = make_placeholder_regex(&["placeholder"]); | CODE |
| LOW | src/format.rs | 449 | placeholder: Some(Placeholder::Str("placeholder")), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/handlers/hunk_header.rs | 17 | // ───────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | src/handlers/hunk_header.rs | 19 | // ───────────────────────────────────────────────────┘ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/handlers/mod.rs | 46 | // proposal for more robust parsing logic. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/cli.rs | 1159 | Options --line-numbers-left-format and --line-numbers-right-format allow you to change the contents of the line number c | CODE |