AI Slop Code Risk Monitor

rrousselGit/riverpod

SlopCodeMonitor badge for rrousselGit/riverpod Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.

2.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for rrousselGit/riverpod, a Dart project with 7,412 GitHub stars. SynthScan examined 259,272 lines of code across 1688 source files, recording 715 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 2.9 (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.

2.9
Adjusted Signal
2.9
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
7.4K
Stars
Dart
Language
259.3K
Lines of Code
1.7K
Files
715
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 12.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

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

Agent Over-Engineering Ratio 0.7/100 · LOW

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

PR Review Velocity Impact 14.0/100 · LOW

Which changes need focused human review? 715 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 3HIGH 5MEDIUM 8LOW 699

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 715 distinct pattern matches across 9 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 Block692 hits · 678 pts
SeverityFileLineSnippetContext
LOWpackage_graph.yaml1# GENERATED FILE - DO NOT MODIFY BY HAND.COMMENT
LOWtools/generate_providers/src/docs.dart21COMMENT
LOWtools/generate_providers/src/docs.dart41///COMMENT
LOWtools/generate_providers/src/docs.dart61/// + final cancelToken = CancelToken();COMMENT
LOWtools/generate_providers/src/docs.dart81/// ```dartCOMMENT
LOWtools/generate_providers/src/docs.dart101/// }COMMENT
LOWtools/generate_providers/src/docs.dart121/// // then the user will be fetched only once.COMMENT
LOWtools/generate_providers/src/docs.dart141/// COMMENT
LOWtools/generate_providers/src/docs.dart161/// // Error – messagesFamily is not a providerCOMMENT
LOWtools/generate_providers/src/docs.dart181/// Widget build(BuildContext context, WidgetRef ref) {COMMENT
LOWtools/generate_providers/src/docs.dart201/// ```dartCOMMENT
LOWtools/generate_providers/src/docs.dart221/// This includes:COMMENT
LOWtools/generate_providers/src/docs.dart241/// int userId; // Read the user ID from somewhereCOMMENT
LOWtools/generate_providers/src/docs.dart261/// @overrideCOMMENT
LOWtools/package_graph/bin/package_graph.dart1// Generates /package_graph.yaml: how the packages of this pub workspace dependCOMMENT
LOWtools/package_graph/bin/package_graph.dart21# Regenerate with: scripts/check.sh graph --fixCOMMENT
LOWother_projects/devtool_debug_app/lib/main.g.dart1// GENERATED CODE - DO NOT MODIFY BY HANDCOMMENT
LOWwebsite/docs/from_provider/helpers/item.freezed.dart1// GENERATED CODE - DO NOT MODIFY BY HANDCOMMENT
LOWwebsite/docs/from_provider/helpers/item.freezed.dart81}COMMENT
LOWwebsite/docs/from_provider/helpers/item.freezed.dart101case _Item() when $default != null:COMMENT
LOWwebsite/docs/from_provider/helpers/item.freezed.dart121final _that = this;COMMENT
LOWwebsite/docs/from_provider/helpers/item.freezed.dart141case _Item() when $default != null:COMMENT
LOWwebsite/docs/from_provider/helpers/item.freezed.dart161case _Item() when $default != null:COMMENT
LOWwebsite/docs/from_provider/helpers/item.freezed.dart181switch (_that) {COMMENT
LOW…te/docs/from_provider/motivation/auto_dispose/raw.dart21 // {@template keepAlive}COMMENT
LOW…te/docs/concepts2/offline/custom_duration.freezed.dart1// GENERATED CODE - DO NOT MODIFY BY HANDCOMMENT
LOW…te/docs/concepts2/offline/custom_duration.freezed.dart81}COMMENT
LOW…te/docs/concepts2/offline/custom_duration.freezed.dart101final _that = this;COMMENT
LOW…te/docs/concepts2/offline/custom_duration.freezed.dart161/// }COMMENT
LOW…te/docs/concepts2/offline/custom_duration.freezed.dart181/// return ...;COMMENT
LOW…bsite/docs/concepts2/offline/json_persist.freezed.dart1// GENERATED CODE - DO NOT MODIFY BY HANDCOMMENT
LOW…bsite/docs/concepts2/offline/json_persist.freezed.dart81}COMMENT
LOW…bsite/docs/concepts2/offline/json_persist.freezed.dart101case _Todo() when $default != null:COMMENT
LOW…bsite/docs/concepts2/offline/json_persist.freezed.dart121final _that = this;COMMENT
LOW…bsite/docs/concepts2/offline/json_persist.freezed.dart141@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _Todo value)? $default,){COMMENT
LOW…bsite/docs/concepts2/offline/json_persist.freezed.dart161COMMENT
LOW…bsite/docs/concepts2/offline/json_persist.freezed.dart181/// ```COMMENT
LOW…bsite/docs/concepts2/offline/wait_persist.freezed.dart1// GENERATED CODE - DO NOT MODIFY BY HANDCOMMENT
LOW…bsite/docs/concepts2/offline/wait_persist.freezed.dart81}COMMENT
LOW…bsite/docs/concepts2/offline/wait_persist.freezed.dart101final _that = this;COMMENT
LOW…bsite/docs/concepts2/offline/wait_persist.freezed.dart161/// }COMMENT
LOW…bsite/docs/concepts2/offline/wait_persist.freezed.dart181/// return ...;COMMENT
LOW…ocs/concepts2/offline/destroy_key/codegen.freezed.dart1// GENERATED CODE - DO NOT MODIFY BY HANDCOMMENT
LOW…ocs/concepts2/offline/destroy_key/codegen.freezed.dart81}COMMENT
LOW…ocs/concepts2/offline/destroy_key/codegen.freezed.dart101final _that = this;COMMENT
LOW…ocs/concepts2/offline/destroy_key/codegen.freezed.dart161/// }COMMENT
LOW…ocs/concepts2/offline/destroy_key/codegen.freezed.dart181/// return ...;COMMENT
LOWwebsite/docs/how_to/cancel/extension.dart1import 'package:flutter_riverpod/flutter_riverpod.dart';COMMENT
LOWwebsite/docs/how_to/cancel/extension.dart21 // {@endtemplate}COMMENT
LOW…/docs/how_to/cancel/detail_screen/codegen.freezed.dart1// GENERATED CODE - DO NOT MODIFY BY HANDCOMMENT
LOW…/docs/how_to/cancel/detail_screen/codegen.freezed.dart81 ));COMMENT
LOW…/docs/how_to/cancel/detail_screen/codegen.freezed.dart101@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _Brewery value)? $default,{required TResuCOMMENT
LOW…/docs/how_to/cancel/detail_screen/codegen.freezed.dart121/// ```COMMENT
LOW…/docs/how_to/cancel/detail_screen/codegen.freezed.dart141@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _Brewery value)? $default,){COMMENT
LOW…/docs/how_to/cancel/detail_screen/codegen.freezed.dart161COMMENT
LOW…/docs/how_to/cancel/detail_screen/codegen.freezed.dart181/// ```COMMENT
LOW…cs/how_to/pull_to_refresh/brewery/codegen.freezed.dart1// GENERATED CODE - DO NOT MODIFY BY HANDCOMMENT
LOW…cs/how_to/pull_to_refresh/brewery/codegen.freezed.dart81 ));COMMENT
LOW…cs/how_to/pull_to_refresh/brewery/codegen.freezed.dart101@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _Brewery value)? $default,{required TResuCOMMENT
LOW…cs/how_to/pull_to_refresh/brewery/codegen.freezed.dart121/// ```COMMENT
632 more matches not shown…
Cross-File Repetition5 hits · 25 pts
SeverityFileLineSnippetContext
HIGH…nt-docs/current/concepts/provider_observer_logger.dart0{ "provider": "${provider.name ?? provider.runtimetype}", "newvalue": "$newvalue" }STRING
HIGH…nt-docs/current/concepts/provider_observer_logger.dart0{ "provider": "${provider.name ?? provider.runtimetype}", "newvalue": "$newvalue" }STRING
HIGH…nt-docs/current/concepts/provider_observer_logger.dart0{ "provider": "${provider.name ?? provider.runtimetype}", "newvalue": "$newvalue" }STRING
HIGH…nt-docs/current/concepts/provider_observer_logger.dart0{ "provider": "${provider.name ?? provider.runtimetype}", "newvalue": "$newvalue" }STRING
HIGH…nt-docs/current/concepts/provider_observer_logger.dart0{ "provider": "${provider.name ?? provider.runtimetype}", "newvalue": "$newvalue" }STRING
AI Slop Vocabulary4 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM⚡packages/riverpod/lib/src/core/element.dart56 /// [seamless] controls how the previous state is preserved:COMMENT
MEDIUM⚡packages/riverpod/lib/src/core/element.dart57 /// - seamless:true => import previous state and skip loadingCOMMENT
MEDIUM⚡packages/riverpod/lib/src/core/element.dart58 /// - seamless:false => import previous state and prefer loadingCOMMENT
MEDIUMpackages/hooks_riverpod/example/lib/main.dart50 // HookConsumer is a builder widget that allows you to read providers and utilize hooks.COMMENT
Hallucination Indicators3 hits · 15 pts
SeverityFileLineSnippetContext
CRITICAL…pod_analyzer_utils_tests/test/ref_invocation_test.dart96 result.refWatchInvocations.single.listenable.node.toSource(),STRING
CRITICAL…pod_analyzer_utils_tests/test/ref_invocation_test.dart133 result.refWatchInvocations.single.listenable.node.toSource(),STRING
CRITICAL…lyzer_utils_tests/test/widget_ref_invocation_test.dart67 result.widgetRefWatchInvocations.single.listenable.node.toSource(),STRING
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMscripts/lib/common.sh109# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/lib/common.sh113# ---------------------------------------------------------------------------COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpackages/riverpod/lib/src/providers/provider.dart145/// ## Creating a providerCOMMENT
MEDIUMpackages/riverpod/lib/src/providers/provider.dart239/// ### Creating an object that depends on a lot of providers.COMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ckages/riverpod_lint/lib/src/lints/notifier_build.dart111 // TODO: implement buildCOMMENT
LOW…t/test/lints/notifier_build.notifier_build-17.fix.dart13// + // TODO: implement buildCOMMENT
LOW…t/test/lints/notifier_build.notifier_build-17.fix.dart39 // TODO: implement buildCOMMENT
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWwebsite/meta_generator.js62function writeOutdatedTranslations({ translatedDocs, englishDocs }) {CODE
LOWwebsite/src/theme/DocVersionBanner/index.js59function LatestVersionSuggestionLabel({ versionLabel, to, onClick }) {CODE
LOWwebsite/src/theme/DocVersionBanner/index.js123function OutdatedTranslationBanner({ className }) {CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ckages/riverpod_annotation/lib/experimental/scope.dart13/// ## Usage example:COMMENT