Repository Analysis

flutter/packages

A collection of useful packages maintained by the Flutter team

2.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of flutter/packages, a Dart project with 5,262 GitHub stars. SynthScan v2.0 examined 1,957,313 lines of code across 6705 source files, recording 5063 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 2.7 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).

2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.3K
Stars
Dart
Language
2.0M
Lines of Code
6.7K
Files
5.1K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 1HIGH 68MEDIUM 157LOW 4837

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 5063 distinct pattern matches across 15 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.

Over-Commented Block4757 hits · 4400 pts
SeverityFileLineSnippetContext
LOW.repo_tool_config.yaml1# Repo-specific configuration for the flutter_plugin_tools repository tooling.COMMENT
LOW.repo_tool_config.yaml21 # max version, which must a version that already exists, not a future version.COMMENT
LOW.repo_tool_config.yaml41 # Dependencies that can be unpinned. Package should only ever be added here ifCOMMENT
LOWanalysis_options.yaml1# Specify analysis options.COMMENT
LOWcustomer_testing.sh1#!/bin/bashCOMMENT
LOW.ci/scripts/validate.sh1#!/bin/bashCOMMENT
LOW.ci/scripts/analyze_pathified.sh1#!/bin/bashCOMMENT
LOW.ci/scripts/analyze_legacy.sh1#!/bin/bashCOMMENT
LOW.ci/scripts/update_pods.sh1#!/bin/bashCOMMENT
LOW.ci/scripts/dart_unit_tests_pathified.sh1#!/bin/bashCOMMENT
LOWscript/configs/exclude_all_packages_app.yaml1# This list should be kept as short as possible, and things should remain hereCOMMENT
LOWscript/configs/exclude_all_packages_app.yaml21# version).COMMENT
LOWscript/configs/exclude_integration_web_wasm.yaml1# This list should be kept as short as possible, and things should remain hereCOMMENT
LOWscript/configs/custom_coverage_minimums.yaml1# A list of packages and their minimum required code coverage.COMMENT
LOWscript/configs/exclude_all_packages_app_wasm.yaml1# This list should be kept as short as possible, and things should remain hereCOMMENT
LOWscript/configs/xcode_warnings_exceptions.yaml1# The list of plugins that are known to produce Xcode warnings.COMMENT
LOWscript/configs/dart_unit_tests_wasm_exceptions.yaml1# Packages that are excluded from dart unit tests (compiled to Wasm)COMMENT
LOWscript/tool/test/util.dart61 final bool hasDartCode;COMMENT
LOWscript/tool/test/util.dart381 /// such as temporary file modifications.COMMENT
LOWscript/tool/test/license_check_command_test.dart721// notice, this list of conditions and the following disclaimer.COMMENT
LOWscript/tool/lib/src/validate_command.dart21import 'validators/version_and_changelog_validator.dart';COMMENT
LOW…ript/tool/lib/src/create_all_packages_app_command.dart301 version: Version.parse('1.0.0+1'),COMMENT
LOWscript/tool/lib/src/native_test_command.dart261 );COMMENT
LOWscript/tool/lib/src/native_test_command.dart581 bool isTestBinary(File file) {COMMENT
LOWscript/tool/lib/src/format_command.dart381COMMENT
LOWscript/tool/lib/src/common/core.dart121 // don't have any source, so this deliberately doesn't check that there's aCOMMENT
LOWscript/tool/lib/src/common/file_utils.dart21/// to [base] as subdirectories.COMMENT
LOWscript/tool/lib/src/common/plugin_utils.dart21bool isFlutterPlugin(RepositoryPackage package) {COMMENT
LOWscript/tool/lib/src/common/repository_package.dart21//COMMENT
LOWscript/tool/lib/src/common/package_looping_command.dart61 /// the summary will simply show that the package failed.COMMENT
LOWscript/tool/lib/src/common/package_looping_command.dart101 static const String _skipByDartVersionArg = 'skip-if-not-supporting-dart-version';COMMENT
LOWscript/tool/lib/src/common/package_looping_command.dart121 ///COMMENT
LOWscript/tool/lib/src/common/package_looping_command.dart161 /// be included in the final error summary (e.g., a command that only has aCOMMENT
LOWscript/tool/lib/src/common/package_looping_command.dart181 /// to make the output structure easier to follow.COMMENT
LOWscript/tool/lib/src/common/package_looping_command.dart201 /// context.COMMENT
LOWscript/tool/lib/src/common/file_filters.dart1// Copyright 2013 The Flutter AuthorsCOMMENT
LOWscript/tool/lib/src/common/pending_changelog_entry.dart1// Copyright 2013 The Flutter AuthorsCOMMENT
LOWscript/tool/lib/src/common/pending_changelog_entry.dart21/// ## File FormatCOMMENT
LOWscript/tool/lib/src/common/cmake.dart61 }COMMENT
LOWscript/tool/lib/src/common/package_command.dart201 /// The process runner.COMMENT
LOWscript/tool/lib/src/common/package_command.dart341 ///COMMENT
LOWscript/tool/lib/src/common/package_command.dart361 final int end = min(start + shardSize, allPackages.length);COMMENT
LOWscript/tool/lib/src/common/package_command.dart381 /// 1. As a Dart package in a directory which is a direct child of theCOMMENT
LOWscript/tool/lib/src/common/package_command.dart641 baseSha: baseSha,COMMENT
LOWscript/tool/lib/src/common/package_state_utils.dart201 pathComponents.first == 'pigeons' ||COMMENT
LOW…rd_party/packages/cupertino_icons/test/icons_list.dart1// Copyright 2013 The Flutter AuthorsCOMMENT
LOW…_party/packages/path_parsing/lib/src/path_parsing.dart1// This code has been "translated" largely from the Chromium/blink sourceCOMMENT
LOW…_party/packages/path_parsing/lib/src/path_parsing.dart101 // Histogram from Apple's page load test combined with some ad hoc browsingCOMMENT
LOWthird_party/packages/flutter_svg/dart_test.yaml1# _TolerantComparator uses methods that don't compile on web.COMMENT
LOW…ty/packages/flutter_svg/example/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOW…packages/flutter_svg/example/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOWthird_party/packages/flutter_svg/lib/svg.dart61 /// Instantiates a widget that renders an SVG picture using the `pictureProvider`.COMMENT
LOWthird_party/packages/flutter_svg/lib/svg.dart101 'The SVG theme must be set on the bytesLoader.',COMMENT
LOWthird_party/packages/flutter_svg/lib/svg.dart121 /// horizontally in [TextDirection.rtl] contexts.COMMENT
LOWthird_party/packages/flutter_svg/lib/svg.dart141 /// `icons/heart.svg` .COMMENT
LOWthird_party/packages/flutter_svg/lib/svg.dart161 /// ```noneCOMMENT
LOWthird_party/packages/flutter_svg/lib/svg.dart221 /// Either the [width] and [height] arguments should be specified, or theCOMMENT
LOWthird_party/packages/flutter_svg/lib/svg.dart281COMMENT
LOWthird_party/packages/flutter_svg/lib/svg.dart301 ///COMMENT
LOWthird_party/packages/flutter_svg/lib/svg.dart341 /// Either the [width] and [height] arguments should be specified, or theCOMMENT
4697 more matches not shown…
Modern AI Meta-Vocabulary128 hits · 375 pts
SeverityFileLineSnippetContext
MEDIUMpackages/cupertino_ui/test/nav_bar_test.dart1309 // Appears transparent since the background color is the same as the scaffold.COMMENT
MEDIUMpackages/cupertino_ui/test/nav_bar_test.dart1484 // Appears transparent since the background color is the same as the scaffold.COMMENT
MEDIUMpackages/cupertino_ui/test/scaffold_test.dart142 // the scaffold.COMMENT
MEDIUMpackages/cupertino_ui/lib/src/tab_scaffold.dart83/// The scaffold lays out the tab bar at the bottom and the content between orCOMMENT
MEDIUMpackages/cupertino_ui/lib/src/tab_scaffold.dart91/// subsequent tab changes. If a controller is not specified, the scaffold willCOMMENT
MEDIUMpackages/cupertino_ui/lib/src/tab_scaffold.dart127/// (such as when showing a dialog on top of this scaffold), useCOMMENT
MEDIUMpackages/cupertino_ui/lib/src/tab_scaffold.dart133/// * [CupertinoTabBar], the bottom tab bar inserted in the scaffold.COMMENT
MEDIUMpackages/cupertino_ui/lib/src/tab_scaffold.dart164 /// scaffold or the tab bar's active tab index. To programmatically changeCOMMENT
MEDIUMpackages/cupertino_ui/lib/src/tab_scaffold.dart183 /// will also update the scaffold's current active index to the new controller'sCOMMENT
MEDIUMpackages/cupertino_ui/lib/src/tab_scaffold.dart204 /// The color of the widget that underlies the entire scaffold.COMMENT
MEDIUMpackages/cupertino_ui/lib/src/tab_scaffold.dart212 /// scaffold, the body can be resized to avoid overlapping the keyboard, whichCOMMENT
MEDIUMpackages/cupertino_ui/lib/src/tab_scaffold.dart221 /// If it is non-null (and no [controller] has been provided), the scaffoldCOMMENT
MEDIUMpackages/cupertino_ui/lib/src/page_scaffold.dart19/// The scaffold lays out the navigation bar on top and the content between orCOMMENT
MEDIUMpackages/cupertino_ui/lib/src/page_scaffold.dart63 /// The scaffold assumes the navigation bar will account for the [MediaQuery]COMMENT
MEDIUMpackages/cupertino_ui/lib/src/page_scaffold.dart80 /// The color of the widget that underlies the entire scaffold.COMMENT
MEDIUMpackages/cupertino_ui/lib/src/page_scaffold.dart88 /// scaffold, the body can be resized to avoid overlapping the keyboard, whichCOMMENT
MEDIUMpackages/cupertino_ui/lib/src/page_scaffold.dart130 // to make sure the status bar tap is only handled if this scaffold isCOMMENT
MEDIUMpackages/cupertino_ui/lib/src/page_scaffold.dart245/// [InheritedWidget] indicating what the current scaffold background color is for its children.COMMENT
MEDIUMpackages/cupertino_ui/lib/src/page_scaffold.dart248/// to paint themselves with the parent page scaffold color when no content is scrolled under.COMMENT
MEDIUMpackages/cupertino_ui/lib/src/theme.dart499 /// Background color of the scaffold.COMMENT
MEDIUM…ckages/go_router/example/lib/stateful_shell_route.dart256 /// Wrap in scaffoldCOMMENT
MEDIUM…er/example/lib/others/custom_stateful_shell_route.dart386 /// Wrap in scaffoldCOMMENT
MEDIUM…/go_router/example/lib/books/src/screens/scaffold.dart10/// The enum for scaffold tab.COMMENT
MEDIUM…/go_router/example/lib/books/src/screens/scaffold.dart22/// The scaffold for the book store.COMMENT
MEDIUM…/go_router/example/lib/books/src/screens/scaffold.dart27 /// Which tab of the scaffold to display.COMMENT
MEDIUM…/go_router/example/lib/books/src/screens/scaffold.dart30 /// The scaffold body.COMMENT
MEDIUM…rial_ui/test/floating_action_button_location_test.dart188 // Create a scaffold with the fab at endFloatCOMMENT
MEDIUM…rial_ui/test/floating_action_button_location_test.dart349 // Formula: scaffold height - BAB height + FAB height / 2 + BAB top & bottom margins.COMMENT
MEDIUMpackages/material_ui/test/snack_bar_test.dart2622 ); // button margin + horizontal scaffold outside marginCODE
MEDIUMpackages/material_ui/test/theme_test.dart433 expect(materials[0].color, green); // app scaffoldCODE
MEDIUMpackages/material_ui/test/theme_test.dart434 expect(materials[1].color, green); // dialog scaffoldCODE
MEDIUMpackages/material_ui/test/theme_test.dart804 // We took the scaffold background override but the rest are still cascadedCOMMENT
MEDIUMpackages/material_ui/test/theme_test.dart824 // We took the scaffold background override but the rest are still cascadedCOMMENT
MEDIUMpackages/material_ui/test/scaffold_test.dart1381 // material/scaffold.dart.COMMENT
MEDIUMpackages/material_ui/lib/src/date_picker_theme.dart10/// @docImport 'scaffold.dart';COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1649/// {@example /example/lib/scaffold/scaffold.2.dart#body}COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1655/// The scaffold will expand to fill the available space. That usuallyCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1659/// be rebuilt. By default the scaffold's [body] is resized to makeCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1667/// X. The scaffold's [body] is not inset by this padding valueCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1670/// widget can be used within the scaffold's body to avoid areasCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1698/// view a scaffold with a differently titled AppBar. Rather, it would beCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1708/// app's one and only scaffold is reset each time a new tab is selected.COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1714/// // Rebuild the enclosing scaffold with a new AppBar titleCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1793 /// of the [bottomNavigationBar] will be added above the scaffold's [body].COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1798 /// In this case specifying `extendBody: true` ensures that scaffold'sCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1804 /// to the top of the scaffold.COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1827 /// of the scaffold.COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1830 /// An app bar to display at the top of the scaffold.COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1833 /// The primary content of the scaffold.COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1841 /// The widget in the body of the scaffold is positioned at the top-left ofCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1842 /// the available space between the app bar and the bottom of the scaffold. ToCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart1849 /// [ListView] as the body of the scaffold. This is also a good choice forCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart2015 /// be dismissed with the scaffold's back button.COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart2021 /// If true the [body] and the scaffold's floating widgets should sizeCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart2026 /// scaffold, the body can be resized to avoid overlapping the keyboard, whichCOMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart2032 /// Whether this scaffold is being displayed at the top of the screen.COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart2307 /// Whether this scaffold has a non-null [Scaffold.appBar].COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart2310 /// Whether this scaffold has a non-null [Scaffold.drawer].COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart2313 /// Whether this scaffold has a non-null [Scaffold.endDrawer].COMMENT
MEDIUMpackages/material_ui/lib/src/scaffold.dart2316 /// Whether this scaffold has a non-null [Scaffold.floatingActionButton].COMMENT
68 more matches not shown…
Cross-File Repetition61 hits · 305 pts
SeverityFileLineSnippetContext
HIGHscript/tool/test/dart_test_command_test.dart0readme.md suggested_reviewers.md packages/package_a/changelog.mdSTRING
HIGHscript/tool/test/native_test_command_test.dart0readme.md suggested_reviewers.md packages/package_a/changelog.mdSTRING
HIGHscript/tool/test/analyze_command_test.dart0readme.md suggested_reviewers.md packages/package_a/changelog.mdSTRING
HIGHscript/tool/test/firebase_test_lab_command_test.dart0readme.md suggested_reviewers.md packages/package_a/changelog.mdSTRING
HIGHscript/tool/test/build_examples_command_test.dart0readme.md suggested_reviewers.md packages/package_a/changelog.mdSTRING
HIGH…ter/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>audio auto play</title> <script type="text/javascript"> function play() { var audio =STRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html><html> <head><title>audio auto play</title> <script type="text/javascript"> function play() { var audio =STRING
HIGH…oid/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>audio auto play</title> <script type="text/javascript"> function play() { var audio =STRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html><html> <head><title>audio auto play</title> <script type="text/javascript"> function play() { var audio =STRING
HIGH…iew/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>audio auto play</title> <script type="text/javascript"> function play() { var audio =STRING
HIGH…mple/integration_test/legacy/webview_flutter_test.dart0<!doctype html><html> <head><title>audio auto play</title> <script type="text/javascript"> function play() { var audio =STRING
HIGH…ter/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>some title</title> </head> <body> </body> </html>STRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html><html> <head><title>some title</title> </head> <body> </body> </html>STRING
HIGH…oid/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>some title</title> </head> <body> </body> </html>STRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html><html> <head><title>some title</title> </head> <body> </body> </html>STRING
HIGH…iew/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>some title</title> </head> <body> </body> </html>STRING
HIGH…mple/integration_test/legacy/webview_flutter_test.dart0<!doctype html><html> <head><title>some title</title> </head> <body> </body> </html>STRING
HIGH…ter/example/integration_test/webview_flutter_test.dart0<!doctype html> <html> <head> <style> body { height: 100%; width: 100%; } #container{ width:5000px; height:5000px; } </sSTRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html> <html> <head> <style> body { height: 100%; width: 100%; } #container{ width:5000px; height:5000px; } </sSTRING
HIGH…oid/example/integration_test/webview_flutter_test.dart0<!doctype html> <html> <head> <style> body { height: 100%; width: 100%; } #container{ width:5000px; height:5000px; } </sSTRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html> <html> <head> <style> body { height: 100%; width: 100%; } #container{ width:5000px; height:5000px; } </sSTRING
HIGH…iew/example/integration_test/webview_flutter_test.dart0<!doctype html> <html> <head> <style> body { height: 100%; width: 100%; } #container{ width:5000px; height:5000px; } </sSTRING
HIGH…mple/integration_test/legacy/webview_flutter_test.dart0<!doctype html> <html> <head> <style> body { height: 100%; width: 100%; } #container{ width:5000px; height:5000px; } </sSTRING
HIGH…ter/example/integration_test/webview_flutter_test.dart0<!doctype html><html> </head> <body> </body> </html>STRING
HIGH…oid/example/integration_test/webview_flutter_test.dart0<!doctype html><html> </head> <body> </body> </html>STRING
HIGH…iew/example/integration_test/webview_flutter_test.dart0<!doctype html><html> </head> <body> </body> </html>STRING
HIGH…ter/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>resize test</title> <script type="text/javascript"> function onresize() { resize.postSTRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html><html> <head><title>resize test</title> <script type="text/javascript"> function onresize() { resize.postSTRING
HIGH…oid/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>resize test</title> <script type="text/javascript"> function onresize() { resize.postSTRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html><html> <head><title>resize test</title> <script type="text/javascript"> function onresize() { resize.postSTRING
HIGH…iew/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>resize test</title> <script type="text/javascript"> function onresize() { resize.postSTRING
HIGH…mple/integration_test/legacy/webview_flutter_test.dart0<!doctype html><html> <head><title>resize test</title> <script type="text/javascript"> function onresize() { resize.postSTRING
HIGH…ter/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>video auto play</title> <script type="text/javascript"> function play() { var video =STRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html><html> <head><title>video auto play</title> <script type="text/javascript"> function play() { var video =STRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html><html> <head><title>video auto play</title> <script type="text/javascript"> function play() { var video =STRING
HIGH…iew/example/integration_test/webview_flutter_test.dart0<!doctype html><html> <head><title>video auto play</title> <script type="text/javascript"> function play() { var video =STRING
HIGH…mple/integration_test/legacy/webview_flutter_test.dart0<!doctype html><html> <head><title>video auto play</title> <script type="text/javascript"> function play() { var video =STRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html> <html> <head> <title>webresourceerror test</title> </head> <body> <iframe src="https://notawebsite..com"STRING
HIGH…mple/integration_test/webview_flutter_test_legacy.dart0<!doctype html> <html> <head> <title>webresourceerror test</title> </head> <body> <iframe src="https://notawebsite..com"STRING
HIGH…iew/example/integration_test/webview_flutter_test.dart0<!doctype html> <html> <head> <title>webresourceerror test</title> </head> <body> <iframe src="https://notawebsite..com"STRING
HIGH…mple/integration_test/legacy/webview_flutter_test.dart0<!doctype html> <html> <head> <title>webresourceerror test</title> </head> <body> <iframe src="https://notawebsite..com"STRING
HIGH…/webview_flutter/webview_flutter/example/lib/main.dart0<!doctype html> <html lang="en"> <head> <title>load file or html string example</title> </head> <body> <h1>local demo paSTRING
HIGH…_flutter/webview_flutter_android/example/lib/main.dart0<!doctype html> <html lang="en"> <head> <title>load file or html string example</title> </head> <body> <h1>local demo paSTRING
HIGH…lutter/webview_flutter_wkwebview/example/lib/main.dart0<!doctype html> <html lang="en"> <head> <title>load file or html string example</title> </head> <body> <h1>local demo paSTRING
HIGH…/webview_flutter/webview_flutter/example/lib/main.dart0<!doctype html> <html> <head> <title>transparent background test</title> </head> <style type="text/css"> body { backgrouSTRING
HIGH…_flutter/webview_flutter_android/example/lib/main.dart0<!doctype html> <html> <head> <title>transparent background test</title> </head> <style type="text/css"> body { backgrouSTRING
HIGH…lutter/webview_flutter_wkwebview/example/lib/main.dart0<!doctype html> <html> <head> <title>transparent background test</title> </head> <style type="text/css"> body { backgrouSTRING
HIGH…/webview_flutter/webview_flutter/example/lib/main.dart0<!doctype html> <html lang="en"> <head> <title>load file or html string example</title> </head> <body onload="console.loSTRING
HIGH…_flutter/webview_flutter_android/example/lib/main.dart0<!doctype html> <html lang="en"> <head> <title>load file or html string example</title> </head> <body onload="console.loSTRING
HIGH…lutter/webview_flutter_wkwebview/example/lib/main.dart0<!doctype html> <html lang="en"> <head> <title>load file or html string example</title> </head> <body onload="console.loSTRING
HIGH…ps_flutter/google_maps_flutter_ios/tool/run_tests.dart0if the changes you made should be shared with other copies of the implementation, copy the changes to google_maps_flutteSTRING
HIGH…oogle_maps_flutter_ios_shared_code/tool/run_tests.dart0if the changes you made should be shared with other copies of the implementation, copy the changes to google_maps_flutteSTRING
HIGH…tter/google_maps_flutter_ios_sdk10/tool/run_tests.dart0if the changes you made should be shared with other copies of the implementation, copy the changes to google_maps_flutteSTRING
HIGH…utter/google_maps_flutter_ios_sdk9/tool/run_tests.dart0if the changes you made should be shared with other copies of the implementation, copy the changes to google_maps_flutteSTRING
HIGH…ps_flutter/google_maps_flutter_ios/tool/run_tests.dart0the following packages do not match the shared source code: ${failingpackages.map((p) => ' $p').join('\n')} if you manuaSTRING
HIGH…oogle_maps_flutter_ios_shared_code/tool/run_tests.dart0the following packages do not match the shared source code: ${failingpackages.map((p) => ' $p').join('\n')} if you manuaSTRING
HIGH…tter/google_maps_flutter_ios_sdk10/tool/run_tests.dart0the following packages do not match the shared source code: ${failingpackages.map((p) => ' $p').join('\n')} if you manuaSTRING
HIGH…utter/google_maps_flutter_ios_sdk9/tool/run_tests.dart0the following packages do not match the shared source code: ${failingpackages.map((p) => ' $p').join('\n')} if you manuaSTRING
HIGH…orekit/example/macos/RunnerTests/TranslatorTests.swift0unable to encode native userinfo object of type %@ to map. \ please submit an issue at https://github.com/flutter/flutteSTRING
HIGH…rekit/example/shared/RunnerTests/TranslatorTests.swift0unable to encode native userinfo object of type %@ to map. \ please submit an issue at https://github.com/flutter/flutteSTRING
1 more matches not shown…
Fake / Example Data71 hits · 82 pts
SeverityFileLineSnippetContext
LOW…d_party/packages/flutter_svg/test/widget_svg_test.dart894 return Container(key: const ValueKey<String>('placeholder'));CODE
LOW…d_party/packages/flutter_svg/test/widget_svg_test.dart900 expect(find.byKey(const ValueKey<String>('placeholder')), findsOneWidget);CODE
LOW…d_party/packages/flutter_svg/test/widget_svg_test.dart907 expect(find.byKey(const ValueKey<String>('placeholder')), findsNothing);CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1083 child: CupertinoTextField(placeholder: 'placeholder', textAlign: TextAlign.right),CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1088 final Text placeholder = tester.widget(find.text('placeholder'));CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1103 child: CupertinoTextField(placeholder: 'placeholder', textAlign: TextAlign.right),CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1108 final Text placeholder = tester.widget(find.text('placeholder'));CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1117 home: Center(child: CupertinoTextField(placeholder: 'placeholder')),CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1121 final Text placeholder = tester.widget(find.text('placeholder'));CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1126 final Element element = tester.element(find.text('placeholder'));CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1137 placeholder: 'placeholder',CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1145 final Text placeholder = tester.widget(find.text('placeholder'));CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1441 placeholder: 'placeholder',CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1455 expect(find.text('placeholder'), findsOneWidget);CODE
LOWpackages/cupertino_ui/test/text_field_test.dart1471 placeholder: 'placeholder',CODE
LOWpackages/cupertino_ui/test/text_field_test.dart6302 const testText = 'lorem ipsum';CODE
LOWpackages/cupertino_ui/test/text_field_test.dart10354 home: Center(child: CupertinoTextField(placeholder: 'placeholder')),CODE
LOWpackages/cupertino_ui/test/text_field_test.dart10368 child: IntrinsicHeight(child: CupertinoTextField(placeholder: 'placeholder')),CODE
LOWpackages/cupertino_ui/test/text_field_test.dart10383 child: IntrinsicWidth(child: CupertinoTextField(placeholder: 'placeholder')),CODE
LOWpackages/cupertino_ui/test/search_field_test.dart158 placeholder: 'placeholder',CODE
LOWpackages/cupertino_ui/test/search_field_test.dart166 final Text placeholder = tester.widget(find.text('placeholder'));CODE
LOWpackages/cupertino_ui/test/search_field_test.dart365 placeholder: 'placeholder',CODE
LOW…ges/cupertino_ui/test/text_selection_toolbar_test.dart591 CupertinoTextSelectionToolbarButton.text(onPressed: () {}, text: 'Lorem ipsum'),CODE
LOW…ges/cupertino_ui/test/text_selection_toolbar_test.dart592 CupertinoTextSelectionToolbarButton.text(onPressed: () {}, text: 'dolor sit amet'),CODE
LOW…ges/cupertino_ui/test/text_selection_toolbar_test.dart595 text: 'Lorem ipsum \ndolor sit amet',CODE
LOW…ges/cupertino_ui/test/text_selection_toolbar_test.dart595 text: 'Lorem ipsum \ndolor sit amet',CODE
LOWpackages/cupertino_ui/lib/src/text_field.dart976 properties.add(StringProperty('placeholder', placeholder));CODE
LOW…n/google_sign_in_ios/test/google_sign_in_ios_test.dart18 displayName: 'John Doe',CODE
LOW…e_sign_in/google_sign_in/test/google_sign_in_test.dart30 displayName: 'John Doe',CODE
LOWpackages/google_sign_in/google_sign_in/lib/testing.dart22/// email: 'jdoe@example.org',COMMENT
LOW…_sign_in_android/test/google_sign_in_android_test.dart18 displayName: 'John Doe',CODE
LOW…_sign_in_android/test/google_sign_in_android_test.dart439 const userEmail = 'user@example.com';CODE
LOW…_sign_in_android/test/google_sign_in_android_test.dart625 const userEmail = 'user@example.com';CODE
LOW…_sign_in_android/test/google_sign_in_android_test.dart822 const userEmail = 'user@example.com';CODE
LOW…_sign_in_android/test/google_sign_in_android_test.dart874 const userEmail = 'user@example.com';CODE
LOW…her_windows/windows/test/url_launcher_windows_test.cpp56 HKEY fake_key = reinterpret_cast<HKEY>(1);CODE
LOW…her_windows/windows/test/url_launcher_windows_test.cpp58 .WillOnce(DoAll(SetArgPointee<4>(fake_key), Return(ERROR_SUCCESS)));CODE
LOW…her_windows/windows/test/url_launcher_windows_test.cpp60 EXPECT_CALL(*system, RegCloseKey(fake_key)).WillOnce(Return(ERROR_SUCCESS));CODE
LOW…her_windows/windows/test/url_launcher_windows_test.cpp74 HKEY fake_key = reinterpret_cast<HKEY>(1);CODE
LOW…her_windows/windows/test/url_launcher_windows_test.cpp76 .WillOnce(DoAll(SetArgPointee<4>(fake_key), Return(ERROR_SUCCESS)));CODE
LOW…her_windows/windows/test/url_launcher_windows_test.cpp78 EXPECT_CALL(*system, RegCloseKey(fake_key)).WillOnce(Return(ERROR_SUCCESS));CODE
LOW…ekit/test/store_kit_wrappers/sk_test_stub_objects.dart11 requestData: 'fake-data-utf8',CODE
LOW…ekit/test/store_kit_wrappers/sk_test_stub_objects.dart19 requestData: 'fake-data-utf8',CODE
LOW…ekit/test/store_kit_wrappers/sk_test_stub_objects.dart27 requestData: 'fake-data-utf8',CODE
LOWpackages/material_ui/test/text_field_test.dart14440 const testText = 'lorem ipsum';CODE
LOWpackages/material_ui/test/text_field_test.dart14475 const testText = 'lorem ipsum';CODE
LOWpackages/material_ui/test/text_field_test.dart14514 const testText = 'lorem ipsum';CODE
LOWpackages/material_ui/test/filled_button_test.dart1803 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut a euismod nibh. Morbi laoreet purus.',CODE
LOWpackages/material_ui/test/filled_button_test.dart1803 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut a euismod nibh. Morbi laoreet purus.',CODE
LOWpackages/material_ui/test/text_button_test.dart1630 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut a euismod nibh. Morbi laoreet purus.',CODE
LOWpackages/material_ui/test/text_button_test.dart1630 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut a euismod nibh. Morbi laoreet purus.',CODE
LOWpackages/material_ui/test/selectable_text_test.dart4584 const testText = 'lorem ipsum';CODE
LOWpackages/material_ui/test/selectable_text_test.dart4614 const testText = 'lorem ipsum';CODE
LOW…rial_ui/test/adaptive_text_selection_toolbar_test.dart344 const text = 'lorem ipsum';CODE
LOWpackages/material_ui/test/elevated_button_test.dart1689 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut a euismod nibh. Morbi laoreet purus.',CODE
LOWpackages/material_ui/test/elevated_button_test.dart1689 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut a euismod nibh. Morbi laoreet purus.',CODE
LOWpackages/material_ui/test/outlined_button_test.dart1918 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut a euismod nibh. Morbi laoreet purus.',CODE
LOWpackages/material_ui/test/outlined_button_test.dart1918 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut a euismod nibh. Morbi laoreet purus.',CODE
LOWpackages/vector_graphics/test/vector_graphics_test.dart717 return Container(key: const ValueKey<String>('placeholder'));CODE
LOWpackages/vector_graphics/test/vector_graphics_test.dart724 expect(find.byKey(const ValueKey<String>('placeholder')), findsOneWidget);CODE
11 more matches not shown…
AI Slop Vocabulary12 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUM…kotlin/com/example/test_plugin/DataClassMethodsTest.kt300 // provides safe, complete, and robust validation across all 31 fields.COMMENT
MEDIUMpackages/material_ui/test/badge_test.dart86 // Essentially the same as 'Large Badge defaults'COMMENT
MEDIUMpackages/material_ui/lib/src/radio_list_tile.dart598 /// This property can be a [BorderSide] or a [WidgetStateBorderSide] to leverageCOMMENT
MEDIUMpackages/material_ui/lib/src/carousel.dart1880 // This allows seamless backward scrolling without hitting the boundary.COMMENT
MEDIUMpackages/material_ui/lib/src/radio.dart426 /// This property can be a [BorderSide] or a [WidgetStateBorderSide] to leverageCOMMENT
MEDIUMpackages/material_ui/lib/src/popup_menu.dart1471 /// and the button will utilize an [InkWell] for taps.COMMENT
MEDIUMpackages/material_ui/lib/src/slider.dart50 /// Essentially all possible interactions are allowed.COMMENT
MEDIUMpackages/material_ui/lib/src/bottom_sheet.dart818/// a bottom sheet that will utilize [DraggableScrollableSheet]. ConsiderCOMMENT
MEDIUMpackages/material_ui/lib/src/bottom_sheet.dart905 /// Specifies whether this is a route for a bottom sheet that will utilizeCOMMENT
MEDIUM…red_preferences/lib/src/shared_preferences_legacy.dart200 // Catching and clarifying UnimplementedError to provide a more robust message.COMMENT
MEDIUM…red_preferences/lib/src/shared_preferences_legacy.dart236 // Catching and clarifying UnimplementedError to provide a more robust message.STRING
MEDIUM…kages/google_fonts/lib/src/google_fonts_all_parts.dart14419 /// See [PartT.tapestry].COMMENT
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUManalysis_options.yaml3# This file is a copy of analysis_options.yaml from flutter repoCOMMENT
MEDIUMcustomer_testing.sh6# This file is used byCOMMENT
MEDIUMthird_party/packages/flutter_svg/example/pubspec.yaml22# The following section is specific to Flutter.COMMENT
MEDIUM…r_interceptor/pointer_interceptor/example/pubspec.yaml23# The following section is specific to Flutter.COMMENT
MEDIUM…kages/two_dimensional_scrollables/example/pubspec.yaml22# The following section is specific to Flutter packages.COMMENT
MEDIUMpackages/material_ui/lib/src/action_chip.dart67/// ### Creating an Assist chipCOMMENT
MEDIUMpackages/material_ui/lib/src/action_chip.dart74/// ### Creating a Suggestion chipCOMMENT
Magic Placeholder Names4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…/google_maps_flutter/google_maps_flutter_web/README.md24 <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY"></script>CODE
HIGH…/google_maps_flutter/google_maps_flutter_web/README.md35 src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=drawing">CODE
HIGH…/google_maps_flutter/google_maps_flutter_web/README.md43 src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=drawing,marker,visualization,places">CODE
HIGH…/google_maps_flutter/google_maps_flutter_web/README.md54 src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=marker">CODE
Excessive Try-Catch Wrapping7 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMscript/tool/lib/src/main.dart42 print('Error: Cannot find repository root');CODE
MEDIUMscript/tool/lib/src/main.dart48 print('Error: Cannot find a "packages" sub-directory');CODE
MEDIUMpackages/camera/camera/example/lib/main.dart43 print('Error: $code${message == null ? '' : '\nError Message: $message'}');CODE
MEDIUMpackages/camera/camera_android/example/lib/main.dart47 print('Error: $code${message == null ? '' : '\nError Message: $message'}');CODE
MEDIUM…es/camera/camera_android_camerax/example/lib/main.dart46 print('Error: $code${message == null ? '' : '\nError Message: $message'}');CODE
MEDIUM…kages/camera/camera_avfoundation/example/lib/main.dart47 print('Error: $code${message == null ? '' : '\nError Message: $message'}');CODE
MEDIUM…s_flutter/google_maps_flutter_web/lib/src/convert.dart933 // print('Error computing new focus LatLng. JS Error: ' + e.toString());COMMENT
Hallucination Indicators1 hit · 15 pts
SeverityFileLineSnippetContext
CRITICAL…rc/billing_client_wrappers/billing_client_wrapper.dart357/// [`com.android.billingclient.api.BillingClientStateListener.onServiceDisconnected()`](https://developer.android.com/rCOMMENT
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…er/example/lib/others/custom_stateful_shell_route.dart55 // custom container for the branch Navigators. In this implementation,COMMENT
HIGHpackages/material_ui/lib/src/scaffold.dart2128 /// [Scaffold]. In this solution, you would have an outer widget that createsCOMMENT
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…r_interceptor/pointer_interceptor/example/pubspec.yaml27 # included with your application, so that you can use the icons inCOMMENT
MEDIUMpackages/material_ui/lib/src/expansion_panel.dart176/// Here is a simple example of how to use [ExpansionPanelList].COMMENT
MEDIUMpackages/material_ui/lib/src/expansion_panel.dart216 /// Here is a simple example of how to implement ExpansionPanelList.radio.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…ra_android_camerax/lib/src/android_camera_camerax.dart1165 // Enable/disable recording audio as requested. If enabling audio is requestedCOMMENT
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOWpackages/go_router/test/on_enter_test.dart744 // Step 1: Go to a different routeCOMMENT
LOWpackages/go_router/lib/src/configuration.dart382 // Step 1: Apply top-level redirect first (self-recursive for chains).COMMENT
LOWpackages/go_router/lib/src/configuration.dart389 // Step 2: Then apply route-level redirects on the post-top-level result.COMMENT
Structural Annotation Overuse3 hits · 6 pts
SeverityFileLineSnippetContext
LOWpackages/go_router/test/on_enter_test.dart744 // Step 1: Go to a different routeCOMMENT
LOWpackages/go_router/lib/src/configuration.dart382 // Step 1: Apply top-level redirect first (self-recursive for chains).COMMENT
LOWpackages/go_router/lib/src/configuration.dart389 // Step 2: Then apply route-level redirects on the post-top-level result.COMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWpackages/google_sign_in/google_sign_in/lib/testing.dart11/// Example usage:COMMENT
LOW…ckages/video_player/video_player/lib/video_player.dart1047 /// Example usage:COMMENT
LOWpackages/material_ui/lib/src/stepper.dart1040/// Example usage:COMMENT