AI Slop Code Risk Monitor

flutter/samples

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

A collection of Flutter examples and demos

2.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for flutter/samples, a Dart project with 19,281 GitHub stars. SynthScan examined 113,522 lines of code across 1360 source files, recording 140 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 2.4 (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.4
Adjusted Signal
2.4
Raw Pattern Score
100%
Time Factor
2026-10-20
Last Push
19.3K
Stars
Dart
Language
113.5K
Lines of Code
1.4K
Files
140
Pattern Hits
2026-10-31
Scan Date
0.01
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 6.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.5/100 · LOW

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

Agent Over-Engineering Ratio 1.0/100 · LOW

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

PR Review Velocity Impact 10.6/100 · LOW

Which changes need focused human review? 140 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 6HIGH 7MEDIUM 13LOW 114

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 140 distinct pattern matches across 10 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 Block109 hits · 109 pts
SeverityFileLineSnippetContext
LOW…o_app/plugin/flutter_module_using_plugin/lib/main.dart21}COMMENT
LOW…flutter_module_using_plugin_android_view/lib/main.dart21}COMMENT
LOW…pp/books/ios_books/IosBooks/IosBooks-Bridging-Header.h1//COMMENT
LOW…rc/main/java/dev/flutter/example/books/MainActivity.kt121 // into an idiomatic Android activity interface with intent extras as input andCOMMENT
LOW…esizingTests/Pods-ios_content_resizingTests-umbrella.h1#ifdef __OBJC__COMMENT
LOW…terPluginRegistrant/FlutterPluginRegistrant-umbrella.h1#ifdef __OBJC__COMMENT
LOW…ontent_resizing-ios_content_resizingUITests-umbrella.h1#ifdef __OBJC__COMMENT
LOW…_content_resizing/Pods-ios_content_resizing-umbrella.h1#ifdef __OBJC__COMMENT
LOW…o_app/ios_content_resizing/flutter_module/pubspec.yaml1name: flutter_moduleCOMMENT
LOW…o_app/ios_content_resizing/flutter_module/pubspec.yaml41 # included with your application, so that you can use the icons inCOMMENT
LOW…o_app/ios_content_resizing/flutter_module/pubspec.yaml61 # example:COMMENT
LOWbackground_isolate_channels/lib/simple_database.dart1// Copyright 2022 The Flutter team. All rights reserved.COMMENT
LOWbackground_isolate_channels/lib/simple_database.dart21// isolate and the [_SimpleDatabaseServer] operates on a background isolate.COMMENT
LOW…nd_routing/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOWnavigation_and_routing/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOWnavigation_and_routing/windows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOWnavigation_and_routing/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…_routing/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOW…sformation/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOWasset_transformation/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOWasset_transformation/windows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOWasset_transformation/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…ormation/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOW…ial_3_demo/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOWmaterial_3_demo/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOWmaterial_3_demo/windows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOWmaterial_3_demo/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…l_3_demo/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOWcupertino_gallery/test/widget_test.dart1// This is a basic Flutter widget test.COMMENT
LOW…no_gallery/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOWcupertino_gallery/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOWcupertino_gallery/windows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOWcupertino_gallery/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…_gallery/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOW…ss_app/app/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOWcompass_app/app/lib/utils/result.dart1// Copyright 2024 The Flutter team. All rights reserved.COMMENT
LOWcompass_app/app/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOWcompass_app/app/windows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOWcompass_app/app/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…_app/app/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOWcompass_app/server/lib/middleware/auth.dart1// Copyright 2024 The Flutter team. All rights reserved.COMMENT
LOWcompass_app/server/lib/routes/booking.dart1// Copyright 2024 The Flutter team. All rights reserved.COMMENT
LOWform_app/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOWform_app/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOWform_app/windows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOWform_app/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOWform_app/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOWplatform_design/lib/main.dart61 // data. Since changing platform re-parents those tabs into differentCOMMENT
LOWdate_planner/lib/event_symbol.dart1// Copyright 2024 The Flutter Authors. All rights reserved.COMMENT
LOWdate_planner/lib/event_symbol.dart21 CupertinoIcons.clock_fill,COMMENT
LOW.prompts/llm.md201## Documentation StandardsCOMMENT
LOW.prompts/llm.md241}COMMENT
LOWpedometer/ffigen.yaml21COMMENT
LOWpedometer/pubspec.yaml21 jnigen: ^0.14.2COMMENT
LOWpedometer/pubspec.yaml41 #COMMENT
LOWpedometer/pubspec.yaml61 # To add custom fonts to your plugin package, add a fonts section here,COMMENT
LOWpedometer/example/pubspec.yaml1name: pedometer_exampleCOMMENT
LOWpedometer/example/pubspec.yaml61 flutter_lints: ^6.0.0COMMENT
LOWpedometer/example/pubspec.yaml81COMMENT
LOWpedometer/example/pubspec.yaml101 #COMMENT
49 more matches not shown…
Hallucination Indicators6 hits · 85 pts
SeverityFileLineSnippetContext
CRITICAL…r/example/androidfullscreen/ExampleInstrumentedTest.kt30 onView(withId(R.id.launch_button)).perform(androidx.test.espresso.action.ViewActions.click())CODE
CRITICAL⚡…r/example/androidfullscreen/ExampleInstrumentedTest.kt46 androidx.test.espresso.assertion.ViewAssertions.matches(CODE
CRITICAL⚡…r/example/androidfullscreen/ExampleInstrumentedTest.kt52 androidx.test.espresso.matcher.ViewMatchers.withText("Current count: 1")CODE
CRITICAL⚡…r/example/androidfullscreen/ExampleInstrumentedTest.kt57 onView(withId(R.id.launch_button)).perform(androidx.test.espresso.action.ViewActions.click())CODE
CRITICAL⚡…r/example/androidfullscreen/ExampleInstrumentedTest.kt65 androidx.test.espresso.assertion.ViewAssertions.matches(CODE
CRITICAL⚡…r/example/androidfullscreen/ExampleInstrumentedTest.kt67 androidx.test.espresso.matcher.ViewMatchers.withText("Current count: 2")CODE
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHdesktop_photo_search/fluent_ui/test/unsplash_test.dart0{ "total": 133, "total_pages": 7, "results": [ { "id": "eolpjytrbsq", "created_at": "2014-11-18t14:35:36-05:00", "width"STRING
HIGHdesktop_photo_search/fluent_ui/test/widget_test.dart0{ "total": 133, "total_pages": 7, "results": [ { "id": "eolpjytrbsq", "created_at": "2014-11-18t14:35:36-05:00", "width"STRING
HIGHdesktop_photo_search/material/test/unsplash_test.dart0{ "total": 133, "total_pages": 7, "results": [ { "id": "eolpjytrbsq", "created_at": "2014-11-18t14:35:36-05:00", "width"STRING
HIGHdesktop_photo_search/material/test/widget_test.dart0{ "total": 133, "total_pages": 7, "results": [ { "id": "eolpjytrbsq", "created_at": "2014-11-18t14:35:36-05:00", "width"STRING
Slop Phrases5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM…o_app/ios_content_resizing/flutter_module/pubspec.yaml41 # included with your application, so that you can use the icons inCOMMENT
MEDIUMbackground_isolate_channels/lib/main.dart67 // just for demonstration purposes.COMMENT
MEDIUMcompass_app/server/lib/routes/login.dart20/// This API only accepts a fixed email and password for demonstration purposes,COMMENT
MEDIUMcompass_app/server/lib/routes/user.dart14/// This API only returns a hardcoded user for demonstration purposes.COMMENT
MEDIUMpedometer/example/pubspec.yaml70 # included with your application, so that you can use the icons inCOMMENT
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHgoogle_maps/web/index.html33 <script src="https://maps.googleapis.com/maps/api/js?key=YOUR-API-KEY"></script>CODE
HIGHgoogle_maps/ios/Runner/AppDelegate.swift12 GMSServices.provideAPIKey("YOUR-API-KEY")CODE
HIGHgoogle_maps/android/app/src/main/AndroidManifest.xml10 android:value="YOUR-API-KEY"/>CODE
Modern AI Meta-Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMmaterial_3_demo/test/component_screen_test.dart115 // Third one is off screen in the scaffoldCOMMENT
MEDIUMmaterial_3_demo/test/component_screen_test.dart126 // Second one is off screen in the scaffoldCOMMENT
MEDIUMplatform_design/lib/main.dart44// Shows a different type of scaffold depending on the platform.COMMENT
MEDIUMplatform_design/lib/main.dart70 // actually building the scaffold around the drawer.COMMENT
MEDIUMplatform_design/lib/main.dart76 // a tab in the tab scaffold. The tab scaffold also positions the tab barCOMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpedometer/pubspec.yaml29# The following section is specific to Flutter packages.COMMENT
MEDIUMpedometer/example/pubspec.yaml66# The following section is specific to Flutter packages.COMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOW.prompts/llm.md255/// final isValid = validateEmail('user@example.com'); // trueCOMMENT
LOW.prompts/llm.md338final name = 'John Doe';CODE
LOWanimations/lib/src/basics/custom_tween.dart116porro quisquam est, qui dolorem ipsum, quia dolor sit amet consecteturCODE
LOWanimations/lib/src/basics/custom_tween.dart116porro quisquam est, qui dolorem ipsum, quia dolor sit amet consecteturCODE
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtool/ci_script.dart116 print('Error detecting Flutter channel: $e');CODE
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…dding/element_embedding_demo/web/js/demo-js-interop.js36 function setJsInteropControlsEnabled(enabled) {CODE