AI Slop Code Risk Monitor

firebase/flutterfire

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

🔥 A collection of Firebase plugins for Flutter apps.

2.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for firebase/flutterfire, a Dart project with 9,265 GitHub stars. SynthScan examined 393,720 lines of code across 2147 source files, recording 844 pattern matches distributed across 12 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-31
Last Push
9.3K
Stars
Dart
Language
393.7K
Lines of Code
2.1K
Files
844
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 9.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 11.2/100 · LOW

Which changes need focused human review? 844 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 0MEDIUM 32LOW 809

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 844 distinct pattern matches across 12 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 Block769 hits · 762 pts
SeverityFileLineSnippetContext
LOWanalysis_options.yaml61COMMENT
LOWtests/integration_test/e2e_test.dart1// Copyright 2022, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOWtests/integration_test/core_shard_test.dart1// Copyright 2022, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOWtests/lib/firebase_options.dart1// Copyright 2022, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOWtests/windows/runner/win32_window.cpp1// Copyright 2023, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOWtests/windows/runner/resource.h1/*COMMENT
LOWtests/windows/runner/resource.h21#endifCOMMENT
LOWtests/windows/runner/main.cpp1// Copyright 2023, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOWtests/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOWdocs/app-check/default-providers.md81 // You can also use a `ReCaptchaEnterpriseProvider` provider instance as anCOMMENT
LOWscripts/generate_versions_web.dart1// Copyright 2025 Google LLCCOMMENT
LOWscripts/generate_versions_web.dart81COMMENT
LOWscripts/generate_dataconnect_version.dart1// Copyright 2024 Google LLCCOMMENT
LOWscripts/generate_firebaseai_version.dart1// Copyright 2024 Google LLCCOMMENT
LOWscripts/firebase_sdk_version_spm.dart1// Copyright 2026 The Chromium Authors. All rights reserved.COMMENT
LOWscripts/validate_workspace.dart1// Copyright 2025 Google LLCCOMMENT
LOWscripts/generate_versions_gradle.dart1// Copyright 2024 Google LLCCOMMENT
LOWscripts/validate_wasm_imports.dart1// Copyright 2026, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…ging/Sources/firebase_in_app_messaging/Constants.swift1// Copyright 2021 The Chromium Authors. All rights reserved.COMMENT
LOW…n_app_messaging/FirebaseInAppMessagingMessages.g.swift1// Copyright 2026, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…se_in_app_messaging/lib/firebase_in_app_messaging.dart81 /// Use [InAppMessagingClickEvent.action] to know which URL the campaignCOMMENT
LOW…se_in_app_messaging/lib/firebase_in_app_messaging.dart101 Stream<InAppMessagingDismissEvent> get onMessageDismissed =>COMMENT
LOW…n_app_messaging_platform_interface/lib/src/events.dart1// Copyright 2026, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…_flutterfire_internals/lib/_flutterfire_internals.dart1// Copyright 2022, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…_flutterfire_internals/lib/_flutterfire_internals.dart21 as js_interop;COMMENT
LOWpackages/_flutterfire_internals/lib/src/exception.dart61 } else if (platformException.code.isNotEmpty &&COMMENT
LOWpackages/_flutterfire_internals/lib/src/js_interop.dart1// Copyright 2024, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…ashlytics/Sources/firebase_crashlytics/Constants.swift1// Copyright 2026 The Chromium Authors. All rights reserved.COMMENT
LOW…rebase_crashlytics/FirebaseCrashlyticsMessages.g.swift1// Copyright 2026, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…ashlytics/Sources/firebase_crashlytics/Constants.swift1// Copyright 2026 The Chromium Authors. All rights reserved.COMMENT
LOW…rebase_crashlytics/FirebaseCrashlyticsMessages.g.swift1// Copyright 2026, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…firebase_crashlytics/lib/src/firebase_crashlytics.dart1// ignore_for_file: require_trailing_commasCOMMENT
LOW…firebase_crashlytics/lib/src/firebase_crashlytics.dart41 ///COMMENT
LOW…firebase_crashlytics/lib/src/firebase_crashlytics.dart181 Future<void> log(String message) async {COMMENT
LOW…firebase_crashlytics/lib/src/firebase_crashlytics.dart201 /// method. Use [sendUnsentReports] to upload existing reports even when automaticCOMMENT
LOW…firebase_crashlytics/lib/src/firebase_crashlytics.dart221 /// non-fatal reports.COMMENT
LOW…platform_interface/platform_interface_crashlytics.dart81 /// automatically and this always returns false. If automatic data collectionCOMMENT
LOW…platform_interface/platform_interface_crashlytics.dart141COMMENT
LOW…platform_interface/platform_interface_crashlytics.dart161 ///COMMENT
LOW…uth/Sources/firebase_auth/FirebaseAuthMessages.g.swift1// Copyright 2023, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…/firebase_auth/example/windows/runner/win32_window.cpp1// Copyright 2023, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…e_auth/firebase_auth/example/windows/runner/resource.h1/*COMMENT
LOW…e_auth/firebase_auth/example/windows/runner/resource.h21#endifCOMMENT
LOW…ase_auth/firebase_auth/example/windows/runner/main.cpp1// Copyright 2023, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…uth/Sources/firebase_auth/FirebaseAuthMessages.g.swift1// Copyright 2023, the Chromium project authors. Please see the AUTHORS fileCOMMENT
LOW…ase_auth/firebase_auth/lib/src/recaptcha_verifier.dart21 /// It is possible to configure the reCAPTCHA widget with the following arguments,COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart81COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart101 ///COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart121 }COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart141 /// currently linked to the user.COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart161 /// - Thrown if the email corresponding to the credential already existsCOMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart201 ///COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart221 /// `credential` directly via [signInWithCredential].COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart241 } on FirebaseAuthMultiFactorExceptionPlatform catch (e) {COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart261 /// - Thrown if the credential given does not correspond to any existingCOMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart301 /// A [FirebaseAuthException] maybe thrown with the following error code:COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart321 /// verification code of the credential is not valid.COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart341 /// - Thrown if the credential given does not correspond to any existingCOMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart361 Future<void> reauthenticateWithRedirect(AuthProvider provider) async {COMMENT
LOWpackages/firebase_auth/firebase_auth/lib/src/user.dart381 /// Google user by linking a Google credential to it and the GoogleCOMMENT
709 more matches not shown…
Hallucination Indicators3 hits · 45 pts
SeverityFileLineSnippetContext
CRITICAL⚡…er/plugins/firebase/database/FirebaseDatabasePlugin.kt813 transactionResult ?: return com.google.firebase.database.Transaction.abort()CODE
CRITICAL⚡…er/plugins/firebase/database/FirebaseDatabasePlugin.kt816 return com.google.firebase.database.Transaction.abort()CODE
CRITICAL⚡…er/plugins/firebase/database/FirebaseDatabasePlugin.kt820 return com.google.firebase.database.Transaction.success(mutableData)CODE
Excessive Try-Catch Wrapping13 hits · 25 pts
SeverityFileLineSnippetContext
MEDIUMdocs/auth/email-link-auth.md100 .catchError((onError) => print('Error sending email verification $onError'))CODE
MEDIUMdocs/auth/email-link-auth.md160 print('Error signing in with email link.');CODE
MEDIUMdocs/auth/email-link-auth.md180 print("Error linking emailLink credential.");CODE
MEDIUMdocs/auth/email-link-auth.md194 print("Error reauthenticating credential.");CODE
MEDIUMscripts/generate_versions_web.dart125 print('Error processing $webPackageName: $e');STRING
MEDIUMscripts/generate_versions_spm.dart105 print('Error: pubspec.yaml file not found at $pubspecFile');CODE
MEDIUMscripts/generate_versions_spm.dart116 print('Error: Version not found in pubspec.yaml');CODE
MEDIUMscripts/generate_versions_spm.dart127 print('Error: Constants.swift file not found at $packageSwiftPath');CODE
MEDIUMscripts/validate_workspace.dart42 print('Error: pubspec.yaml not found at root.');CODE
MEDIUMscripts/validate_workspace.dart52 print('Error: No workspace list found in pubspec.yaml.');CODE
MEDIUMscripts/validate_wasm_imports.dart70 print('Error: ${packageConfig.path} not found. Run `melos bootstrap` 'CODE
MEDIUM…ebase_database/firebase_database/example/lib/main.dart122 print('Error: ${error.code} ${error.message}');CODE
MEDIUM.github/workflows/scripts/nightly_issue_dashboard.dart66 print('Error: GITHUB_TOKEN or REPO environment variables not set.');CODE
Decorative Section Separators8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUM…estore_web/lib/src/pipeline_expression_parser_web.dart35 // ── Value expressions ─────────────────────────────────────────────────────COMMENT
MEDIUM…estore_web/lib/src/pipeline_expression_parser_web.dart528 // ── Boolean expressions ───────────────────────────────────────────────────COMMENT
MEDIUM…estore_web/lib/src/pipeline_expression_parser_web.dart643 // ── Stage options ─────────────────────────────────────────────────────────COMMENT
MEDIUM…estore_web/lib/src/pipeline_expression_parser_web.dart697 // ── Aggregate ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…estore_web/lib/src/pipeline_expression_parser_web.dart722 // ── Other stage options ───────────────────────────────────────────────────COMMENT
MEDIUM…estore_web/lib/src/pipeline_expression_parser_web.dart834 // ── Private helpers ───────────────────────────────────────────────────────COMMENT
MEDIUM…restore/cloud_firestore/pipeline_example/lib/main.dart654 // ── New expression examples (22+) ─────────────────────────────────────COMMENT
MEDIUM…restore/cloud_firestore/pipeline_example/lib/main.dart1008 // ── New pipeline expressions (regex, map, string, array, agg) ───────────COMMENT
Fake / Example Data25 hits · 24 pts
SeverityFileLineSnippetContext
LOWdocs/auth/federated-auth.md72 'login_hint': 'user@example.com'CODE
LOWdocs/auth/federated-auth.md87 'login_hint': 'user@example.com'CODE
LOWdocs/auth/manage-users.md162 .sendPasswordResetEmail(email: "user@example.com");CODE
LOW…se_auth_web/test/get_firebase_auth_exception_test.dart35 customData['email'] = 'user@example.com'.toJS;CODE
LOW…se_auth_web/test/get_firebase_auth_exception_test.dart59 expect(exception.email, 'user@example.com');CODE
LOW…uth_web/test/fetch_sign_in_methods_for_email_test.dart36 final methods = await auth.fetchSignInMethodsForEmail('user@example.com');CODE
LOW…uth_web/test/fetch_sign_in_methods_for_email_test.dart39 expect(receivedEmail, 'user@example.com');CODE
LOW…ase_auth/firebase_auth_web/test/user_to_json_test.dart21 ..['email'] = 'user@example.com'.toJSCODE
LOW…ase_auth/firebase_auth_web/test/user_to_json_test.dart35 'email': 'user@example.com',CODE
LOW…uth_platform_interface/test/action_code_info_test.dart11 const String kMockEmail = 'test@test.com';CODE
LOW…m_interface/test/providers_tests/google_auth_test.dart56 'login_hint': 'user@example.com',CODE
LOW…m_interface/test/providers_tests/google_auth_test.dart63 expect(result.parameters['login_hint'], equals('user@example.com'));CODE
LOW…_platform_interface/lib/src/providers/google_auth.dart20/// 'login_hint': 'user@example.com'COMMENT
LOW…tegration_test/pipeline/pipeline_replace_with_e2e.dart33 {'father': 'John Doe Sr.', 'mother': 'Jane Doe'},CODE
LOW…tegration_test/pipeline/pipeline_replace_with_e2e.dart47 {'father': 'John Doe Sr.', 'mother': 'Jane Doe'},CODE
LOW…e_example/integration_test/pipeline/pipeline_seed.dart38 'nested': {'father': 'John Doe Sr.', 'mother': 'Jane Doe'},CODE
LOW…irebase_ai/firebase_ai/test/response_parsing_test.dart398 "text": "placeholder"CODE
LOW…irebase_ai/firebase_ai/test/response_parsing_test.dart481 Content.model([const TextPart('placeholder')]),STRING
LOW…irebase_ai/firebase_ai/test/response_parsing_test.dart533 "text": "placeholder"CODE
LOW…irebase_ai/firebase_ai/test/response_parsing_test.dart616 Content.model([const TextPart('placeholder')]),STRING
LOW…/firebase_ai/test/google_ai_response_parsing_test.dart376 "text": "placeholder"CODE
LOW…/firebase_ai/test/google_ai_response_parsing_test.dart459 Content.model([const TextPart('placeholder')]),STRING
LOW…/firebase_ai/test/google_ai_response_parsing_test.dart511 "text": "placeholder"CODE
LOW…/firebase_ai/test/google_ai_response_parsing_test.dart594 Content.model([const TextPart('placeholder')]),STRING
LOW…se_storage/example/integration_test/reference_e2e.dart304 'name': 'John Doe',CODE
Structural Annotation Overuse11 hits · 16 pts
SeverityFileLineSnippetContext
LOWdocs/remote-config/_get-started.md10## Step 1: Add Firebase and the Remote Config SDK to your app {: #add-firebase }COMMENT
LOWdocs/remote-config/_get-started.md49## Step 2: Get the Remote Config singleton object {: #get-remote-config }COMMENT
LOWdocs/remote-config/_get-started.md69## Step 3: Set in-app default parameter values {: #default-parameter }COMMENT
LOWdocs/remote-config/_get-started.md90## Step 4: Get parameter values to use in your app {: #get-parameter }COMMENT
LOWdocs/remote-config/_get-started.md105## Step 5: Set parameter values in the Remote Config backend {: #set-parameter }COMMENT
LOWdocs/remote-config/_get-started.md122## Step 6: Fetch and activate values {: #fetch-values }COMMENT
LOWdocs/remote-config/_get-started.md145## Step 7: Listen for updates in real time {: #add-real-time-listener }COMMENT
LOWdocs/cloud-messaging/receive.md531### Step 1 - Add a notification service extension {:#step-1-add-notification-service-extension}COMMENT
LOWdocs/cloud-messaging/receive.md538### Step 2 - Add target to the Podfile {:#step-2-add-target-podfile}COMMENT
LOWdocs/cloud-messaging/receive.md573### Step 3 - Use the extension helper {:#step-3-ext-helper}COMMENT
LOWdocs/cloud-messaging/receive.md668### Step 4 - Add the image to the payload {:#add-image-payload}COMMENT
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM…/cloud_firestore/cloud_firestore/lib/src/pipeline.dart35/// They do not utilize or update the local SDK cache, and they do not supportCOMMENT
MEDIUM…rebase_ai/firebase_ai/example/lib/pages/bidi_page.dart162 // Intention state for robust stream reconnectionCOMMENT
MEDIUM.github/workflows/e2e_tests_fdc.yaml317 # WASM runs can hang after building but before the test harnessCOMMENT
MEDIUM.github/workflows/reusable_e2e_web.yaml189 # harness connects; that is the same failure class.COMMENT
MEDIUM.github/workflows/e2e_tests_smoke.yaml575 # WASM web runs can hang after building but before the test harnessCOMMENT
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…irestore/cloud_firestore/pipeline_example/pubspec.yaml67 # included with your application, so that you can use the icons inCOMMENT
MEDIUM…ase_messaging/firebase_messaging/example/lib/main.dart153/// The API endpoint here accepts a raw FCM payload for demonstration purposes.COMMENT
MEDIUMpackages/firebase_ai/firebase_ai/example/pubspec.yaml62 # included with your application, so that you can use the icons inCOMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…irestore/cloud_firestore/pipeline_example/pubspec.yaml63# The following section is specific to Flutter packages.COMMENT
MEDIUM…base_performance/firebase_performance_web/pubspec.yaml29# The following section is specific to Flutter.COMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ebase_data_connect/lib/src/network/transport_stub.dart59 // TODO: implement invokeMutationCOMMENT
LOW…ebase_data_connect/lib/src/network/transport_stub.dart73 // TODO: implement invokeStreamQueryCOMMENT
LOW…ebase_data_connect/lib/src/network/transport_stub.dart87 // TODO: implement invokeQueryCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…ages/firebase_auth/firebase_auth/example/lib/auth.dart27 /// The scaffold of current context.COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/scripts/ensure-simulator-ready.sh7# Usage:COMMENT