A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
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.
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? 705 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 10 finding(s).
Which changes need focused human review? 715 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | package_graph.yaml | 1 | # GENERATED FILE - DO NOT MODIFY BY HAND. | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 21 | COMMENT | |
| LOW | tools/generate_providers/src/docs.dart | 41 | /// | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 61 | /// + final cancelToken = CancelToken(); | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 81 | /// ```dart | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 101 | /// } | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 121 | /// // then the user will be fetched only once. | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 141 | /// | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 161 | /// // Error – messagesFamily is not a provider | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 181 | /// Widget build(BuildContext context, WidgetRef ref) { | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 201 | /// ```dart | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 221 | /// This includes: | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 241 | /// int userId; // Read the user ID from somewhere | COMMENT |
| LOW | tools/generate_providers/src/docs.dart | 261 | /// @override | COMMENT |
| LOW | tools/package_graph/bin/package_graph.dart | 1 | // Generates /package_graph.yaml: how the packages of this pub workspace depend | COMMENT |
| LOW | tools/package_graph/bin/package_graph.dart | 21 | # Regenerate with: scripts/check.sh graph --fix | COMMENT |
| LOW | other_projects/devtool_debug_app/lib/main.g.dart | 1 | // GENERATED CODE - DO NOT MODIFY BY HAND | COMMENT |
| LOW | website/docs/from_provider/helpers/item.freezed.dart | 1 | // GENERATED CODE - DO NOT MODIFY BY HAND | COMMENT |
| LOW | website/docs/from_provider/helpers/item.freezed.dart | 81 | } | COMMENT |
| LOW | website/docs/from_provider/helpers/item.freezed.dart | 101 | case _Item() when $default != null: | COMMENT |
| LOW | website/docs/from_provider/helpers/item.freezed.dart | 121 | final _that = this; | COMMENT |
| LOW | website/docs/from_provider/helpers/item.freezed.dart | 141 | case _Item() when $default != null: | COMMENT |
| LOW | website/docs/from_provider/helpers/item.freezed.dart | 161 | case _Item() when $default != null: | COMMENT |
| LOW | website/docs/from_provider/helpers/item.freezed.dart | 181 | switch (_that) { | COMMENT |
| LOW | …te/docs/from_provider/motivation/auto_dispose/raw.dart | 21 | // {@template keepAlive} | COMMENT |
| LOW | …te/docs/concepts2/offline/custom_duration.freezed.dart | 1 | // GENERATED CODE - DO NOT MODIFY BY HAND | COMMENT |
| LOW | …te/docs/concepts2/offline/custom_duration.freezed.dart | 81 | } | COMMENT |
| LOW | …te/docs/concepts2/offline/custom_duration.freezed.dart | 101 | final _that = this; | COMMENT |
| LOW | …te/docs/concepts2/offline/custom_duration.freezed.dart | 161 | /// } | COMMENT |
| LOW | …te/docs/concepts2/offline/custom_duration.freezed.dart | 181 | /// return ...; | COMMENT |
| LOW | …bsite/docs/concepts2/offline/json_persist.freezed.dart | 1 | // GENERATED CODE - DO NOT MODIFY BY HAND | COMMENT |
| LOW | …bsite/docs/concepts2/offline/json_persist.freezed.dart | 81 | } | COMMENT |
| LOW | …bsite/docs/concepts2/offline/json_persist.freezed.dart | 101 | case _Todo() when $default != null: | COMMENT |
| LOW | …bsite/docs/concepts2/offline/json_persist.freezed.dart | 121 | final _that = this; | COMMENT |
| LOW | …bsite/docs/concepts2/offline/json_persist.freezed.dart | 141 | @optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _Todo value)? $default,){ | COMMENT |
| LOW | …bsite/docs/concepts2/offline/json_persist.freezed.dart | 161 | COMMENT | |
| LOW | …bsite/docs/concepts2/offline/json_persist.freezed.dart | 181 | /// ``` | COMMENT |
| LOW | …bsite/docs/concepts2/offline/wait_persist.freezed.dart | 1 | // GENERATED CODE - DO NOT MODIFY BY HAND | COMMENT |
| LOW | …bsite/docs/concepts2/offline/wait_persist.freezed.dart | 81 | } | COMMENT |
| LOW | …bsite/docs/concepts2/offline/wait_persist.freezed.dart | 101 | final _that = this; | COMMENT |
| LOW | …bsite/docs/concepts2/offline/wait_persist.freezed.dart | 161 | /// } | COMMENT |
| LOW | …bsite/docs/concepts2/offline/wait_persist.freezed.dart | 181 | /// return ...; | COMMENT |
| LOW | …ocs/concepts2/offline/destroy_key/codegen.freezed.dart | 1 | // GENERATED CODE - DO NOT MODIFY BY HAND | COMMENT |
| LOW | …ocs/concepts2/offline/destroy_key/codegen.freezed.dart | 81 | } | COMMENT |
| LOW | …ocs/concepts2/offline/destroy_key/codegen.freezed.dart | 101 | final _that = this; | COMMENT |
| LOW | …ocs/concepts2/offline/destroy_key/codegen.freezed.dart | 161 | /// } | COMMENT |
| LOW | …ocs/concepts2/offline/destroy_key/codegen.freezed.dart | 181 | /// return ...; | COMMENT |
| LOW | website/docs/how_to/cancel/extension.dart | 1 | import 'package:flutter_riverpod/flutter_riverpod.dart'; | COMMENT |
| LOW | website/docs/how_to/cancel/extension.dart | 21 | // {@endtemplate} | COMMENT |
| LOW | …/docs/how_to/cancel/detail_screen/codegen.freezed.dart | 1 | // GENERATED CODE - DO NOT MODIFY BY HAND | COMMENT |
| LOW | …/docs/how_to/cancel/detail_screen/codegen.freezed.dart | 81 | )); | COMMENT |
| LOW | …/docs/how_to/cancel/detail_screen/codegen.freezed.dart | 101 | @optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _Brewery value)? $default,{required TResu | COMMENT |
| LOW | …/docs/how_to/cancel/detail_screen/codegen.freezed.dart | 121 | /// ``` | COMMENT |
| LOW | …/docs/how_to/cancel/detail_screen/codegen.freezed.dart | 141 | @optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _Brewery value)? $default,){ | COMMENT |
| LOW | …/docs/how_to/cancel/detail_screen/codegen.freezed.dart | 161 | COMMENT | |
| LOW | …/docs/how_to/cancel/detail_screen/codegen.freezed.dart | 181 | /// ``` | COMMENT |
| LOW | …cs/how_to/pull_to_refresh/brewery/codegen.freezed.dart | 1 | // GENERATED CODE - DO NOT MODIFY BY HAND | COMMENT |
| LOW | …cs/how_to/pull_to_refresh/brewery/codegen.freezed.dart | 81 | )); | COMMENT |
| LOW | …cs/how_to/pull_to_refresh/brewery/codegen.freezed.dart | 101 | @optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _Brewery value)? $default,{required TResu | COMMENT |
| LOW | …cs/how_to/pull_to_refresh/brewery/codegen.freezed.dart | 121 | /// ``` | COMMENT |
| 632 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …nt-docs/current/concepts/provider_observer_logger.dart | 0 | { "provider": "${provider.name ?? provider.runtimetype}", "newvalue": "$newvalue" } | STRING |
| HIGH | …nt-docs/current/concepts/provider_observer_logger.dart | 0 | { "provider": "${provider.name ?? provider.runtimetype}", "newvalue": "$newvalue" } | STRING |
| HIGH | …nt-docs/current/concepts/provider_observer_logger.dart | 0 | { "provider": "${provider.name ?? provider.runtimetype}", "newvalue": "$newvalue" } | STRING |
| HIGH | …nt-docs/current/concepts/provider_observer_logger.dart | 0 | { "provider": "${provider.name ?? provider.runtimetype}", "newvalue": "$newvalue" } | STRING |
| HIGH | …nt-docs/current/concepts/provider_observer_logger.dart | 0 | { "provider": "${provider.name ?? provider.runtimetype}", "newvalue": "$newvalue" } | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | packages/riverpod/lib/src/core/element.dart | 56 | /// [seamless] controls how the previous state is preserved: | COMMENT |
| MEDIUM⚡ | packages/riverpod/lib/src/core/element.dart | 57 | /// - seamless:true => import previous state and skip loading | COMMENT |
| MEDIUM⚡ | packages/riverpod/lib/src/core/element.dart | 58 | /// - seamless:false => import previous state and prefer loading | COMMENT |
| MEDIUM | packages/hooks_riverpod/example/lib/main.dart | 50 | // HookConsumer is a builder widget that allows you to read providers and utilize hooks. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …pod_analyzer_utils_tests/test/ref_invocation_test.dart | 96 | result.refWatchInvocations.single.listenable.node.toSource(), | STRING |
| CRITICAL | …pod_analyzer_utils_tests/test/ref_invocation_test.dart | 133 | result.refWatchInvocations.single.listenable.node.toSource(), | STRING |
| CRITICAL | …lyzer_utils_tests/test/widget_ref_invocation_test.dart | 67 | result.widgetRefWatchInvocations.single.listenable.node.toSource(), | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/lib/common.sh | 109 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/lib/common.sh | 113 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/riverpod/lib/src/providers/provider.dart | 145 | /// ## Creating a provider | COMMENT |
| MEDIUM | packages/riverpod/lib/src/providers/provider.dart | 239 | /// ### Creating an object that depends on a lot of providers. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ckages/riverpod_lint/lib/src/lints/notifier_build.dart | 111 | // TODO: implement build | COMMENT |
| LOW | …t/test/lints/notifier_build.notifier_build-17.fix.dart | 13 | // + // TODO: implement build | COMMENT |
| LOW | …t/test/lints/notifier_build.notifier_build-17.fix.dart | 39 | // TODO: implement build | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/meta_generator.js | 62 | function writeOutdatedTranslations({ translatedDocs, englishDocs }) { | CODE |
| LOW | website/src/theme/DocVersionBanner/index.js | 59 | function LatestVersionSuggestionLabel({ versionLabel, to, onClick }) { | CODE |
| LOW | website/src/theme/DocVersionBanner/index.js | 123 | function OutdatedTranslationBanner({ className }) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ckages/riverpod_annotation/lib/experimental/scope.dart | 13 | /// ## Usage example: | COMMENT |