⚡️A native, local-first alternative to Logitech Options+, written in Rust 🦀 — remap buttons, DPI, and SmartShift over HID++. No account, no telemetry.
This report presents the forensic synthetic code analysis of AprilNEA/OpenLogi, a Rust project with 17,460 GitHub stars. SynthScan v2.0 examined 150,038 lines of code across 600 source files, recording 707 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 5.5 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 707 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 | prek.toml | 61 | COMMENT | |
| LOW | release-plz.toml | 1 | # release-plz configuration — https://release-plz.dev/docs/config | COMMENT |
| LOW | packaging/linux/install.sh | 1 | #!/bin/sh | COMMENT |
| LOW | crates/openlogi-ui/src/catalog_parity.rs | 1 | //! Key parity for the shared locale catalogs in `locales/`. | COMMENT |
| LOW | crates/openlogi-ui/src/action_icons.rs | 1 | //! The vendored Actions Ring glyphs, as a GPUI [`AssetSource`]. | COMMENT |
| LOW | crates/openlogi-ui/src/color.rs | 1 | //! The brand accent — the one colour both GPUI processes paint with. | COMMENT |
| LOW | crates/openlogi-ui/src/lib.rs | 1 | //! Presentation code shared by OpenLogi's two GPUI processes: the settings app | COMMENT |
| LOW | crates/openlogi-overlay/src/session.rs | 61 | } | COMMENT |
| LOW | crates/openlogi-overlay/src/agent.rs | 121 | )] | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver.rs | 1 | //! Implements the different HID++ wireless receivers. | COMMENT |
| LOW | crates/openlogi-hidpp/src/feature.rs | 81 | /// Implemented by a feature's event enum. [`EventSource::attach`] calls | COMMENT |
| LOW | crates/openlogi-hidpp/src/feature.rs | 261 | bitflags::bitflags! { | COMMENT |
| LOW | crates/openlogi-hidpp/src/feature.rs | 281 | const ENGINEERING = 1 << 5; | COMMENT |
| LOW | crates/openlogi-hidpp/src/device.rs | 81 | #[must_use] | COMMENT |
| LOW | crates/openlogi-hidpp/src/device.rs | 201 | /// report used to consume the caller's entire probe budget and abort | COMMENT |
| LOW | crates/openlogi-hidpp/src/channel.rs | 81 | #[must_use] | COMMENT |
| LOW | crates/openlogi-hidpp/src/channel.rs | 321 | COMMENT | |
| LOW | crates/openlogi-hidpp/src/channel.rs | 401 | self.send_with_timeout(msg, response_predicate, SEND_RESPONSE_TIMEOUT) | COMMENT |
| LOW | crates/openlogi-hidpp/src/protocol.rs | 21 | /// | COMMENT |
| LOW | crates/openlogi-hidpp/src/lib.rs | 1 | //! An implementation of Logitech's HID++ protocol. | COMMENT |
| LOW | crates/openlogi-hidpp/src/lib.rs | 21 | //! understanding of how things work. It's a great project perfectly usable to | COMMENT |
| LOW | crates/openlogi-hidpp/src/lib.rs | 41 | //! ## Initialize HID++ communication | COMMENT |
| LOW | crates/openlogi-hidpp/src/lib.rs | 61 | //! | COMMENT |
| LOW | crates/openlogi-hidpp/src/lib.rs | 81 | //! was found"); | COMMENT |
| LOW | crates/openlogi-hidpp/src/lib.rs | 101 | //! We can now initialize it: | COMMENT |
| LOW | crates/openlogi-hidpp/src/lib.rs | 121 | //! .expect("FeatureSet feature is not supported"); | COMMENT |
| LOW | crates/openlogi-hidpp/src/protocol/v20.rs | 161 | COMMENT | |
| LOW | crates/openlogi-hidpp/src/protocol/v20.rs | 181 | /// Invalid feature index. | COMMENT |
| LOW | crates/openlogi-hidpp/src/protocol/v10.rs | 261 | COMMENT | |
| LOW | crates/openlogi-hidpp/src/protocol/v10.rs | 281 | /// [`Self::Error`]). | COMMENT |
| LOW | crates/openlogi-hidpp/src/protocol/v10.rs | 341 | /// This error is returned by the receiver when a HID++ command has been | COMMENT |
| LOW | crates/openlogi-hidpp/src/channel/message.rs | 21 | /// Please check | COMMENT |
| LOW | crates/openlogi-hidpp/src/channel/error.rs | 21 | /// Indicates that the channel in question does not support HID++. | COMMENT |
| LOW | crates/openlogi-hidpp/src/channel/error.rs | 41 | /// [`HidppChannel::send_with_timeout`](super::HidppChannel::send_with_timeout) | COMMENT |
| LOW | crates/openlogi-hidpp/src/channel/raw.rs | 21 | COMMENT | |
| LOW | crates/openlogi-hidpp/src/channel/raw.rs | 41 | /// | COMMENT |
| LOW | crates/openlogi-hidpp/src/channel/raw.rs | 61 | /// Whether the underlying device connection is still usable. | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt.rs | 1 | //! Implements the Logi Bolt receiver. | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt.rs | 41 | Notifications = 0x00, | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt.rs | 61 | /// | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt.rs | 421 | /// Represents information about a paired device. | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/unifying.rs | 21 | }; | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/unifying.rs | 41 | ReceiverInfo = 0xb5, | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/unifying.rs | 141 | /// | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/unifying.rs | 301 | /// Represents information about a paired device as read from the pairing | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/unifying.rs | 321 | /// The encoding matches Bolt for values 1–4; from 5 onwards Unifying uses a | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/unifying.rs | 341 | /// Remote-control device. | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/unifying.rs | 361 | pub encrypted: bool, | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt/event.rs | 1 | //! The notifications a Bolt receiver broadcasts, and their decoding. | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt/event.rs | 161 | /// | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt/event.rs | 181 | COMMENT | |
| LOW | crates/openlogi-hidpp/src/receiver/bolt/event.rs | 201 | kind: DeviceKind, | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt/event.rs | 221 | /// | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt/event.rs | 241 | /// | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt/event.rs | 261 | COMMENT | |
| LOW | crates/openlogi-hidpp/src/receiver/bolt/event.rs | 301 | #[cfg_attr(feature = "serde", derive(serde::Serialize))] | COMMENT |
| LOW | crates/openlogi-hidpp/src/receiver/bolt/event.rs | 321 | /// Touchpad device. | COMMENT |
| LOW | crates/openlogi-hidpp/src/feature/mouse_pointer.rs | 1 | //! Implements the `MousePointer` feature (ID `0x2200`) that reports a mouse's | COMMENT |
| LOW | crates/openlogi-hidpp/src/feature/mouse_pointer.rs | 21 | /// A low acceleration curve. | COMMENT |
| LOW | crates/openlogi-hidpp/src/feature/mouse_pointer.rs | 41 | /// The acceleration curve the device suggests. | COMMENT |
| 592 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packaging/linux/nfpm.yaml | 23 | # ── binaries ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packaging/linux/nfpm.yaml | 44 | # ── udev rules ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packaging/linux/nfpm.yaml | 50 | # ── systemd user unit ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packaging/linux/nfpm.yaml | 56 | # ── XDG desktop entry ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packaging/linux/nfpm.yaml | 62 | # ── icon ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packaging/linux/uninstall.sh | 29 | # ── stop and disable the agent ──────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packaging/linux/uninstall.sh | 45 | # ── remove binaries ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packaging/linux/uninstall.sh | 51 | # ── udev rules ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packaging/linux/uninstall.sh | 61 | # ── systemd user unit ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packaging/linux/uninstall.sh | 66 | # ── desktop entry + icon ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packaging/linux/install.sh | 61 | # ── locate build output ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packaging/linux/install.sh | 76 | # ── install binaries ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packaging/linux/install.sh | 84 | # ── udev rules ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packaging/linux/install.sh | 98 | # ── systemd user unit ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packaging/linux/install.sh | 119 | # ── desktop entry ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packaging/linux/install.sh | 125 | # ── icon ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-hook/src/linux.rs | 532 | // ── frontmost_app_id ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-hook/src/linux.rs | 745 | // ── key_to_button ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-hook/src/linux.rs | 774 | // ── translate ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-hook/src/linux.rs | 841 | // ── movement ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-hook/src/linux.rs | 867 | // ── scroll — standard ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-hook/src/linux.rs | 891 | // ── scroll — hi-res ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-hook/src/linux.rs | 948 | // ── is_hookable_mouse ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-inject/src/inject/linux.rs | 592 | // ── D-Bus helpers ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-camera/src/uvc.rs | 262 | // ── AVFoundation unique-id → USB location id ───────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/action.rs | 24 | // ── System ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/action.rs | 29 | // ── Mouse ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/action.rs | 45 | // ── Editing ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/action.rs | 68 | // ── Browser / Navigation ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/action.rs | 86 | // ── Navigation / Window ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/action.rs | 100 | // ── System ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/action.rs | 115 | // ── Media ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | crates/openlogi-core/src/binding/action.rs | 129 | // ── DPI ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | crates/openlogi-core/src/binding/action.rs | 138 | // ── Scroll ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | crates/openlogi-core/src/binding/action.rs | 148 | // ── Custom ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | crates/openlogi-core/src/binding/action.rs | 157 | // ── System (appended) ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/swipe.rs | 158 | // ── Gesture classification ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/swipe.rs | 213 | // ── SwipeAccumulator (the shared mid-swipe state machine) ───────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/tests.rs | 19 | // ── Catalog tests ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/tests.rs | 137 | // ── Binding (merged model) serde routing ────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/tests.rs | 264 | // ── TOML roundtrip ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/tests.rs | 403 | // ── Category tests ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/tests.rs | 476 | // ── Category label smoke test ───────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/tests.rs | 495 | // ── Default binding ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/openlogi-core/src/binding/tests.rs | 536 | // ── Effect classification ───────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | crates/openlogi-camera/src/uvc_windows.rs | 438 | Some(value.Anonymous.Anonymous.Anonymous.bstrVal.to_string()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/openlogi-hidpp-derive/src/lib.rs | 204 | /// path (fields are always written unqualified, but this is robust either | COMMENT |
| MEDIUM | crates/openlogi-desktop/src/services/i18n.rs | 48 | /// separate `#[test]`s would race under the parallel harness. Tests that | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/linux/uninstall.sh | 6 | # Usage: | COMMENT |
| LOW | packaging/linux/install.sh | 8 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/release.yml | 323 | # Create the draft, upload assets to it, then publish — all in one step. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/i18n/merge_crowdin_download.py | 199 | def test_sparse_download_keeps_parity_and_accepts_real_updates(self) -> None: | CODE |
| LOW | .github/scripts/i18n/merge_crowdin_download.py | 252 | def test_english_fill_in_does_not_clobber_real_translations(self) -> None: | CODE |
| LOW | .github/scripts/i18n/merge_crowdin_download.py | 303 | def test_english_only_export_restores_git_values(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/i18n/merge_crowdin_download.py | 17 | CODE |