Fullstack app framework for web, desktop, and mobile.
This report presents the forensic synthetic code analysis of DioxusLabs/dioxus, a Rust project with 36,712 GitHub stars. SynthScan v2.0 examined 196,339 lines of code across 1200 source files, recording 853 pattern matches distributed across 12 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 853 distinct pattern matches across 12 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 | notes/architecture/11-NATIVE-PLUGIN-FFI.md | 41 | ## Phase 1: The Macro | COMMENT |
| LOW | examples/01-app-demos/todomvc_store.rs | 1 | //! The typical TodoMVC app, implemented in Dioxus with stores. Stores let us | COMMENT |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy | COMMENT |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 21 | COMMENT | |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 41 | /// | COMMENT |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 81 | /// Accuracy level of the latitude and longitude coordinates in meters. | COMMENT |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 101 | pub coords: Coordinates, | COMMENT |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 1 | #![allow(non_snake_case)] | COMMENT |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 21 | // Note: Permissions are now declared in Dioxus.toml using the unified manifest system. | COMMENT |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 41 | /// | COMMENT |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 141 | // ========================================================================= | COMMENT |
| LOW | …rc/ios/widget/Sources/LocationActivityAttributes.swift | 1 | // Shared ActivityAttributes for Live Activities | COMMENT |
| LOW | …rc/ios/plugin/Sources/LocationActivityAttributes.swift | 1 | // Shared ActivityAttributes for Live Activities | COMMENT |
| LOW | examples/08-apis/logging.rs | 1 | //! Dioxus ships out-of-the-box with tracing hooks that integrate with the Dioxus-CLI. | COMMENT |
| LOW | examples/09-reference/rsx_usage.rs | 1 | //! A tour of the rsx! macro | COMMENT |
| LOW | examples/09-reference/rsx_usage.rs | 21 | //! | COMMENT |
| LOW | examples/06-routing/hash_fragment_state.rs | 1 | //! This example shows how to use the hash segment to store state in the url. | COMMENT |
| LOW | examples/06-routing/router.rs | 21 | COMMENT | |
| LOW | examples/06-routing/router.rs | 41 | #[route("/:name")] | COMMENT |
| LOW | examples/06-routing/query_segment_search.rs | 1 | //! This example shows how to access and use query segments present in an url on the web. | COMMENT |
| LOW | examples/07-fullstack/handling_errors.rs | 1 | //! An example of handling errors from server functions. | COMMENT |
| LOW | examples/07-fullstack/streaming_file_upload.rs | 21 | // Dioxus provides the `FileStream` type for efficiently uploading files in a streaming fashion. | COMMENT |
| LOW | examples/07-fullstack/server_sent_events.rs | 1 | //! This example demonstrates server-sent events (SSE) using Dioxus Fullstack. | COMMENT |
| LOW | examples/07-fullstack/custom_axum_serve.rs | 1 | //! This example demonstrates how to use `dioxus::serve` with a custom Axum router. | COMMENT |
| LOW | examples/07-fullstack/websocket.rs | 1 | //! This example showcases the built-in websocket functionality in Dioxus Fullstack. | COMMENT |
| LOW | examples/07-fullstack/streaming.rs | 1 | //! This example shows how to use the `Streaming<T, E>` type to send streaming responses from the | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 1 | //! This example is a simple showcase of Dioxus Server Functions. | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 21 | //! RPC functions but also complex extractors for things like auth, sessions, cookies, and more. | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 41 | //! | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 61 | //! | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 81 | //! #[post("/api/authenticate", auth: AuthCookie)] | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 101 | //! Middleware will be applied in the order they are specified, and will be applied before any | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 201 | room_id.map_or("None".to_string(), |id| id.to_string()), | COMMENT |
| LOW | examples/07-fullstack/auth/src/main.rs | 1 | //! This example showcases how to use the `axum-session-auth` crate with Dioxus fullstack. | COMMENT |
| LOW | examples/07-fullstack/hello-world/src/main.rs | 1 | //! A simple hello world example for Dioxus fullstack | COMMENT |
| LOW | examples/07-fullstack/ssr-only/src/main.rs | 1 | //! This example showcases how to use Fullstack in a server-side rendering only context. | COMMENT |
| LOW | examples/03-assets-styling/fonts.rs | 1 | //! Loading fonts — from a CDN and bundled with the app. | COMMENT |
| LOW | packages/interpreter/src/ts/native.ts | 561 | // This function sends the event to the virtualdom and then waits for the virtualdom to process it | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 1 | use proc_macro::TokenStream; | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 21 | /// ### Structs | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 41 | /// // that returns a store scoped to that field. | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 61 | /// | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 81 | /// // The store macro creates an extension trait with methods for each variant to check | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 121 | } | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 141 | /// | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 161 | /// // with ReadStore<TodoItem> | COMMENT |
| LOW | packages/asset-resolver/src/native.rs | 141 | /// Get the asset directory, following tauri/cargo-bundles directory discovery approach | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 1 | #![warn(missing_docs)] | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 21 | //! // Bundle the static JSON asset into the application | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 41 | /// An error that can occur when resolving an asset to a path. Not all platforms can represent assets as paths, | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 61 | /// | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 81 | /// // Deserialize the JSON data | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 101 | /// // Read the bytes of the JSON asset | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 121 | #[non_exhaustive] | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 141 | /// This function will return an error if the asset cannot be found or if it fails to read which may be due to I/O error | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 161 | /// | COMMENT |
| LOW | packages/fullstack-server/src/redirect.rs | 1 | use std::sync::OnceLock; | COMMENT |
| LOW | packages/fullstack-server/src/index_html.rs | 1 | use anyhow::Context; | COMMENT |
| LOW | packages/fullstack-server/src/config.rs | 101 | /// use dioxus::prelude::*; | COMMENT |
| LOW | packages/fullstack-server/src/config.rs | 121 | /// | COMMENT |
| 728 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/cli/src/serve/server.rs | 473 | for proxy_config in build.build.config.web.proxy.iter() { | CODE |
| CRITICAL | packages/cli/src/serve/runner.rs | 197 | client.build.config.application.tailwind_input.clone(), | CODE |
| CRITICAL | packages/cli/src/serve/runner.rs | 198 | client.build.config.application.tailwind_output.clone(), | CODE |
| CRITICAL | packages/cli/src/serve/runner.rs | 1714 | self.client.build.config.application.tailwind_input.clone(), | CODE |
| CRITICAL | packages/cli/src/serve/runner.rs | 1715 | self.client.build.config.application.tailwind_output.clone(), | CODE |
| CRITICAL | packages/cli/src/bundler/mod.rs | 233 | self.build.config.bundle.publisher.as_deref() | CODE |
| CRITICAL | packages/cli/src/bundler/mod.rs | 254 | self.build.config.bundle.long_description.as_deref() | CODE |
| CRITICAL | packages/cli/src/bundler/mod.rs | 259 | self.build.config.bundle.copyright.as_deref() | CODE |
| CRITICAL | packages/cli/src/bundler/mod.rs | 294 | self.build.config.bundle.category.as_deref() | CODE |
| CRITICAL⚡ | packages/cli/src/bundler/mod.rs | 415 | self.build.config.bundle.deb.clone().unwrap_or_default() | CODE |
| CRITICAL⚡ | packages/cli/src/bundler/mod.rs | 420 | self.build.config.bundle.macos.clone().unwrap_or_default() | CODE |
| CRITICAL⚡ | packages/cli/src/bundler/mod.rs | 425 | self.build.config.bundle.windows.clone().unwrap_or_default() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | packages/playwright-tests/wasm-split-harness/run.sh | 4 | # To hack on harness you need the `wasm-tools` CLI installed | COMMENT |
| MEDIUM⚡ | packages/playwright-tests/wasm-split-harness/run.sh | 7 | # This script is also sensitive to where it's run from, so you *need* to be in the harness folder (running as `./run.sh` | COMMENT |
| MEDIUM⚡ | packages/playwright-tests/wasm-split-harness/run.sh | 11 | # build the harness | COMMENT |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 36 | # copy the output wasm file to the harness dir | COMMENT |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 57 | # wasm-tools strip data/harness/split/$path -o data/harness/split/$path --all | COMMENT |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 73 | # wasm-tools strip data/harness/split/$path -o strip data/harness/split_not/main_bg_opt.wasm --all | COMMENT |
| MEDIUM | packages/desktop/Cargo.toml | 125 | # These tests need to be run on the main thread, so they cannot use rust's test harness. | COMMENT |
| MEDIUM | packages/cli/src/test_harnesses.rs | 211 | .asrt(r#"dx build @client --package harness-simple-dedicated-client @server --package harness-simple-dedicat | CODE |
| MEDIUM | packages/cli/src/test_harnesses.rs | 219 | .asrt(r#"dx build @client --package harness-simple-dedicated-client @server --package harness-simple-dedicat | CODE |
| MEDIUM | packages/cli/src/config/inline_config.rs | 75 | // more robust, but this handles the common case) | COMMENT |
| MEDIUM | packages/rsx/src/component.rs | 3 | //! Uses the regular robust RsxBlock parser and then validates the component, emitting errors as | COMMENT |
| LOW | .github/workflows/publish.yml | 133 | # Todo: we want `cargo install dx` to actually just use a prebuilt binary instead of building it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/subsecond/subsecond/src/lib.rs | 597 | // ── HOST-STATE-MUTATING SECTION ─────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/main.yml | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/main.yml | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/main.yml | 62 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/main.yml | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/main.yml | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/main.yml | 94 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/06-routing/flat_router.rs | 59 | p { "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW | examples/06-routing/flat_router.rs | 59 | p { "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW | examples/07-fullstack/through_reqwest.rs | 45 | name: "John Doe".into(), | CODE |
| LOW | examples/07-fullstack/websocket.rs | 31 | let mut name = use_signal(|| "John Doe".to_string()); | CODE |
| LOW | packages/interpreter/src/unified_bindings.rs | 75 | "{let node = document.createComment('placeholder'); this.stack.push(node); this.nodes[$id$] = node;}" | CODE |
| LOW | packages/interpreter/src/unified_bindings.rs | 152 | "{let node = document.createComment('placeholder'); this.stack.push(node);}" | CODE |
| LOW | packages/interpreter/src/js/core.js | 1 | function setAttributeInner(node,field,value,ns){if(ns==="style"){node.style.setProperty(field,value);return}if(ns){node. | CODE |
| LOW | packages/interpreter/src/ts/core.ts | 262 | const placeholderSplit = id.split("placeholder"); | CODE |
| LOW | packages/web/src/mutations.rs | 47 | let placeholder = self.document.create_comment("placeholder"); | CODE |
| LOW | …t-tests/cli-optimization/assets/sweetalert2.all.min.js | 5 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/rsx-hotreload/src/last_build_state.rs | 146 | } // If it is a dynamic segment, we need to check if it exists in the formatted segments pool | CODE |
| LOW | packages/core/src/diff/component.rs | 49 | // If there are suspended scopes, we need to check if the scope is suspended before we diff it | COMMENT |
| LOW | packages/core/src/diff/component.rs | 75 | // If there are suspended scopes, we need to check if the scope is suspended before we diff it | COMMENT |
| LOW | packages/stores/src/impls/btreemap.rs | 138 | // to mark only the existing value as dirty. Instead we need to check if the value already exists | COMMENT |
| LOW | packages/core-macro/src/props/mod.rs | 698 | // If this is an optional event handler, we need to check if it's None before we try to update it | COMMENT |
| LOW | packages/cli/src/serve/runner.rs | 377 | // If the build is ready, we need to check if we need to pre-render with ssg | COMMENT |
| LOW | packages/hooks/src/use_after_suspense_resolved.rs | 8 | // If this is under a suspense boundary, we need to check if it is resolved | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/signals/src/write.rs | 46 | /// NOTE: This method is completely safe because borrow checking is done at runtime. | COMMENT |
| LOW | packages/signals/src/write.rs | 285 | /// NOTE: This method is completely safe because borrow checking is done at runtime. | COMMENT |
| LOW | packages/signals/src/read.rs | 50 | /// NOTE: This method is completely safe because borrow checking is done at runtime. | COMMENT |
| LOW | packages/signals/src/read.rs | 60 | /// NOTE: This method is completely safe because borrow checking is done at runtime. | COMMENT |
| LOW | packages/signals/src/read.rs | 98 | /// NOTE: This method is completely safe because borrow checking is done at runtime. | COMMENT |
| LOW | packages/router/src/routable.rs | 633 | /// NOTE: This method must parse the output of `ToRouteSegments::display_route_segments` into the type `Self`. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/desktop/src/hooks.rs | 90 | /// The callback takes a path as requested by the web view, and it should return `Some(response)` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/07-fullstack/login_form.rs | 70 | /// A static session ID for demonstration purposes. This forces all previous logins to be invalidated | COMMENT |
| MEDIUM | packages/html/src/attribute_groups.rs | 219 | #[deprecated(note = "This attribute does nothing. For most renderers, you should prefer calling [`dioxus_core::Event | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/interpreter/src/js/native.js | 1 | function serializeEvent(event,target){let contents={},extend=(obj)=>contents={...contents,...obj};if(event instanceof Wh | CODE |
| LOW | packages/interpreter/src/ts/native.ts | 566 | function handleVirtualdomEventSync( | CODE |
| LOW | packages/interpreter/src/ts/serialize.ts | 131 | function toSerializableResizeObserverSize( | CODE |
| LOW | packages/interpreter/src/ts/serialize.ts | 141 | export function serializeResizeEventDetail( | CODE |
| LOW | packages/interpreter/src/ts/serialize.ts | 172 | export function serializeIntersectionEventDetail( | CODE |
| LOW | packages/interpreter/src/ts/serialize.ts | 495 | export function extractSerializedFormValues(event: Event, target: HTMLElement): SerializedFormData { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | packages/playwright-tests/wasm-split-harness/run.sh | 1 | # This file is a simple shell script that runs the bundle split process manually without the CLI involved | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/native-dom/src/events.rs | 411 | // TODO: implement these fields with real values | COMMENT |