Repository Analysis

leptos-rs/leptos

Build fast web applications with Rust.

3.8 Likely human-written View on GitHub
3.8
Adjusted Score
3.8
Raw Score
100%
Time Factor
2026-05-30
Last Push
20,823
Stars
Rust
Language
148,564
Lines of Code
1222
Files
578
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 577

Pattern Findings

578 matches across 4 categories. Click a row to expand file-level details.

Over-Commented Block570 hits · 553 pts
SeverityFileLineSnippet
LOWreactive_stores_macro/src/lib.rs21#[proc_macro_error]
LOWreactive_stores_macro/src/lib.rs41/// where
LOWreactive_stores_macro/src/lib.rs61/// T2: PatchField,
LOWreactive_stores_macro/src/lib.rs81/// T3,
LOW.config/nextest.toml1experimental = ["setup-scripts"]
LOW.config/nextest.toml21# filter = "binary_id(leptos_axum::axum_integration)"
LOWrouter_macro/tests/path.rs181 );
LOWrouter_macro/tests/path.rs201// let _ = path!("/home/any*");
LOWrouter_macro/src/lib.rs21/// is equivalent.
LOWrouter_macro/src/lib.rs201/// ```rust
LOWrouter_macro/src/lib.rs221/// // this function will be lazy-loaded, concurrently with data()
LOWleptos_hot_reload/src/parsing.rs1use rstml::node::{CustomNode, NodeElement, NodeName};
LOWleptos_dom/.cargo/config.toml1# [build]
LOWleptos_dom/examples/test-bench/src/main.rs121}
LOWleptos_dom/examples/test-bench/src/main.rs141// }
LOWleptos_dom/src/helpers.rs121#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
LOWleptos_dom/src/helpers.rs161}
LOWleptos_dom/src/helpers.rs201 pub fn cancel(&self) {
LOWleptos_dom/src/helpers.rs341/// fn DebouncedButton() -> impl IntoView {
LOWleptos_dom/src/helpers.rs421/// Repeatedly calls the given function, with a delay of the given duration between calls.
LOWleptos_dom/src/helpers.rs541/// ev, leptos_dom::helpers::window_event_listener, logging::log,
LOWprojects/ory-kratos/Cargo.toml101# Optional. Can be over-ridden with the command line parameter --bin-features
LOWprojects/sitemap_axum/Cargo.toml101# The features to use when compiling the bin target
LOWprojects/sitemap_axum/Cargo.toml121# The profile to use for the lib target when compiling for release
LOWprojects/hexagonal-architecture/Cargo.toml81
LOWprojects/hexagonal-architecture/end2end/tsconfig.json1{
LOWprojects/hexagonal-architecture/end2end/tsconfig.json21 // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory func
LOWprojects/hexagonal-architecture/end2end/tsconfig.json41 // "customConditions": [], /* Conditions to set in addition to the resolver-specific defau
LOWprojects/hexagonal-architecture/end2end/tsconfig.json61 // "importHelpers": true, /* Allow importing helper functions from tslib once per project
LOWprojects/hexagonal-architecture/end2end/tsconfig.json81 // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlate
LOW…ts/hexagonal-architecture/end2end/playwright.config.ts61 {
LOW…ts/hexagonal-architecture/end2end/playwright.config.ts81
LOW…ts/hexagonal-architecture/end2end/playwright.config.ts101 // webServer: {
LOWprojects/session_auth_axum/Cargo.toml81# The port to use for automatic reload monitoring
LOWprojects/session_auth_axum/Cargo.toml101# The features to use when compiling the lib target
LOWprojects/nginx-mpmc/app-1/Cargo.toml101# If the --no-default-features flag should be used when compiling the bin target
LOWprojects/nginx-mpmc/shared-server-2/src/main.rs21#[cfg(not(feature = "ssr"))]
LOWprojects/nginx-mpmc/app-2/Cargo.toml61
LOWprojects/nginx-mpmc/app-2/Cargo.toml101bin-features = ["ssr"]
LOWprojects/sso_auth_axum/Cargo.toml81# The IP and port (ex: 127.0.0.1:3000) where the server serves the content. Use it in your server setup.
LOWprojects/openapi-openai-api-swagger-ui/Cargo.toml101# Optional. Defaults to false.
LOW…api-openai-api-swagger-ui/end2end/playwright.config.ts61 {
LOW…api-openai-api-swagger-ui/end2end/playwright.config.ts81
LOWmeta/src/html.rs21/// This component takes no props, but can take any number of spread attributes
LOWmeta/src/meta_tags.rs1use crate::register;
LOWmeta/src/meta_tags.rs21/// view! {
LOWmeta/src/body.rs21/// This component takes no props, but can take any number of spread attributes
LOWmeta/src/lib.rs1#![deny(missing_docs)]
LOWmeta/src/lib.rs21//! let (name, set_name) = create_signal("Alice".to_string());
LOWmeta/src/style.rs1use crate::{register, OrDefaultNonce};
LOWmeta/src/style.rs21/// </Style>
LOWmeta/src/link.rs1use crate::register;
LOWmeta/src/link.rs21/// href="myFont.woff2"
LOWmeta/src/link.rs41 /// The [`fetchpriority`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-fetchpriority) attribu
LOWmeta/src/link.rs61 media: Option<Oco<'static, str>>,
LOWmeta/src/title.rs181 #[inline(always)]
LOWmeta/src/title.rs201/// view! {
LOWmeta/src/title.rs221/// <main>
LOWmeta/src/stylesheet.rs1use crate::register;
LOWmeta/src/stylesheet.rs21/// view! {
510 more matches not shown…
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOWreactive_stores/src/lib.rs449 /// ## Return value
LOWscripts/bump.sh23 # Check if any file in the package directory changed since the member's release commit or latest tag release
LOWscripts/update_nightly.sh16# Check if a date is provided as an argument
LOW.github/workflows/run-cargo-make-task.yml253 # Check if the counter_isomorphic can be built with leptos_debuginfo cfg flag in release mode
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMintegrations/axum/tests/axum_integration.rs241 // to not require using cargo-nextest setup scripts to prepare this. Essentially if this is done
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippet
LOWexamples/parent_child/src/lib.rs38 "Lorem ipsum sit dolor amet."
LOWexamples/router/src/lib.rs207 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo
LOWexamples/router/src/lib.rs207 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo