A Text User Interface library for the Rust programming language
This report summarizes scanner evidence for gyscos/cursive, a Rust project with 4,856 GitHub stars. SynthScan examined 46,104 lines of code across 225 source files, recording 278 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 6.1 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 273 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 278 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 278 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 | cursive/examples/colors.rs | 1 | use cursive::Printer; | COMMENT |
| LOW | cursive/examples/builder.rs | 1 | use cursive::views::{BoxedView, Button, EditView, Panel, TextView}; | COMMENT |
| LOW | cursive/examples/assets/style.toml | 1 | # Every field in a theme file is optional. | COMMENT |
| LOW | cursive/src/cursive_runnable.rs | 81 | COMMENT | |
| LOW | cursive/src/cursive_runnable.rs | 121 | /// Used to manually control the event loop. In most cases, running | COMMENT |
| LOW | cursive/src/cursive_runnable.rs | 161 | COMMENT | |
| LOW | cursive/src/cursive_ext.rs | 1 | /// Extension trait for the `Cursive` root to simplify initialization. | COMMENT |
| LOW | cursive/src/cursive_ext.rs | 21 | /// #[cfg(feature = "termion-backend")] | COMMENT |
| LOW | cursive/src/cursive_ext.rs | 41 | fn run_ncurses(&mut self) -> std::io::Result<()>; | COMMENT |
| LOW | cursive/src/lib.rs | 1 | //! # Cursive | COMMENT |
| LOW | cursive/src/lib.rs | 21 | //! use cursive::{Cursive, CursiveExt}; | COMMENT |
| LOW | cursive/src/lib.rs | 41 | //! Cursive is callback-driven: it reacts to events generated by user input. | COMMENT |
| LOW | cursive/src/lib.rs | 81 | /// | COMMENT |
| LOW | cursive/src/backends/mod.rs | 1 | //! Define backends using common libraries. | COMMENT |
| LOW | cursive/src/backends/termion.rs | 41 | events: Events<File>, | COMMENT |
| LOW | cursive/src/backends/termion.rs | 61 | /// Permission is hereby granted, free of charge, to any person obtaining a copy | COMMENT |
| LOW | cursive/src/backends/curses/mod.rs | 101 | Color::Light(BaseColor::Yellow) => 11 % max_colors, | COMMENT |
| LOW | cursive-macros/src/lib.rs | 1 | use proc_macro::TokenStream; | COMMENT |
| LOW | cursive-macros/src/lib.rs | 21 | /// to be cloneable). | COMMENT |
| LOW | cursive-macros/src/lib.rs | 41 | /// constructor method. | COMMENT |
| LOW | cursive-macros/src/lib.rs | 61 | /// } | COMMENT |
| LOW | cursive-macros/src/lib.rs | 81 | COMMENT | |
| LOW | cursive-macros/src/builder/blueprint.rs | 641 | // Then, from the body, we can get: | COMMENT |
| LOW | cursive-macros/src/builder/callback_helper.rs | 281 | /// | COMMENT |
| LOW | cursive-macros/src/builder/callback_helper.rs | 301 | /// | COMMENT |
| LOW | cursive-macros/src/builder/callback_helper.rs | 321 | /// | COMMENT |
| LOW | cursive-macros/src/builder/callback_helper.rs | 341 | /// | COMMENT |
| LOW | cursive-core/src/logger.rs | 1 | //! Logging utilities. | COMMENT |
| LOW | cursive-core/src/logger.rs | 21 | /// | COMMENT |
| LOW | cursive-core/src/logger.rs | 121 | /// | COMMENT |
| LOW | cursive-core/src/direction.rs | 1 | //! Direction-related structures. | COMMENT |
| LOW | cursive-core/src/direction.rs | 21 | //! Usually, "front" refers to the "forward" direction, or the "next" | COMMENT |
| LOW | cursive-core/src/direction.rs | 81 | // } | COMMENT |
| LOW | cursive-core/src/direction.rs | 121 | COMMENT | |
| LOW | cursive-core/src/backend.rs | 1 | //! Define the backend trait for actual terminal interaction. | COMMENT |
| LOW | cursive-core/src/backend.rs | 21 | /// or termion, or it can entirely simulate a terminal and show it as a | COMMENT |
| LOW | cursive-core/src/backend.rs | 41 | /// | COMMENT |
| LOW | cursive-core/src/backend.rs | 61 | /// The next call to `print()` will start at this place. | COMMENT |
| LOW | cursive-core/src/xy.rs | 61 | /// Returns `f(self.x, self.y)` | COMMENT |
| LOW | cursive-core/src/xy.rs | 81 | /// | COMMENT |
| LOW | cursive-core/src/xy.rs | 101 | /// | COMMENT |
| LOW | cursive-core/src/xy.rs | 121 | /// Returns `None` otherwise. | COMMENT |
| LOW | cursive-core/src/xy.rs | 141 | /// # Examples | COMMENT |
| LOW | cursive-core/src/xy.rs | 161 | /// # use cursive_core::XY; | COMMENT |
| LOW | cursive-core/src/xy.rs | 181 | /// assert_eq!((x, y), (1, 2)); | COMMENT |
| LOW | cursive-core/src/xy.rs | 201 | /// let xy = XY::new(String::from("a"), String::from("bbb")); | COMMENT |
| LOW | cursive-core/src/xy.rs | 221 | /// let vec: Vec<bool> = xy.iter().map(|&i| i > 1).collect(); | COMMENT |
| LOW | cursive-core/src/xy.rs | 241 | Orientation::Horizontal => &self.x, | COMMENT |
| LOW | cursive-core/src/xy.rs | 261 | Orientation::Vertical => &mut self.y, | COMMENT |
| LOW | cursive-core/src/xy.rs | 281 | /// | COMMENT |
| LOW | cursive-core/src/xy.rs | 301 | /// # use cursive_core::XY; | COMMENT |
| LOW | cursive-core/src/xy.rs | 321 | /// # use cursive_core::XY; | COMMENT |
| LOW | cursive-core/src/xy.rs | 341 | COMMENT | |
| LOW | cursive-core/src/xy.rs | 361 | /// | COMMENT |
| LOW | cursive-core/src/xy.rs | 381 | /// | COMMENT |
| LOW | cursive-core/src/xy.rs | 401 | /// # use cursive_core::XY; | COMMENT |
| LOW | cursive-core/src/xy.rs | 421 | /// # use cursive_core::direction::Orientation; | COMMENT |
| LOW | cursive-core/src/xy.rs | 441 | /// ``` | COMMENT |
| LOW | cursive-core/src/xy.rs | 481 | } | COMMENT |
| LOW | cursive-core/src/xy.rs | 501 | COMMENT | |
| 210 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cursive/examples/assets/lorem.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sit amet porttitor ex. Vivamus ultricies nec massa eg | CODE |
| LOW | cursive/examples/assets/lorem.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sit amet porttitor ex. Vivamus ultricies nec massa eg | CODE |
| LOW | cursive/examples/assets/lorem.txt | 15 | Praesent dui lectus, commodo eget nulla ut, maximus facilisis ligula. Aliquam ultricies augue ac pellentesque pellentesq | CODE |
| LOW | cursive/examples/assets/lorem.txt | 15 | Praesent dui lectus, commodo eget nulla ut, maximus facilisis ligula. Aliquam ultricies augue ac pellentesque pellentesq | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cursive/src/backends/blt.rs | 280 | // TODO: implement this correctly. | COMMENT |
| LOW | cursive-macros/src/builder/callback_helper.rs | 403 | // TODO: implement it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cursive-core/src/views/linear_layout.rs | 991 | // ── Cache invalidation ─────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cursive-core/src/utils/lines/spans/chunk_iterator.rs | 97 | // We need to check if the last segment ended with a space. | COMMENT |