🔥 A collection of Firebase plugins for Flutter apps.
This report presents the forensic synthetic code analysis of firebase/flutterfire, a Dart project with 9,232 GitHub stars. SynthScan v2.0 examined 363,483 lines of code across 2092 source files, recording 852 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 2.6 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 852 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …on_test/firebase_auth/firebase_auth_user_e2e_test.dart | 401 | // email: 'invalid', password: testPassword); | COMMENT |
| LOW | …on_test/firebase_auth/firebase_auth_user_e2e_test.dart | 961 | skip: kIsWeb || | COMMENT |
| LOW | …on_test/firebase_auth/firebase_auth_user_e2e_test.dart | 981 | // fail('Should not have auto resolved'); | COMMENT |
| LOW | …on_test/firebase_auth/firebase_auth_user_e2e_test.dart | 1001 | // smsCode: await emulatorPhoneVerificationCode(testPhoneNumber), | COMMENT |
| LOW | …on_test/firebase_auth/firebase_auth_user_e2e_test.dart | 1041 | }, | COMMENT |
| LOW | …on_test/firebase_auth/firebase_auth_user_e2e_test.dart | 1061 | // expect(e.message, | COMMENT |
| LOW | …on_test/firebase_auth/firebase_auth_user_e2e_test.dart | 1081 | // url: 'http://action-code-test.com', | COMMENT |
| LOW | …/integration_test/firebase_database/web_only_stub.dart | 1 | // Copyright 2021 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …ion_test/firebase_ai/firebase_ai_headers_e2e_test.dart | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …firebase_ai/firebase_ai_response_parsing_e2e_test.dart | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …ntegration_test/firebase_ai/firebase_ai_mock_test.dart | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …integration_test/firebase_ai/firebase_ai_e2e_test.dart | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …s/integration_test/firebase_storage/reference_e2e.dart | 441 | // Download the file from Firebase Storage | COMMENT |
| LOW | …s/integration_test/firebase_storage/reference_e2e.dart | 481 | final downloadedData = await ref.getData(); | COMMENT |
| LOW | …s/integration_test/firebase_storage/reference_e2e.dart | 581 | COMMENT | |
| LOW | tests/lib/firebase_options.dart | 1 | // Copyright 2022, the Chromium project authors. Please see the AUTHORS file | COMMENT |
| LOW | tests/windows/runner/win32_window.cpp | 1 | // Copyright 2023, the Chromium project authors. Please see the AUTHORS file | COMMENT |
| LOW | tests/windows/runner/resource.h | 1 | /* | COMMENT |
| LOW | tests/windows/runner/resource.h | 21 | #endif | COMMENT |
| LOW | tests/windows/runner/main.cpp | 1 | // Copyright 2023, the Chromium project authors. Please see the AUTHORS file | COMMENT |
| LOW | tests/windows/flutter/generated_plugin_registrant.h | 1 | // | COMMENT |
| LOW | docs/app-check/default-providers.md | 81 | // You can also use a `ReCaptchaEnterpriseProvider` provider instance as an | COMMENT |
| LOW | scripts/generate_versions_web.dart | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | scripts/generate_versions_web.dart | 81 | COMMENT | |
| LOW | scripts/generate_dataconnect_version.dart | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | scripts/generate_firebaseai_version.dart | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | scripts/validate_workspace.dart | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | scripts/generate_versions_gradle.dart | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | …ase_in_app_messaging/example/lib/firebase_options.dart | 1 | // Copyright 2022, the Chromium project authors. Please see the AUTHORS file | COMMENT |
| LOW | …n_app_messaging/include/FirebaseInAppMessagingPlugin.h | 1 | // Copyright 2021 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …_flutterfire_internals/lib/_flutterfire_internals.dart | 1 | // Copyright 2022, the Chromium project authors. Please see the AUTHORS file | COMMENT |
| LOW | …_flutterfire_internals/lib/_flutterfire_internals.dart | 21 | COMMENT | |
| LOW | packages/_flutterfire_internals/lib/src/js_interop.dart | 1 | // Copyright 2024, the Chromium project authors. Please see the AUTHORS file | COMMENT |
| LOW | …es/firebase_crashlytics/FLTFirebaseCrashlyticsPlugin.m | 1 | // Copyright 2020 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …ase_crashlytics/include/FLTFirebaseCrashlyticsPlugin.h | 1 | // Copyright 2020 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …firebase_crashlytics/example/lib/firebase_options.dart | 1 | // Copyright 2022, the Chromium project authors. Please see the AUTHORS file | COMMENT |
| LOW | …es/firebase_crashlytics/FLTFirebaseCrashlyticsPlugin.m | 1 | // Copyright 2020 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …ase_crashlytics/include/FLTFirebaseCrashlyticsPlugin.h | 1 | // Copyright 2020 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …firebase_crashlytics/lib/src/firebase_crashlytics.dart | 1 | // ignore_for_file: require_trailing_commas | COMMENT |
| LOW | …firebase_crashlytics/lib/src/firebase_crashlytics.dart | 41 | bool get isCrashlyticsCollectionEnabled { | COMMENT |
| LOW | …firebase_crashlytics/lib/src/firebase_crashlytics.dart | 181 | COMMENT | |
| LOW | …firebase_crashlytics/lib/src/firebase_crashlytics.dart | 201 | /// | COMMENT |
| LOW | …platform_interface/platform_interface_crashlytics.dart | 81 | /// is disabled, this method can be used to check whether the user opts-in to | COMMENT |
| LOW | …platform_interface/platform_interface_crashlytics.dart | 141 | /// | COMMENT |
| LOW | …platform_interface/platform_interface_crashlytics.dart | 161 | /// | COMMENT |
| LOW | …ase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.m | 1 | // Copyright 2020 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …s/firebase_auth/include/Public/FLTFirebaseAuthPlugin.h | 1 | // Copyright 2020 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …uth/include/Private/FLTAuthStateChannelStreamHandler.h | 1 | // Copyright 2021 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …_auth/include/Private/FLTIdTokenChannelStreamHandler.h | 1 | // Copyright 2021 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …lude/Private/FLTPhoneNumberVerificationStreamHandler.h | 1 | // Copyright 2021 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …e_auth/firebase_auth/example/lib/firebase_options.dart | 1 | // Copyright 2022, the Chromium project authors. Please see the AUTHORS file | COMMENT |
| LOW | …/firebase_auth/example/windows/runner/win32_window.cpp | 1 | // Copyright 2023, the Chromium project authors. Please see the AUTHORS file | COMMENT |
| LOW | …e_auth/firebase_auth/example/windows/runner/resource.h | 1 | /* | COMMENT |
| LOW | …e_auth/firebase_auth/example/windows/runner/resource.h | 21 | #endif | COMMENT |
| LOW | …ase_auth/firebase_auth/example/windows/runner/main.cpp | 1 | // Copyright 2023, the Chromium project authors. Please see the AUTHORS file | COMMENT |
| LOW | …ase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.m | 1 | // Copyright 2020 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …s/firebase_auth/include/Public/FLTFirebaseAuthPlugin.h | 1 | // Copyright 2020 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …uth/include/Private/FLTAuthStateChannelStreamHandler.h | 1 | // Copyright 2021 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …_auth/include/Private/FLTIdTokenChannelStreamHandler.h | 1 | // Copyright 2021 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …lude/Private/FLTPhoneNumberVerificationStreamHandler.h | 1 | // Copyright 2021 The Chromium Authors. All rights reserved. | COMMENT |
| 726 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | …er/plugins/firebase/database/FirebaseDatabasePlugin.kt | 800 | transactionResult ?: return com.google.firebase.database.Transaction.abort() | CODE |
| CRITICAL⚡ | …er/plugins/firebase/database/FirebaseDatabasePlugin.kt | 803 | return com.google.firebase.database.Transaction.abort() | CODE |
| CRITICAL⚡ | …er/plugins/firebase/database/FirebaseDatabasePlugin.kt | 807 | return com.google.firebase.database.Transaction.success(mutableData) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …estore_web/lib/src/pipeline_expression_parser_web.dart | 35 | // ── Value expressions ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …estore_web/lib/src/pipeline_expression_parser_web.dart | 524 | // ── Boolean expressions ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …estore_web/lib/src/pipeline_expression_parser_web.dart | 626 | // ── Stage options ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …estore_web/lib/src/pipeline_expression_parser_web.dart | 679 | // ── Aggregate ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …estore_web/lib/src/pipeline_expression_parser_web.dart | 702 | // ── Other stage options ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …estore_web/lib/src/pipeline_expression_parser_web.dart | 813 | // ── Private helpers ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …restore/cloud_firestore/pipeline_example/lib/main.dart | 654 | // ── New expression examples (22+) ───────────────────────────────────── | COMMENT |
| MEDIUM | …restore/cloud_firestore/pipeline_example/lib/main.dart | 1008 | // ── New pipeline expressions (regex, map, string, array, agg) ─────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/auth/email-link-auth.md | 100 | .catchError((onError) => print('Error sending email verification $onError')) | CODE |
| MEDIUM | docs/auth/email-link-auth.md | 161 | print('Error signing in with email link.'); | CODE |
| MEDIUM | docs/auth/email-link-auth.md | 181 | print("Error linking emailLink credential."); | CODE |
| MEDIUM | docs/auth/email-link-auth.md | 195 | print("Error reauthenticating credential."); | CODE |
| MEDIUM | scripts/generate_versions_web.dart | 125 | print('Error processing $webPackageName: $e'); | STRING |
| MEDIUM | scripts/generate_versions_spm.dart | 124 | print('Error: pubspec.yaml file not found at $pubspecFile'); | CODE |
| MEDIUM | scripts/generate_versions_spm.dart | 135 | print('Error: Version not found in pubspec.yaml'); | CODE |
| MEDIUM | scripts/generate_versions_spm.dart | 146 | print('Error: Constants.swift file not found at $packageSwiftPath'); | CODE |
| MEDIUM | scripts/validate_workspace.dart | 41 | print('Error: pubspec.yaml not found at root.'); | CODE |
| MEDIUM | scripts/validate_workspace.dart | 51 | print('Error: No workspace list found in pubspec.yaml.'); | CODE |
| MEDIUM | …ebase_database/firebase_database/example/lib/main.dart | 127 | print('Error: ${error.code} ${error.message}'); | CODE |
| MEDIUM | .github/workflows/scripts/nightly_issue_dashboard.dart | 35 | print('Error: GITHUB_TOKEN or REPO environment variables not set.'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/integration_test/firebase_storage/reference_e2e.dart | 295 | 'name': 'John Doe', | CODE |
| LOW | docs/auth/federated-auth.md | 72 | 'login_hint': 'user@example.com' | CODE |
| LOW | docs/auth/federated-auth.md | 87 | 'login_hint': 'user@example.com' | CODE |
| LOW | docs/auth/manage-users.md | 162 | .sendPasswordResetEmail(email: "user@example.com"); | CODE |
| LOW | …uth_platform_interface/test/action_code_info_test.dart | 11 | const String kMockEmail = 'test@test.com'; | CODE |
| LOW | …m_interface/test/providers_tests/google_auth_test.dart | 56 | 'login_hint': 'user@example.com' | CODE |
| LOW | …m_interface/test/providers_tests/google_auth_test.dart | 62 | expect(result.parameters['login_hint'], equals('user@example.com')); | CODE |
| LOW | …_platform_interface/lib/src/providers/google_auth.dart | 20 | /// 'login_hint': 'user@example.com' | COMMENT |
| LOW | …tegration_test/pipeline/pipeline_replace_with_e2e.dart | 33 | {'father': 'John Doe Sr.', 'mother': 'Jane Doe'}, | CODE |
| LOW | …tegration_test/pipeline/pipeline_replace_with_e2e.dart | 47 | {'father': 'John Doe Sr.', 'mother': 'Jane Doe'}, | CODE |
| LOW | …e_example/integration_test/pipeline/pipeline_seed.dart | 38 | 'nested': {'father': 'John Doe Sr.', 'mother': 'Jane Doe'}, | CODE |
| LOW | …irebase_ai/firebase_ai/test/response_parsing_test.dart | 365 | "text": "placeholder" | CODE |
| LOW | …irebase_ai/firebase_ai/test/response_parsing_test.dart | 448 | Content.model([const TextPart('placeholder')]), | STRING |
| LOW | …irebase_ai/firebase_ai/test/response_parsing_test.dart | 500 | "text": "placeholder" | CODE |
| LOW | …irebase_ai/firebase_ai/test/response_parsing_test.dart | 583 | Content.model([const TextPart('placeholder')]), | STRING |
| LOW | …/firebase_ai/test/google_ai_response_parsing_test.dart | 312 | "text": "placeholder" | CODE |
| LOW | …/firebase_ai/test/google_ai_response_parsing_test.dart | 395 | Content.model([const TextPart('placeholder')]), | STRING |
| LOW | …/firebase_ai/test/google_ai_response_parsing_test.dart | 447 | "text": "placeholder" | CODE |
| LOW | …/firebase_ai/test/google_ai_response_parsing_test.dart | 530 | Content.model([const TextPart('placeholder')]), | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/remote-config/_get-started.md | 10 | ## Step 1: Add Firebase and the Remote Config SDK to your app {: #add-firebase } | COMMENT |
| LOW | docs/remote-config/_get-started.md | 49 | ## Step 2: Get the Remote Config singleton object {: #get-remote-config } | COMMENT |
| LOW | docs/remote-config/_get-started.md | 69 | ## Step 3: Set in-app default parameter values {: #default-parameter } | COMMENT |
| LOW | docs/remote-config/_get-started.md | 90 | ## Step 4: Get parameter values to use in your app {: #get-parameter } | COMMENT |
| LOW | docs/remote-config/_get-started.md | 105 | ## Step 5: Set parameter values in the Remote Config backend {: #set-parameter } | COMMENT |
| LOW | docs/remote-config/_get-started.md | 122 | ## Step 6: Fetch and activate values {: #fetch-values } | COMMENT |
| LOW | docs/remote-config/_get-started.md | 145 | ## Step 7: Listen for updates in real time {: #add-real-time-listener } | COMMENT |
| LOW | docs/cloud-messaging/receive.md | 497 | ### Step 1 - Add a notification service extension {:#step-1-add-notification-service-extension} | COMMENT |
| LOW | docs/cloud-messaging/receive.md | 504 | ### Step 2 - Add target to the Podfile {:#step-2-add-target-podfile} | COMMENT |
| LOW | docs/cloud-messaging/receive.md | 539 | ### Step 3 - Use the extension helper {:#step-3-ext-helper} | COMMENT |
| LOW | docs/cloud-messaging/receive.md | 634 | ### Step 4 - Add the image to the payload {:#add-image-payload} | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …irestore/cloud_firestore/pipeline_example/pubspec.yaml | 63 | # included with your application, so that you can use the icons in | COMMENT |
| MEDIUM | …ase_messaging/firebase_messaging/example/lib/main.dart | 152 | /// The API endpoint here accepts a raw FCM payload for demonstration purposes. | COMMENT |
| MEDIUM | packages/firebase_ai/firebase_ai/example/pubspec.yaml | 48 | # included with your application, so that you can use the icons in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/cloud_firestore/cloud_firestore/lib/src/pipeline.dart | 35 | /// They do not utilize or update the local SDK cache, and they do not support | COMMENT |
| MEDIUM | …rebase_ai/firebase_ai/example/lib/pages/bidi_page.dart | 164 | // Intention state for robust stream reconnection | COMMENT |
| MEDIUM | .github/workflows/web.yaml | 399 | # WASM web runs can hang after building but before the test harness | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …irestore/cloud_firestore/pipeline_example/pubspec.yaml | 59 | # The following section is specific to Flutter packages. | COMMENT |
| MEDIUM | …base_performance/firebase_performance_web/pubspec.yaml | 29 | # The following section is specific to Flutter. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ebase_data_connect/lib/src/network/transport_stub.dart | 60 | // TODO: implement invokeMutation | COMMENT |
| LOW | …ebase_data_connect/lib/src/network/transport_stub.dart | 74 | // TODO: implement invokeStreamQuery | COMMENT |
| LOW | …ebase_data_connect/lib/src/network/transport_stub.dart | 88 | // TODO: implement invokeQuery | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ages/firebase_auth/firebase_auth/example/lib/auth.dart | 30 | /// The scaffold of current context. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/scripts/ensure-simulator-ready.sh | 7 | # Usage: | COMMENT |