An unofficial desktop client for Jellyfin
This report summarizes scanner evidence for andrewrabert/jellium-desktop, a Rust project with 1,876 GitHub stars. SynthScan examined 76,673 lines of code across 351 source files, recording 96 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? 96 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 96 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 96 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 | src/gpu_paint/src/types.rs | 21 | }, | COMMENT |
| LOW | src/gpu_paint/src/painter.rs | 21 | /// How a surface chooses its swapchain extent. | COMMENT |
| LOW | src/gpu_paint/src/painter.rs | 101 | } | COMMENT |
| LOW | src/gpu_paint/src/painter.rs | 141 | // Persistent upload texture sized to the swapchain. Recreated on | COMMENT |
| LOW | src/gpu_paint/src/painter.rs | 161 | // import is not a cache hit, so it can never sample a stale texture. | COMMENT |
| LOW | src/gpu_paint/src/painter.rs | 321 | /// Store a new target size. | COMMENT |
| LOW | src/gpu_paint/src/painter.rs | 341 | /// On dx12 the swapchain is bound to the composition visual *inside* | COMMENT |
| LOW | src/gpu_paint/src/painter.rs | 661 | /// The swapchain had no texture this cycle. The surface is fine, the frame | COMMENT |
| LOW | src/gpu_paint/src/error.rs | 1 | use crate::FrameSize; | COMMENT |
| LOW | src/gpu_paint/src/lib.rs | 1 | //! The only place in the process that knows wgpu exists. | COMMENT |
| LOW | src/gpu_paint/src/swapchain.rs | 1 | //! A swapchain the caller draws into itself. | COMMENT |
| LOW | src/gpu_paint/src/context.rs | 61 | AlphaSource::Straight => &self.pipeline_premultiplied, | COMMENT |
| LOW | src/gpu_paint/src/shared_texture.rs | 1 | //! A CEF accelerated-paint texture, selected statically per platform. | COMMENT |
| LOW | src/gpu_paint/src/shared/mod.rs | 1 | //! Importing CEF's shared-texture frames, and the device selection that makes | COMMENT |
| LOW | src/gpu_paint/src/shared/mod.rs | 21 | pub use backend::ProducerId; | COMMENT |
| LOW | src/compositor_core/src/transition.rs | 1 | //! Fullscreen/resize transition gate. | COMMENT |
| LOW | src/compositor_core/src/transition.rs | 21 | //! [`end`]: TransitionGate::end | COMMENT |
| LOW | src/compositor_core/src/lib.rs | 1 | //! Pure, host-testable compositor bookkeeping for the backends that cannot be | COMMENT |
| LOW | src/compositor_core/src/stack.rs | 1 | //! Per-surface registry: the bottom-to-top stacking order plus | COMMENT |
| LOW | src/windows_sink/src/lib.rs | 1 | //! Windows SystemMediaTransportControls (SMTC) sink. The shared | COMMENT |
| LOW | src/macos/src/backend.rs | 21 | // ===================================================================== | COMMENT |
| LOW | src/macos/src/backend.rs | 201 | jfn_mpv_toggle_fullscreen(); | COMMENT |
| LOW | src/macos/src/backend.rs | 261 | /// Wakeup hook to install with `mpv_set_wakeup_callback`. Bridges mpv's | COMMENT |
| LOW | src/macos/src/backend.rs | 421 | // - the surface stack (bottom-to-top, set by macos_apply_stack) | COMMENT |
| LOW | src/macos/src/compositor.rs | 1 | //! `CAMetalLayer`-based per-surface compositor. | COMMENT |
| LOW | src/macos/src/compositor.rs | 81 | } | COMMENT |
| LOW | src/macos/src/mpv_host.rs | 1 | //! macOS [`MpvHost`]: pre-create environment (bundle marker, MoltenVK | COMMENT |
| LOW | src/macos/src/init.rs | 41 | /// macos_init through macos_cleanup. | COMMENT |
| LOW | src/macos/src/init.rs | 261 | // ===================================================================== | COMMENT |
| LOW | src/macos/src/init.rs | 641 | use crate::macos_pump_block; | COMMENT |
| LOW | src/jellyfin/src/lib.rs | 1 | //! Jellyfin DeviceProfile JSON builder. | COMMENT |
| LOW | src/jellyfin/src/lib.rs | 61 | // this list (StreamBuilder keeps profile order; StreamingHelpers takes the | COMMENT |
| LOW | src/input/src/route.rs | 41 | /// What the shell overlay owns at `p`. Grips win over the bar at overlaps. | COMMENT |
| LOW | src/input/src/scroll.rs | 1 | //! Coalescing scroll accumulator. | COMMENT |
| LOW | src/input/src/sink.rs | 41 | fn paste(&self); | COMMENT |
| LOW | src/color/src/theme.rs | 1 | //! Window-scoped theme color tracker. | COMMENT |
| LOW | src/wake_event/src/lib.rs | 1 | //! Cross-platform one-shot event for waking poll()/WaitForMultipleObjects(). | COMMENT |
| LOW | src/platform_abi/src/lib.rs | 1 | //! `Platform` trait + global handle held by `jfn_app_main`. | COMMENT |
| LOW | src/platform_abi/src/lib.rs | 61 | pub use visibility::{Ack, Visibility, VisibilityCommit}; | COMMENT |
| LOW | src/platform_abi/src/lib.rs | 481 | s: SurfaceHandle, | COMMENT |
| LOW | src/platform_abi/src/lib.rs | 961 | } | COMMENT |
| LOW | src/platform_abi/src/mpv_host.rs | 1 | //! How the platform hosts mpv: pre-create environment, host-window | COMMENT |
| LOW | src/platform_abi/src/cef_host.rs | 1 | //! How the platform drives CEF's message loop. | COMMENT |
| LOW | src/platform_abi/src/geometry.rs | 1 | //! Window-geometry value types + on-screen clamping. | COMMENT |
| LOW | src/platform_abi/src/menu.rs | 161 | COMMENT | |
| LOW | src/platform_abi/src/media_sink.rs | 1 | //! OS media-session integration (MPRIS / MPNowPlaying / SMTC). | COMMENT |
| LOW | src/jfn_cef/src/runtime.rs | 21 | source: std::io::Error, | COMMENT |
| LOW | src/jfn_cef/src/ffi.rs | 21 | // the program name; no jfn CLI flag is ever in there. | COMMENT |
| LOW | src/jfn_cef/src/business_common.rs | 1 | //! Shared helpers for the three `business_*` modules. | COMMENT |
| LOW | src/jfn_cef/src/client_impl/os_ffi.rs | 1 | //! Per-OS CEF handler-callback signature types. Each must match the native | COMMENT |
| LOW | src/jfn_cef/src/client/accel.rs | 1 | //! The CEF ABI boundary for accelerated-paint frames. | COMMENT |
| LOW | src/jfn_cef/src/web_overlay/size.rs | 1 | //! What the web overlay is sized to. | COMMENT |
| LOW | src/mpris/src/projection.rs | 1 | //! MPRIS Player projection rules — every derived-field rule behind the | COMMENT |
| LOW | src/wayland/src/layer_actor.rs | 361 | COMMENT | |
| LOW | src/wayland/src/wl_state.rs | 1 | //! Wayland surface / present / transition state, driven through the | COMMENT |
| LOW | src/wayland/src/make_platform.rs | 1 | //! Wayland backend impl of [`jfn_platform_abi::Platform`]. | COMMENT |
| LOW | src/wayland/src/lifecycle.rs | 1 | //! Wayland-backend `Platform::init` / `Platform::cleanup` body. | COMMENT |
| LOW | src/linux_util/src/dmabuf_probe.rs | 61 | *const egl::Int, | COMMENT |
| LOW | src/jfn_rust/build.rs | 1 | //! Build-script hooks for the jellium-desktop binary. | COMMENT |
| LOW | src/jfn_rust/build.rs | 21 | // requiring LD_LIBRARY_PATH at runtime. | COMMENT |
| 34 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/wayland/src/paint_override.rs | 1 | //! Which paint path to use, as requested on the command line. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/web/mpv-video-player.js | 2 | function getMediaStreamAudioTracks(mediaSource) { | CODE |