A scrollable-tiling Wayland compositor.
This report summarizes scanner evidence for niri-wm/niri, a Rust project with 28,795 GitHub stars. SynthScan examined 111,827 lines of code across 254 source files, recording 146 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.3 (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? 144 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? 146 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 146 distinct pattern matches across 3 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 | docs/wiki/Configuration:-Input.md | 21 | } | COMMENT |
| LOW | docs/wiki/Configuration:-Input.md | 41 | // scroll-factor vertical=1.0 horizontal=-2.0 | COMMENT |
| LOW | docs/wiki/Configuration:-Input.md | 61 | // scroll-button-lock | COMMENT |
| LOW | docs/wiki/Configuration:-Input.md | 81 | // accel-speed 0.2 | COMMENT |
| LOW | docs/hooks/shortcodes.py | 1 | # Copyright (c) 2016-2025 Martin Donath <martin.donath@squidfunk.com> | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1 | //! Types for communicating with niri via IPC. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 21 | //! | COMMENT |
| LOW | niri-ipc/src/lib.rs | 41 | //! | COMMENT |
| LOW | niri-ipc/src/lib.rs | 81 | FocusedOutput, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 101 | /// Start continuously receiving events from the compositor. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 121 | Casts, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 141 | Version(String), | COMMENT |
| LOW | niri-ipc/src/lib.rs | 181 | pub struct PickedColor { | COMMENT |
| LOW | niri-ipc/src/lib.rs | 221 | #[cfg_attr(feature = "clap", arg(short, long))] | COMMENT |
| LOW | niri-ipc/src/lib.rs | 241 | /// Write the screenshot to disk in addition to putting it in your clipboard. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 261 | /// Screenshot a window. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 281 | #[cfg_attr(feature = "clap", arg(short = 'p', long, action = clap::ArgAction::Set, default_value_t = false))] | COMMENT |
| LOW | niri-ipc/src/lib.rs | 321 | /// Id of the window to toggle windowed fullscreen of. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 341 | /// Focus the previously focused window. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 401 | /// Move the focused column to the end of the workspace. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 441 | /// Id of the window to consume or expel. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 481 | /// Focus the workspace above. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 501 | /// Move the focused window to the workspace above. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 521 | window_id: Option<u64>, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 541 | /// `false`, the focus will remain on the original workspace. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 561 | COMMENT | |
| LOW | niri-ipc/src/lib.rs | 601 | /// | COMMENT |
| LOW | niri-ipc/src/lib.rs | 721 | /// | COMMENT |
| LOW | niri-ipc/src/lib.rs | 741 | /// | COMMENT |
| LOW | niri-ipc/src/lib.rs | 761 | }, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 821 | DebugToggleDamage {}, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 841 | MoveWindowToTiling { | COMMENT |
| LOW | niri-ipc/src/lib.rs | 921 | /// Session ID of the screencast to stop. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 941 | /// Id of the window to set urgent. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1021 | Normal, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1041 | /// Mode to set, or "auto" for automatic selection. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1061 | hdisplay: u16, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1081 | vsync_end: u16, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1161 | PVSync, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1181 | #[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))] | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1241 | /// | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1281 | pub width: u32, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1301 | #[serde(rename = "180")] | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1321 | #[cfg_attr(feature = "clap", derive(clap::ValueEnum))] | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1341 | #[serde(rename = "16")] | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1361 | /// Process ID that created the Wayland connection for this window, if known. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1381 | /// | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1401 | /// | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1421 | /// The indices are 1-based, i.e. the leftmost column is at index 1 and the topmost tile in a | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1441 | /// the distance from the corner of the black backdrop to the corner of the (centered) window | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1461 | /// | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1481 | /// Can be `None` if no outputs are currently connected. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1521 | /// Keyboard interactivity modes for a layer-shell surface. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1541 | /// Layer that the surface is on. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1561 | pub kind: CastKind, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1581 | /// This is `None` for wlr-screencopy casts, and also for PipeWire casts before the node is | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1601 | /// Tools like wayvnc, wl-mirror, and the xdg-desktop-portal-wlr portal. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1621 | /// ID of the screencasted window. | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1641 | id: u64, | COMMENT |
| LOW | niri-ipc/src/lib.rs | 1661 | workspace_id: u64, | COMMENT |
| 82 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/tests/floating.rs | 311 | // Resize as requested. | COMMENT |
| HIGH | src/tests/floating.rs | 734 | // Resize as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/hooks/remove-must-fail.py | 1 | CODE | |
| LOW | docs/hooks/shortcodes.py | 21 | CODE |