Zedis: A blazing-fast, native Redis GUI built with Rust and GPUI.
This report presents the forensic synthetic code analysis of vicanso/zedis, a Rust project with 1,920 GitHub stars. SynthScan v2.0 examined 98,360 lines of code across 239 source files, recording 394 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 5.2 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 394 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bacon.toml | 21 | [jobs.clippy] | COMMENT |
| LOW | bacon.toml | 81 | # to have the cargo run output immediately displayed instead of waiting for | COMMENT |
| LOW | crates/zedis-db/src/key_metadata_manager.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/key_metadata_manager.rs | 21 | //! ```json | COMMENT |
| LOW | crates/zedis-db/src/error.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/favorites_manager.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/search_history_manager.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/lib.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/metrics_history.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/protos.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/scripts.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/scripts.rs | 21 | //! | COMMENT |
| LOW | crates/zedis-db/src/history_manager.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/lua_scripts.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/lua_scripts.rs | 41 | pub name: String, | COMMENT |
| LOW | crates/zedis-db/src/trash.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/trash.rs | 21 | //! `[u32 LE meta_len][meta_json][payload]` so listings can decode the | COMMENT |
| LOW | crates/zedis-db/src/recent_keys_manager.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-db/src/cmd_history_manager.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-ui/src/about.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-ui/src/divider.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-ui/src/lib.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-ui/src/dialog.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-ui/src/dialog.rs | 21 | type ZedisDialogOnOk = Rc<dyn Fn(&ClickEvent, &mut Window, &mut App) -> bool + 'static>; | COMMENT |
| LOW | crates/zedis-ui/src/loading.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-ui/src/select.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-ui/src/help.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-ui/src/card.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-ui/src/card.rs | 21 | type ZedisCardOnClick = Box<dyn Fn(&ClickEvent, &mut Window, &mut App) + 'static>; | COMMENT |
| LOW | crates/zedis-ui/src/card.rs | 41 | /// It supports an icon, title, description, action buttons, a footer, | COMMENT |
| LOW | crates/zedis-ui/src/card.rs | 61 | description: Option<SharedString>, | COMMENT |
| LOW | crates/zedis-ui/src/card.rs | 361 | COMMENT | |
| LOW | crates/zedis-ui/src/card.rs | 401 | }) | COMMENT |
| LOW | crates/zedis-ui/src/form.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-ui/src/form.rs | 381 | impl gpui::prelude::FluentBuilder for ZedisFormOptions {} | COMMENT |
| LOW | crates/zedis-ui/src/form.rs | 401 | /// ```ignore | COMMENT |
| LOW | crates/zedis-core/src/env.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/lib.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/fuzzy.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/jsonpath.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/jsonpath.rs | 61 | JsonPathOutcome::Multiple(format_value(&arr)) | COMMENT |
| LOW | crates/zedis-core/src/jsonpath.rs | 101 | // Pure, dependency-light logic so it is fully unit-testable without a | COMMENT |
| LOW | crates/zedis-core/src/string.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/string.rs | 21 | /// 2. **Unicode fallback**: Falls back to full Unicode lowercase comparison for non-ASCII | COMMENT |
| LOW | crates/zedis-core/src/ttl_cache.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/csv.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/fs.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/fs.rs | 61 | /// * `src` - Source directory path | COMMENT |
| LOW | crates/zedis-core/src/fs.rs | 141 | let dirs = UserDirs::new()?; | COMMENT |
| LOW | crates/zedis-core/src/fs.rs | 161 | /// - **Linux**: `~/.config/zedis/` or `$XDG_CONFIG_HOME/zedis/` | COMMENT |
| LOW | crates/zedis-core/src/diff.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/diff.rs | 21 | //! surface lean, matching the project's policy of preferring in-crate | COMMENT |
| LOW | crates/zedis-core/src/validate.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/hex.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/ttl.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/ttl.rs | 21 | const SECS_PER_HOUR: i64 = 3600; | COMMENT |
| LOW | crates/zedis-core/src/ttl.rs | 101 | /// Semantic classification of a key's TTL for chip rendering. The view | COMMENT |
| LOW | crates/zedis-core/src/capability.rs | 1 | // Copyright 2026 Tree xie. | COMMENT |
| LOW | crates/zedis-core/src/capability.rs | 21 | //! | COMMENT |
| LOW | crates/zedis-core/src/capability.rs | 41 | /// | COMMENT |
| 256 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/zedis-core/src/capability.rs | 47 | // ── Allowed in read-only (reads / local / pure UI) ─────────────── | COMMENT |
| MEDIUM | crates/zedis-core/src/capability.rs | 82 | // ── Denied in read-only (mutate Redis / server state) ──────────── | COMMENT |
| MEDIUM | crates/zedis-core/src/capability.rs | 226 | // ── reads / local: true ────────────────────────────────────── | COMMENT |
| MEDIUM | crates/zedis-core/src/capability.rs | 243 | // ── writes: false ──────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/app_store_build.sh | 26 | # ======================================= | COMMENT |
| MEDIUM | scripts/app_store_build.sh | 49 | # ======================================= | COMMENT |
| MEDIUM | scripts/app_store_build.sh | 51 | # ======================================= | COMMENT |
| MEDIUM | src/states/server/stream.rs | 36 | // ── XINFO / XPENDING parsing helpers ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/states/server/stream.rs | 90 | // ── Async fetch ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/states/server/stream.rs | 102 | // ── XINFO STREAM ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/states/server/stream.rs | 123 | // ── XINFO GROUPS ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/keyspace_notifications.rs | 138 | // ── Virtualized table delegate ─────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/keyspace_notifications.rs | 732 | // ── Render helpers ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/stream_editor.rs | 278 | // ─── Simple flat-data table delegate ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/stream_editor.rs | 352 | // ─── Stream editor ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/stream_editor.rs | 843 | // ── Stream summary card ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/stream_editor.rs | 897 | // ── Manage groups: header + create, then per-group actions ─────────── | COMMENT |
| MEDIUM | src/views/monitor.rs | 55 | // ── Parsed MONITOR line ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/monitor.rs | 151 | // ── Table delegate ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/monitor.rs | 437 | // ── Main view ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/persistence.rs | 95 | // ── Header ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/persistence.rs | 127 | // ── Banners ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/persistence.rs | 166 | // ── Status cards ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/persistence.rs | 290 | // ── Action cards ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/persistence.rs | 411 | // ── Confirm dialogs ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis.rs | 100 | // ─── Row types ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis.rs | 225 | // ─── Column constants ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis.rs | 238 | // ─── Helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis.rs | 298 | // ─── Main component ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/key_tag_dialog.rs | 310 | // ─── Batch tag (multi-select) ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/topology.rs | 290 | // ── Nodes tab (existing ops) ────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/topology.rs | 477 | // ── Slots tab ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/topology.rs | 631 | // ── Load tab ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/topology.rs | 757 | // ── Reshard tab ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/topology.rs | 996 | // ── Sentinel ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/topology.rs | 1090 | // ── Confirm dialogs (unchanged behaviour) ───────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis/rules.rs | 128 | // ─── Recommendations (offline rule engine) ─────────────────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis/stats.rs | 77 | // ─── Row builders ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis/stats.rs | 167 | // ─── TTL distribution ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis/stats.rs | 220 | // ─── Analysis status ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis/tables.rs | 98 | // ─── Prefix table delegate ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis/tables.rs | 287 | // ─── Single-key table delegate ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/views/memory_analysis/tables.rs | 453 | // ─── Accumulator ───────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/states/app.rs | 1335 | // Step 1: Update global state with the mutation | COMMENT |
| LOW⚡ | src/states/app.rs | 1341 | // Step 2: Persist to disk in background executor | COMMENT |
| LOW | src/states/app.rs | 1352 | // Step 3: Refresh windows to apply visual changes (theme/locale) | COMMENT |
| LOW | src/states/server/list.rs | 93 | // Step 1: Set status and perform optimistic UI update | COMMENT |
| LOW | src/states/server/list.rs | 104 | // Step 2: Spawn background task for Redis operation | COMMENT |
| LOW | src/states/server/list.rs | 117 | // Step 3: Handle error by rolling back the local state | COMMENT |
| LOW⚡ | src/states/server/set.rs | 134 | // Step 1: Perform local optimistic update | COMMENT |
| LOW⚡ | src/states/server/set.rs | 144 | // Step 2: Spawn background task | COMMENT |
| LOW⚡ | src/states/server/hash.rs | 191 | // Step 1: Perform local optimistic update | COMMENT |
| LOW⚡ | src/states/server/hash.rs | 201 | // Step 2: Spawn background task | COMMENT |
| LOW⚡ | src/views/key_tree/actions.rs | 112 | // Step 1: Update server state with new query mode | COMMENT |
| LOW⚡ | src/views/key_tree/actions.rs | 117 | // Step 2: Update local UI state | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/states/app.rs | 1335 | // Step 1: Update global state with the mutation | COMMENT |
| LOW⚡ | src/states/app.rs | 1341 | // Step 2: Persist to disk in background executor | COMMENT |
| LOW | src/states/app.rs | 1352 | // Step 3: Refresh windows to apply visual changes (theme/locale) | COMMENT |
| LOW | src/states/server/list.rs | 93 | // Step 1: Set status and perform optimistic UI update | COMMENT |
| LOW | src/states/server/list.rs | 104 | // Step 2: Spawn background task for Redis operation | COMMENT |
| LOW | src/states/server/list.rs | 117 | // Step 3: Handle error by rolling back the local state | COMMENT |
| LOW⚡ | src/states/server/set.rs | 134 | // Step 1: Perform local optimistic update | COMMENT |
| LOW⚡ | src/states/server/set.rs | 144 | // Step 2: Spawn background task | COMMENT |
| LOW⚡ | src/states/server/hash.rs | 191 | // Step 1: Perform local optimistic update | COMMENT |
| LOW⚡ | src/states/server/hash.rs | 201 | // Step 2: Spawn background task | COMMENT |
| LOW⚡ | src/views/key_tree/actions.rs | 112 | // Step 1: Update server state with new query mode | COMMENT |
| LOW⚡ | src/views/key_tree/actions.rs | 117 | // Step 2: Update local UI state | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/views/servers.rs | 1190 | /// can't be parsed. Date-only granularity (no time-of-day) keeps it robust to | COMMENT |
| MEDIUM | src/views/bytes_editor.rs | 581 | /// - No borders for seamless integration | COMMENT |
| LOW | src/views/config_doc.rs | 763 | r#"To enable logging to the system logger, just set 'syslog-enabled' to yes, and optionally update the other | CODE |
| MEDIUM | src/views/key_tree/delegate.rs | 599 | // slot above). Absolutely positioned (out of flow → no | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/gen-flatpak-sources.sh | 7 | # Usage: | COMMENT |
| LOW | scripts/screenshot.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/submit-winget.sh | 7 | # Usage: | COMMENT |
| LOW | scripts/submit-flathub.sh | 6 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/views/config_doc.rs | 89 | r#"LRU, LFU and minimal TTL algorithms are not precise algorithms but approximated algorithms (in order to s | CODE |
| MEDIUM | src/views/config_doc.rs | 1056 | r#"In the Redis protocol, bulk requests, that are, elements representing single strings, are normally limite | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/views/value_search.rs | 20 | //! That is `O(keyspace)` of reads, so it runs behind guardrails: | COMMENT |