AI Slop Code Risk Monitor

parcel-bundler/lightningcss

SlopCodeMonitor badge for parcel-bundler/lightningcss Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

An extremely fast CSS parser, transformer, bundler, and minifier written in Rust.

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for parcel-bundler/lightningcss, a Rust project with 7,723 GitHub stars. SynthScan examined 143,826 lines of code across 212 source files, recording 156 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.1 (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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.7K
Stars
Rust
Language
143.8K
Lines of Code
212
Files
156
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 5.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 152 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 4 finding(s).

Agent Over-Engineering Ratio 0.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 2 finding(s).

PR Review Velocity Impact 5.3/100 · LOW

Which changes need focused human review? 156 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 0LOW 156

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 156 distinct pattern matches across 4 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.

Over-Commented Block149 hits · 149 pts
SeverityFileLineSnippetContext
LOWselectors/tree.rs121 /// Returns whether this element matches `:empty`.COMMENT
LOWselectors/bloom.rs21/// A counting Bloom filter with parameterized storage to handleCOMMENT
LOWselectors/bloom.rs41/// For reasonable assumptions (M large, kN large, which should bothCOMMENT
LOWselectors/parser.rs101COMMENT
LOWselectors/parser.rs581 let result = parse_selector(parser, input, &mut child_state, NestingRequirement::None)?;COMMENT
LOWselectors/parser.rs701/// at the level of sequences of simple selectors separated by combinators. MostCOMMENT
LOWselectors/parser.rs941 /// or other impls of `Visit` as appropriate based on the fields of `Self`.COMMENT
LOWselectors/parser.rs1161 /// combinator for this, we will need to fix up the way hashes are computedCOMMENT
LOWselectors/parser.rs1421 /// Pseudo-classesCOMMENT
LOWselectors/parser.rs1441 /// The `::part` pseudo-element.COMMENT
LOWselectors/parser.rs1461 /// The `:is` pseudo-class.COMMENT
LOWselectors/parser.rs1801impl<'i, Impl: SelectorImpl<'i>> ToCss for Selector<'i, Impl> {COMMENT
LOWselectors/parser.rs1821 let mut combinators_exhausted = false;COMMENT
LOWselectors/parser.rs2721 None => break,COMMENT
LOWselectors/parser.rs2741 // except those it is explicitly defined to match. If aCOMMENT
LOWselectors/parser.rs3501 // specificity(0, 0, 1),COMMENT
LOWselectors/matching.rs21COMMENT
LOWselectors/matching.rs121/// NotMatchedAndRestartFromClosestDescendantCOMMENT
LOWselectors/matching.rs141/// It is raised whenCOMMENT
LOWselectors/builder.rs1/* This Source Code Form is subject to the terms of the Mozilla PublicCOMMENT
LOWselectors/builder.rs21use crate::sink::Push;COMMENT
LOWselectors/context.rs21 /// of simple selectors.COMMENT
LOWselectors/context.rs101 /// Input with the bloom filter used to fast-reject selectors.COMMENT
LOWnapi/src/threadsafe_function.rs41///COMMENT
LOWnapi/src/threadsafe_function.rs61///COMMENT
LOWsrc/declaration.rs41#[cfg(feature = "visitor")]COMMENT
LOWsrc/selector.rs501 TargetWithin,COMMENT
LOWsrc/selector.rs941 SearchText,COMMENT
LOWsrc/selector.rs1441{COMMENT
LOWsrc/error.rs401/// A printer error.COMMENT
LOWsrc/targets.rs1//! Browser target options.COMMENT
LOWsrc/targets.rs21/// ```COMMENT
LOWsrc/targets.rs61 ) -> Result<Option<Browsers>, browserslist::Error> {COMMENT
LOWsrc/lib.rs1//! Lightning CSS is a CSS parser, transformer, and minifier based on theCOMMENT
LOWsrc/lib.rs761 );COMMENT
LOWsrc/lib.rs13661 // ".foo{transform:matrix(1.41421,1.41421,-1.16485,1.66358,100,200)}",COMMENT
LOWsrc/lib.rs13681 // minify_test(COMMENT
LOWsrc/lib.rs15421 // error_test(COMMENT
LOWsrc/bundler.rs1//! CSS bundling.COMMENT
LOWsrc/bundler.rs1881 // @import "b.css" supports(foo: bar) (orientation: horizontal);COMMENT
LOWsrc/vendor_prefix.rs1//! Vendor prefixes.COMMENT
LOWsrc/media_query.rs261/// A [media query](https://drafts.csswg.org/mediaqueries/#media).COMMENT
LOWsrc/media_query.rs1221}COMMENT
LOWsrc/printer.rs21 #[cfg_attr(docsrs, doc(cfg(feature = "sourcemap")))]COMMENT
LOWsrc/printer.rs41///COMMENT
LOWsrc/dependencies.rs1//! Dependency analysis.COMMENT
LOWsrc/dependencies.rs121#[derive(Debug)]COMMENT
LOWsrc/css_modules.rs201 /// A literal string segment.COMMENT
LOWsrc/stylesheet.rs21use parcel_sourcemap::SourceMap;COMMENT
LOWsrc/stylesheet.rs41/// // Parse a style sheet from a string.COMMENT
LOWsrc/stylesheet.rs81 /// The source map URL extracted from the original style sheet.COMMENT
LOWsrc/stylesheet.rs101 /// ids, and `@keyframe` names. The declarations of these will be removed.COMMENT
LOWsrc/stylesheet.rs341 }COMMENT
LOWsrc/stylesheet.rs361///COMMENT
LOWsrc/main.rs21))]COMMENT
LOWsrc/main.rs41 custom_media: bool,COMMENT
LOWsrc/traits.rs301COMMENT
LOWsrc/traits.rs321 type Prelude;COMMENT
LOWsrc/parser.rs241 /// A @container prelude.COMMENT
LOWsrc/visitor.rs1//! Visitors for traversing the values in a StyleSheet.COMMENT
89 more matches not shown…
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWnode/ast.d.ts6972 kind: "placeholder";CODE
LOWsrc/selector.rs288 "placeholder" => Placeholder(VendorPrefix::None),CODE
LOWsrc/selector.rs1243 dest.write_str("placeholder")CODE
LOWsrc/lib.rs31376 kind: ParserError::SelectorError(SelectorError::UnsupportedPseudoClass("placeholder".into())),CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWnode/composeVisitors.js58function wrapCustomAndUnknownAtRule(k, f) {CODE
LOWnode/composeVisitors.js125function extractObjectsOrFunctions(visitors, key) {CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwpt/read-html.py80CODE