Repository Analysis

dart-lang/sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.

3.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of dart-lang/sdk, a Dart project with 11,210 GitHub stars. SynthScan v2.0 examined 5,327,691 lines of code across 27466 source files, recording 12545 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 3.1 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).

3.1
Adjusted Score
3.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
11.2K
Stars
Dart
Language
5.3M
Lines of Code
27.5K
Files
12.5K
Pattern Hits
2026-07-14
Scan Date
0.04
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 5HIGH 1097MEDIUM 227LOW 11216

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 12545 distinct pattern matches across 24 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 Block10388 hits · 9434 pts
SeverityFileLineSnippetContext
LOWtools/manage_deps.dart1#!tools/sdks/dart-sdk/bin/dartCOMMENT
LOWtools/build.py321 return 1COMMENT
LOWtools/generate_uri_parser_tables.dart1// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS fileCOMMENT
LOWtools/generate_uri_parser_tables.dart61/// Number of bits used to store a state.COMMENT
LOWtools/generate_uri_parser_tables.dart181COMMENT
LOWtools/generate_uri_parser_tables.dart201/// of the URI in order, from start to end, and for each character perform aCOMMENT
LOWtools/generate_uri_parser_tables.dart221/// Scan a string using the [_scannerTables] state machine.COMMENT
LOWtools/generate_uri_parser_tables.dart521 if (char <= 0xFF) {COMMENT
LOWtools/generate_uri_parser_tables.dart541/// a `@`, a second pass is needed to validate the scheme and any user-infoCOMMENT
LOWtools/generate_uri_parser_tables.dart561/// Is set to the first path character unless the path is empty.COMMENT
LOWtools/generate_uri_parser_tables.dart581/// scanner significantly), with an IPV6 host or with a capital letter inCOMMENT
LOWtools/addlatexhash.dart1#!/usr/bin/env dartCOMMENT
LOWtools/addlatexhash.dart61COMMENT
LOWtools/addlatexhash.dart241// source code lines, such as where \LMHash and \LMLabel commands areCOMMENT
LOWtools/3xhead_flutter_hooks.sh1#!/usr/bin/env bashCOMMENT
LOWtools/spec_parse.py1#!/usr/bin/env python3COMMENT
LOWtools/find_builders.dart1#!/usr/bin/env dartCOMMENT
LOWtools/task_kill.py141 results.append(split[0])COMMENT
LOWtools/publish_pkg.py1#!/usr/bin/env python3COMMENT
LOWtools/experimental_features.yaml1# Copyright (c) 2019, the Dart project authors. Please see the AUTHORS fileCOMMENT
LOWtools/experimental_features.yaml21#COMMENT
LOWtools/experimental_features.yaml41#COMMENT
LOWtools/experimental_features.yaml61#COMMENT
LOWtools/experimental_features.yaml81#COMMENT
LOWtools/experimental_features.yaml101# When an experiment is shipped, then the 'enabledIn' field is addedCOMMENT
LOWtools/copy_dart_to_flutter.dart1// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS fileCOMMENT
LOWtools/bots/__init__.py1# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS fileCOMMENT
LOWtools/patches/flutter-engine/apply.sh1#!/usr/bin/env bashCOMMENT
LOWtools/verify_docs/bin/verify_docs.dart541COMMENT
LOWtools/dom/scripts/css_code_generator.py1#!/usr/bin/env python3COMMENT
LOWtools/dom/scripts/templateloader.py1#!/usr/bin/env python3COMMENT
LOWtools/dom/scripts/systemnative.py701 raises = ('RaisesException' in attr.ext_attrs andCOMMENT
LOWtools/dom/scripts/go.sh1#!/usr/bin/env bashCOMMENT
LOWtools/dom/scripts/go.sh21# The following gives a picture of the changes due to 'work'COMMENT
LOWtools/dom/scripts/idlsync.py1# Upgrading Dart's SDK for HTML (blink IDLs).COMMENT
LOWtools/dom/scripts/idlsync.py21#COMMENT
LOWtools/dom/scripts/generator.py1021 # conversion function)COMMENT
LOWtools/dom/scripts/web_library_bindings_emitter.dart101 }COMMENT
LOWtools/dom/scripts/dartgenerator_test.py201 self._AssertOutputContains('Shape', ' Shape create();')COMMENT
LOWtools/dom/scripts/systemhtml.py1241 return NoneCOMMENT
LOWtools/dom/scripts/systemhtml.py1421 if operation.id == '__getter__' and 'getter' in operation.specials \COMMENT
LOWtools/dom/new_scripts/code_generator_dart.py1# Copyright (C) 2013 Google Inc. All rights reserved.COMMENT
LOWtools/dom/new_scripts/compiler.py1#!/usr/bin/env python3COMMENT
LOWtools/dom/new_scripts/dart_utilities.py1# Copyright (C) 2013 Google Inc. All rights reserved.COMMENT
LOWtools/dom/new_scripts/dart_utilities.py21# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,COMMENT
LOWtools/dom/new_scripts/dart_compiler.py1#!/usr/bin/env python3COMMENT
LOWtools/dom/src/Validators.dart221 // can't call methods. This does mean that you can't explicitly allow anCOMMENT
LOWtools/dom/src/dart2js_DOMImplementation.dart1// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS fileCOMMENT
LOWtools/dom/src/_chrome/app_window.dart461 /*COMMENT
LOW…me/custom_dart/app_window.AppWindow.contentWindow.dart1// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS fileCOMMENT
LOW…chrome/custom_dart/app_window.AppWindow.getBounds.dart1// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS fileCOMMENT
LOW…ls/dom/src/_chrome/custom_dart/app_window.current.dart1// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS fileCOMMENT
LOWruntime/PRESUBMIT.py1#!/usr/bin/env python3COMMENT
LOWruntime/CPPLINT.cfg1# Do not continue looking up the directory hierarchyCOMMENT
LOWruntime/tools/dart_profiler_symbols.py1#!/usr/bin/env python3COMMENT
LOWruntime/tools/bin_to_coff.py81# char e_name[8];COMMENT
LOWruntime/tools/graphexplorer/graphexplorer.js1// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS fileCOMMENT
LOWruntime/tools/dartfuzz/gen_type_table.dart1// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS fileCOMMENT
LOWruntime/tools/dartfuzz/gen_type_table.dart81// Complex types: Collection types instantiated with nested argumentCOMMENT
LOWruntime/tools/dartfuzz/gen_type_table.dart1021 }COMMENT
10328 more matches not shown…
Cross-File Repetition1063 hits · 5315 pts
SeverityFileLineSnippetContext
HIGHtests/web/native/native_field_invocation4_test.dart0(function(){ self.nativeid = function(x) { return x; } })()STRING
HIGHtests/web/native/native_field_invocation2_test.dart0(function(){ self.nativeid = function(x) { return x; } })()STRING
HIGHtests/web/native/native_field_invocation_test.dart0(function(){ self.nativeid = function(x) { return x; } })()STRING
HIGHtests/web/native/hash_code_test.dart0(function(){ function a() {} function b() {} self.makea = function(){return new a()}; self.makeb = function(){return newSTRING
HIGHtests/web/native/native_mixin_test.dart0(function(){ function a() {} function b() {} self.makea = function(){return new a()}; self.makeb = function(){return newSTRING
HIGHtests/web/native/native_mixin_multiple_test.dart0(function(){ function a() {} function b() {} self.makea = function(){return new a()}; self.makeb = function(){return newSTRING
HIGHtests/web/native/native_checked_fields_frog_test.dart0(function(){ function a() {} function b() {} self.makea = function(){return new a()}; self.makeb = function(){return newSTRING
HIGHtests/web/native/native_equals_frog_test.dart0(function(){ function a() {} function b() {} self.makea = function(){return new a()}; self.makeb = function(){return newSTRING
HIGHtests/web/native/subclassing_4_test.dart0(function(){ function b() {} self.makeb = function(){return new b()}; self.getbprototype = function(){return b.prototypeSTRING
HIGHtests/web/native/subclassing_type_test.dart0(function(){ function b() {} self.makeb = function(){return new b()}; self.getbprototype = function(){return b.prototypeSTRING
HIGHtests/web/native/subclassing_5_test.dart0(function(){ function b() {} self.makeb = function(){return new b()}; self.getbprototype = function(){return b.prototypeSTRING
HIGH…nfer_native_assets_yaml_dart_kernel_snapshot_test.dart0{ "configversion": 2, "packages": [ { "name": "meta", "rooturi": "$packagemetauri", "packageuri": "lib/", "languageversiSTRING
HIGH…_assets/infer_native_assets_yaml_process_run_test.dart0{ "configversion": 2, "packages": [ { "name": "meta", "rooturi": "$packagemetauri", "packageuri": "lib/", "languageversiSTRING
HIGH…ts/infer_native_assets_yaml_isolate_spawnuri_test.dart0{ "configversion": 2, "packages": [ { "name": "meta", "rooturi": "$packagemetauri", "packageuri": "lib/", "languageversiSTRING
HIGH…/infer_native_assets_yaml_isolate_spawnuri_3_test.dart0{ "configversion": 2, "packages": [ { "name": "meta", "rooturi": "$packagemetauri", "packageuri": "lib/", "languageversiSTRING
HIGHbenchmarks/MapLookup/generate_maps.dart0// copyright (c) 2021, the dart project authors. please see the authors file // for details. all rights reserved. use ofSTRING
HIGHpkg/front_end/tool/generate_messages_lib.dart0// copyright (c) 2021, the dart project authors. please see the authors file // for details. all rights reserved. use ofSTRING
HIGHpkg/compiler/tool/graph_isomorphizer.dart0// copyright (c) 2021, the dart project authors. please see the authors file // for details. all rights reserved. use ofSTRING
HIGHpkg/analyzer_plugin/PRESUBMIT.py0analysis server specific presubmit script. see http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts fSTRING
HIGHpkg/linter/PRESUBMIT.py0analysis server specific presubmit script. see http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts fSTRING
HIGHpkg/analyzer_cli/PRESUBMIT.py0analysis server specific presubmit script. see http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts fSTRING
HIGHpkg/analysis_server/PRESUBMIT.py0analysis server specific presubmit script. see http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts fSTRING
HIGH…s/completion/inherited_reference_contributor_test.dart0import 'a.dart'; class c extends b with m1, m2 { void f() { ^ } }STRING
HIGH…/completion/dart/declaration/local_reference_test.dart0import 'a.dart'; class c extends b with m1, m2 { void f() { ^ } }STRING
HIGH…mpletion/dart/declaration/imported_reference_test.dart0import 'a.dart'; class c extends b with m1, m2 { void f() { ^ } }STRING
HIGH…_plugin/test/src/utilities/completion/optype_test.dart0class c { const c.named(); c.notconstant(); } void f() { const c c = .n^ }STRING
HIGH…ocation/dot_shorthand_constructor_invocation_test.dart0class c { const c.named(); c.notconstant(); } void f() { const c c = .n^ }STRING
HIGH…etion/dart/location/dot_shorthand_invocation_test.dart0class c { const c.named(); c.notconstant(); } void f() { const c c = .n^ }STRING
HIGH…_plugin/test/src/utilities/completion/optype_test.dart0class c { const c.named(); c.notconstant(); } void f() { const c c = .^ }STRING
HIGH…est/src/dart/analysis/resolve_for_completion_test.dart0class c { const c.named(); c.notconstant(); } void f() { const c c = .^ }STRING
HIGH…ocation/dot_shorthand_constructor_invocation_test.dart0class c { const c.named(); c.notconstant(); } void f() { const c c = .^ }STRING
HIGH…etion/dart/location/dot_shorthand_invocation_test.dart0class c { const c.named(); c.notconstant(); } void f() { const c c = .^ }STRING
HIGHpkg/frontend_server/PRESUBMIT.py0cfe et al presubmit python script. see http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more STRING
HIGHpkg/_fe_analyzer_shared/PRESUBMIT.py0cfe et al presubmit python script. see http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more STRING
HIGHpkg/kernel/PRESUBMIT.py0cfe et al presubmit python script. see http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more STRING
HIGHpkg/front_end/PRESUBMIT.py0cfe et al presubmit python script. see http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more STRING
HIGHpkg/frontend_server/test/frontend_server_test.dart0{ "configversion": 2, "packages": [ { "name": "foo", "rooturi": "./", "packageuri": "./" } ] }STRING
HIGH…st/integration/expression_compiler_service_common.dart0{ "configversion": 2, "packages": [ { "name": "foo", "rooturi": "./", "packageuri": "./" } ] }STRING
HIGH…expression_compiler/expression_compiler_e2e_suite.dart0{ "configversion": 2, "packages": [ { "name": "foo", "rooturi": "./", "packageuri": "./" } ] }STRING
HIGH…er/test/module_symbols/module_symbols_test_shared.dart0{ "configversion": 2, "packages": [ { "name": "foo", "rooturi": "./", "packageuri": "./" } ] }STRING
HIGHpkg/dwds/test/frontend_server_common/bootstrap.dart0var baseurl = (function () { // attempt to detect --precompiled mode for tests, and set the base url // appropriately, oSTRING
HIGHpkg/dwds/lib/src/loaders/require.dart0var baseurl = (function () { // attempt to detect --precompiled mode for tests, and set the base url // appropriately, oSTRING
HIGHpkg/dwds/lib/src/loaders/ddc.dart0var baseurl = (function () { // attempt to detect --precompiled mode for tests, and set the base url // appropriately, oSTRING
HIGH…ules/prefer_const_constructors_in_immutables_test.dart0import 'package:meta/meta.dart'; @immutable class a { a(); }STRING
HIGH…r/test/src/services/correction/fix/add_const_test.dart0import 'package:meta/meta.dart'; @immutable class a { a(); }STRING
HIGH…src/diagnostics/invalid_immutable_annotation_test.dart0import 'package:meta/meta.dart'; @immutable class a { a(); }STRING
HIGHpkg/linter/test/rules/use_colored_box_test.dart0import 'package:flutter/widgets.dart'; widget f() { return container(); }STRING
HIGHpkg/linter/test/rules/use_decorated_box_test.dart0import 'package:flutter/widgets.dart'; widget f() { return container(); }STRING
HIGH…nter/test/rules/avoid_unnecessary_containers_test.dart0import 'package:flutter/widgets.dart'; widget f() { return container(); }STRING
HIGHpkg/linter/test/rules/use_super_parameters_test.dart0class a { a({int x = 0}); } class b extends a { b({int x = 0}) : super(x: x); }STRING
HIGH…orrection/assist/convert_to_super_parameters_test.dart0class a { a({int x = 0}); } class b extends a { b({int x = 0}) : super(x: x); }STRING
HIGH…s/correction/fix/convert_to_super_parameters_test.dart0class a { a({int x = 0}); } class b extends a { b({int x = 0}) : super(x: x); }STRING
HIGHpkg/linter/test/rules/use_super_parameters_test.dart0class a { a(int x); } class b extends a { b([int x = 0]) : super(x); }STRING
HIGH…orrection/assist/convert_to_super_parameters_test.dart0class a { a(int x); } class b extends a { b([int x = 0]) : super(x); }STRING
HIGH…s/correction/fix/convert_to_super_parameters_test.dart0class a { a(int x); } class b extends a { b([int x = 0]) : super(x); }STRING
HIGHpkg/linter/test/rules/use_super_parameters_test.dart0class a { a(int x, {int? y}); } class b extends a { b(int x, int y) : super(x, y: y); }STRING
HIGH…orrection/assist/convert_to_super_parameters_test.dart0class a { a(int x, {int? y}); } class b extends a { b(int x, int y) : super(x, y: y); }STRING
HIGH…s/correction/fix/convert_to_super_parameters_test.dart0class a { a(int x, {int? y}); } class b extends a { b(int x, int y) : super(x, y: y); }STRING
HIGHpkg/linter/test/rules/always_specify_types_test.dart0class a { int a; a(this.a); } f() { switch (a(1)) { case a(a: >0 && final int b): print(b); } }STRING
HIGHpkg/linter/test/rules/unnecessary_final_test.dart0class a { int a; a(this.a); } f() { switch (a(1)) { case a(a: >0 && final int b): print(b); } }STRING
1003 more matches not shown…
TODO Padding280 hits · 451 pts
SeverityFileLineSnippetContext
LOWtools/diff_results.dart318 // TODO: implement ==COMMENT
LOW…chmarks/SoundSplayTreeSieve/dart/sound_splay_tree.dart29 // TODO: implement keyCOMMENT
LOW…chmarks/SoundSplayTreeSieve/dart/sound_splay_tree.dart53 // TODO: implement keyCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4484 // TODO: implement zeroCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4505 // TODO: implement zeroCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4526 // TODO: implement addCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4549 // TODO: implement addCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4572 // TODO: implement performCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4594 // TODO: implement performCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4616 // TODO: implement forEachCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4639 // TODO: implement forEachCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4661 // TODO: implement getCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4684 // TODO: implement getCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4706 // TODO: implement getCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4731 // TODO: implement getCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4753 // TODO: implement fooCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4776 // TODO: implement fooCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4798 // TODO: implement fooCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4821 // TODO: implement fooCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4843 // TODO: implement testCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4864 // TODO: implement fooCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4887 // TODO: implement fooCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4908 // TODO: implement mCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4931 // TODO: implement fooCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4955 // TODO: implement fooCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4977 // TODO: implement valueCOMMENT
LOW…utilities/change_builder/change_builder_dart_test.dart4999 // TODO: implement valueCOMMENT
LOW…/src/utilities/change_builder/change_builder_dart.dart642 writeln('// TODO: implement $memberName');CODE
LOW…/src/utilities/change_builder/change_builder_dart.dart706 write('// TODO: implement $memberName');CODE
LOWpkg/analyzer_plugin/doc/tutorial/getting_started.md29 // TODO: implement createAnalysisDriverCOMMENT
LOWpkg/analyzer_plugin/doc/tutorial/getting_started.md36 // TODO: implement sendNotificationsForSubscriptionsCOMMENT
LOW…er_client/lib/src/dartdevc_frontend_server_client.dart113 /// TODO: implementCOMMENT
LOWpkg/cfg/lib/front_end/ast_to_ir.dart1142 // TODO: implement separate contexts for each iteration andCOMMENT
LOWpkg/analysis_server/test/lsp/completion_dart_test.dart3758 // TODO: implement nameCOMMENT
LOWpkg/analysis_server/test/lsp/completion_dart_test.dart4920 // TODO: implement myMethodCOMMENT
LOW…erver/test/shared/shared_code_actions_fixes_tests.dart741 // TODO: implement m$0COMMENT
LOW…erver/test/shared/shared_code_actions_fixes_tests.dart799 // TODO: implement m$0COMMENT
LOW…erver/test/shared/shared_code_actions_fixes_tests.dart865 // TODO: implement mCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart4113 // TODO: implement hashCodeCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart4117 // TODO: implement runtimeTypeCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart4122 // TODO: implement toStringCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart4128 // TODO: implement ==COMMENT
LOW…ver/test/services/completion/dart/completion_test.dart4134 // TODO: implement noSuchMethodCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart4578 // TODO: implement hashCodeCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart4582 // TODO: implement runtimeTypeCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart4587 // TODO: implement toStringCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart4593 // TODO: implement ==COMMENT
LOW…ver/test/services/completion/dart/completion_test.dart4599 // TODO: implement noSuchMethodCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9676 // TODO: implement hashCodeCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9680 // TODO: implement runtimeTypeCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9685 // TODO: implement toStringCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9691 // TODO: implement ==COMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9697 // TODO: implement noSuchMethodCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9744 // TODO: implement hashCodeCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9748 // TODO: implement runtimeTypeCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9753 // TODO: implement toStringCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9759 // TODO: implement ==COMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9765 // TODO: implement noSuchMethodCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9103 // TODO: implement toStringCOMMENT
LOW…ver/test/services/completion/dart/completion_test.dart9834 // TODO: implement hashCodeCOMMENT
220 more matches not shown…
Excessive Try-Catch Wrapping109 hits · 224 pts
SeverityFileLineSnippetContext
LOWtools/gn.py689 except Exception as e:CODE
MEDIUMtools/gn.py690 print('Error: %s' % e)CODE
LOWtools/utils.py611 except Exception as error:CODE
LOWtools/utils.py634 except Exception as error:CODE
LOWtools/utils.py667 except Exception as error:CODE
LOWtools/utils.py778 except Exception as error:CODE
LOWtools/utils.py916 except Exception as error:CODE
MEDIUMtools/utils.py608def TryUnlink(file):CODE
MEDIUMtools/utils.py631def _safe_cleanup(self):CODE
MEDIUMtools/utils.py645def __exit__(self, *_):CODE
MEDIUMtools/utils.py913def __exit__(self, *args):CODE
MEDIUMtools/build_devtools.py110 print(f'Error: Command failed with exit code {e.returncode}')CODE
LOWtools/build_devtools.py112 except Exception as e:CODE
MEDIUMtools/publish_pkg.py28 print('Error: did not find pubspec.yaml at ' + pubspec)CODE
MEDIUMtools/publish_pkg.py54 print('Error in %s: did not find package version.' % pubspec)CODE
MEDIUMtools/publish_pkg.py58 print('Error in %s: did not find SDK version constraint.' % pubspec)CODE
LOWtools/make_version.py145 except Exception as inst:CODE
MEDIUMtools/make_version.py87def main():CODE
MEDIUM…ols/dart2js/sourceMapViewer/bin/source_map_viewer.dart64 print("Error: $e");CODE
MEDIUMtools/spec_parser/spec_parse.dart16 print('Error parsing $arg:\n${result.stderr}');CODE
MEDIUMtools/dom/scripts/databasebuilder.py89def _compile_idl_file(build, file_name, import_options):CODE
MEDIUMtools/dom/scripts/databasebuilder.py105def _load_idl_file(build, file_name, import_options):CODE
MEDIUMtools/dom/scripts/databasebuilder.py157def generate_from_idl(self, idl_file):CODE
LOWtools/dom/scripts/databasebuilder.py94 except Exception as err:CODE
LOWtools/dom/scripts/databasebuilder.py112 except Exception as err:CODE
LOWtools/dom/scripts/databasebuilder.py161 except Exception as err:CODE
LOWtools/dom/scripts/templateloader_test.py33 except Exception as e:CODE
LOWtools/dom/scripts/idlnode.py85 except Exception as e:CODE
MEDIUMruntime/tools/heapsnapshot/lib/src/cli.dart40 state.output.print('An error occurred: $e\n$s');CODE
MEDIUMruntime/tools/dartfuzz/collect_data.py142 print('Error: --output-csv can only be provided for --type=sum')CODE
MEDIUMruntime/tests/vm/dart/isolates/regress_46539_test.dart30 print('Error: $error');CODE
MEDIUMtests/standalone/io/file_test.dart229 print('Error on input in testReadWriteStreamLargeFile');CODE
MEDIUMtests/web/regress/issue/22776_test.dart16 print("Error '$e' ${e.runtimeType}");CODE
MEDIUMthird_party/perfetto/tools/compile_perfetto_protos.dart151 print('Error: this tool must be run from the root directory of the SDK.');STRING
MEDIUMthird_party/perfetto/tools/compile_perfetto_protos.dart157 print('Error: this tool can only run on Linux or Mac OS X');STRING
MEDIUMthird_party/perfetto/tools/compile_perfetto_protos.dart166 print('Error: protoc binary must be available in PATH');STRING
MEDIUMthird_party/perfetto/tools/compile_perfetto_protos.dart171 print('Error: protozero_plugin binary must be available in PATH');STRING
LOWthird_party/binary_size/src/elf_symbolizer.py326 except Exception: # An exception while terminating? How interesting.CODE
MEDIUMsdk/lib/_internal/vm/bin/vmservice_io.dart96 print('Error in vm-service shutdown: $e\n$st\n');CODE
MEDIUMsdk/lib/async/future.dart865 /// print('Error: $err'); // Prints 401.COMMENT
MEDIUMsdk/lib/io/io.dart124/// }, onError: (e) => print("An error occurred."));COMMENT
MEDIUMsdk/lib/io/file.dart125/// print('Error: $e');COMMENT
MEDIUMsdk/lib/io/file.dart518 /// .handleError((e) => print('Error reading file: $e'));COMMENT
MEDIUMsdk/lib/io/file.dart563 /// print('Error writing file: $e');COMMENT
MEDIUMpkg/test_runner/test/update_error_cmdline_test.dart150 print('Error: Expected output: $expectedLine');CODE
MEDIUMpkg/test_runner/test/update_error_cmdline_test.dart155 print('Error: Expected update: $expectedUpdateText');CODE
MEDIUMpkg/test_runner/test/update_error_cmdline_test.dart159 print('Error: Expected exit code: 0');CODE
MEDIUMpkg/test_runner/lib/src/process_queue.dart1338 print('Error on batch runner input stream stdin');CODE
MEDIUMpkg/test_runner/lib/src/browser_controller.dart1105 if (!underTermination) print("Error occurred in httpserver: $e");CODE
MEDIUMpkg/test_runner/lib/src/configuration.dart493 print("Error: gen_snapshot output format must be specified in AOT mode.");CODE
MEDIUMpkg/test_runner/lib/src/configuration.dart508 print("Error: shard index is $shard out of $shardCount shards");CODE
MEDIUMpkg/test_runner/tool/convert_multitest.dart317 print("Error: failed to update ${file.path}");CODE
MEDIUMpkg/test_runner/tool/convert_multitest.dart352 print("Error: failed to update ${file.path}");CODE
MEDIUMpkg/native_stack_traces/bin/decode.dart181 print('Error: $message.\n');CODE
MEDIUMpkg/frontend_server/lib/frontend_server.dart682 print('Error: --recorded-uses option must be used with --aot');CODE
MEDIUMpkg/frontend_server/lib/frontend_server.dart705 print('Error: --no-sound-null-safety is not supported.');CODE
MEDIUMpkg/frontend_server/lib/frontend_server.dart756 print('Error: --no-link-platform option cannot be used with --aot');CODE
MEDIUMpkg/frontend_server/lib/frontend_server.dart767 print('Error: --incremental option cannot be used with --aot');CODE
MEDIUMpkg/frontend_server/lib/frontend_server.dart771 print('Error: --import-dill option cannot be used with --aot');CODE
MEDIUMpkg/frontend_server/lib/frontend_server.dart778 print('Error: --target-os option must be used with --aot');CODE
49 more matches not shown…
Fake / Example Data218 hits · 210 pts
SeverityFileLineSnippetContext
LOWtools/dom/web_library_bindings.dart59 'placeholder': {'placeholder'},CODE
LOWtools/dom/web_library_bindings.dart1601 'placeholder': {'placeholder'},CODE
LOWtools/dom/web_library_bindings.dart1885 'placeholder': {'placeholder'},CODE
LOWtools/dom/web_library_bindings.dart5093 'placeholder': 'placeholder',CODE
LOWtools/dom/web_library_bindings.dart6577 'placeholder': 'placeholder',CODE
LOWtools/dom/web_library_bindings.dart8518 'placeholder': 'placeholder',CODE
LOWtools/dom/dom.json170 "placeholder": {CODE
LOWtools/dom/dom.json10049 "placeholder": {},CODE
LOWtools/dom/dom.json11217 "placeholder": {},CODE
LOW…party/pkg/language_server_protocol/lsp_meta_model.json9995 "name": "placeholder",CODE
LOWpkg/dwds/test/integration/handlers/injector_test.dart210 expect(result.body.contains('dummy-id'), isTrue);CODE
LOWpkg/linter/messages.yaml7509 [!'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed'!]CODE
LOWpkg/linter/messages.yaml7509 [!'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed'!]CODE
LOWpkg/linter/messages.yaml7520 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed 'CODE
LOWpkg/linter/messages.yaml7520 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed 'CODE
LOWpkg/linter/messages.yaml7533 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed'CODE
LOWpkg/linter/messages.yaml7533 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed'CODE
LOWpkg/linter/messages.yaml7540 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed 'CODE
LOWpkg/linter/messages.yaml7540 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed 'CODE
LOWpkg/linter/tool/machine/rules.json1389 "details": "Add a trailing whitespace to prevent missing whitespace between adjacent\nstrings.\n\nWith long text splCODE
LOWpkg/linter/tool/machine/rules.json1389 "details": "Add a trailing whitespace to prevent missing whitespace between adjacent\nstrings.\n\nWith long text splCODE
LOWpkg/analysis_server/test/lsp/snippets_test.dart115 ..appendPlaceholder('placeholder')STRING
LOW…erformance/scenarios/logs/sdk_rename_driver_class.json20{"time":1768243502045,"kind":"message","sender":"server","receiver":"ide","message":{"id":2425,"jsonrpc":"2.0","result":CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart10 'Test0_0_0.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart11 'Test0_0_1.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart12 'Test0_0_2.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart13 'Test0_0_3.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart14 'Test0_0_4.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart15 'Test0_0_5.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart16 'Test0_0_6.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart17 'Test0_0_7.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart18 'Test0_1_0.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart19 'Test0_1_1.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart20 'Test0_1_2.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart21 'Test0_1_3.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart22 'Test0_1_4.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart23 'Test0_1_5.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart24 'Test0_1_6.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart25 'Test0_1_7.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart26 'Test0_2_0.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart27 'Test0_2_1.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart28 'Test0_2_2.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart29 'Test0_2_3.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart30 'Test0_2_4.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart31 'Test0_2_5.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart32 'Test0_2_6.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart33 'Test0_2_7.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart34 'Test0_3_0.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart35 'Test0_3_1.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart36 'Test0_3_2.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart37 'Test0_3_3.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart38 'Test0_3_4.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart39 'Test0_3_5.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart40 'Test0_3_6.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart41 'Test0_3_7.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart42 'Test1_0_0.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart43 'Test1_0_1.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart44 'Test1_0_2.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart45 'Test1_0_3.html': 'Lorem ipsum something or other...',CODE
LOWpkg/compiler/test/codesize/swarm/CannedData.dart46 'Test1_0_4.html': 'Lorem ipsum something or other...',CODE
158 more matches not shown…
AI Slop Vocabulary90 hits · 160 pts
SeverityFileLineSnippetContext
MEDIUMtools/dom/scripts/systemhtml.py2300 # The most robust way to emit path separators is to use / always.STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart364#6 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart374#6 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart384#6 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart323#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart339#6 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart353#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart396#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart411#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart424#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart437#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart452#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart465#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart478#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart493#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart506#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart518#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart532#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart544#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart557#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart572#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart585#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart649#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart664#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart677#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart688#3 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart701#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart712#3 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart725#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart740#6 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart753#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart766#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart781#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart794#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart807#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart822#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart835#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart848#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart863#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart876#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart887#3 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart900#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart911#3 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart923#4 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart937#5 runTest (harness.dart)STRING
MEDIUM…me/tests/vm/dart/awaiter_stacks/async_stacks_test.dart949#4 runTest (harness.dart)STRING
MEDIUM…m/dart/awaiter_stacks/flutter_regress_100441_test.dart93#3 runTest (harness.dart)STRING
MEDIUMruntime/vm/compiler/backend/flow_graph_compiler.h828 // Changes the base register of this Location if this allows us to utilizeCOMMENT
MEDIUMruntime/vm/compiler/backend/il.h2402// Fundamentally these Parameter instructions serve the sameCOMMENT
MEDIUMtests/standalone/io/http_loopback_test.dart41 // To make this test more robust we add a check that verifies that we didCOMMENT
MEDIUM…rred/deferred_constant_dependency_evaluation_test.dart12// dartbug.com/26406 for details on how we plan to make the task more robust.COMMENT
MEDIUM…terns/flow_analysis/pattern_assignment_error_test.dart75 x; // Definitely not assignedCODE
MEDIUM…terns/flow_analysis/pattern_assignment_error_test.dart80 x; // Definitely assignedCODE
MEDIUM…d_promotion_and_no_such_method_library_cycle_test.dart51 // make the overall test more robust; if there is a bug that prevents theCOMMENT
MEDIUMthird_party/binary_size/src/elf_symbolizer.py152 # Essentially, this drains all the addr2line(s) out queues.COMMENT
MEDIUMthird_party/binary_size/src/elf_symbolizer.py325 ) # Essentially wait() without risking deadlock.CODE
MEDIUMthird_party/binary_size/src/elf_symbolizer.py398 # Essentially this is a pipe able to extract a couple of lines atomically.COMMENT
MEDIUMbenchmarks/IsolateJson/dart/sample.json1{"1":[{"1":{"1":"https://images.pexels.com/photos/733416/pexels-photo-733416.jpeg?cs=srgb&dl=animal-dog-pet-733416.jpg&fCODE
MEDIUMbenchmarks/IsolateJson/dart/sample.json1{"1":[{"1":{"1":"https://images.pexels.com/photos/733416/pexels-photo-733416.jpeg?cs=srgb&dl=animal-dog-pet-733416.jpg&fCODE
MEDIUMpkg/frontend_server/test/frontend_server_flutter.dart342 // We utilize this here by a) loading with the (same) MultiBinaryLoaderCOMMENT
30 more matches not shown…
Cross-Language Confusion18 hits · 92 pts
SeverityFileLineSnippetContext
HIGHtools/dom/scripts/css_code_generator.py197 if (value == null) value = '';CODE
HIGHtools/dom/scripts/css_code_generator.py198 if (priority == null) priority = '';CODE
HIGHtools/dom/scripts/systemnative.py751 if (index < 0 || index >= length)CODE
HIGHtools/dom/scripts/systemnative.py815 ' if (index < 0 || index >= length)\n'STRING
HIGHtools/dom/scripts/systemnative.py1095 ' if (argumentCount == $ARGC && name == "$NATIVE_BINDING") {\n'STRING
HIGHtools/dom/scripts/generate_blink_file.py115 if (obj != null) return obj;CODE
HIGHtools/dom/scripts/generate_blink_file.py201 print(Blink_JsNative_DomException.getPropertyStats.toString());CODE
HIGHtools/dom/scripts/generate_blink_file.py202 print(Blink_JsNative_DomException.setPropertyStats.toString());CODE
HIGHtools/dom/scripts/generate_blink_file.py203 print(Blink_JsNative_DomException.callMethodStats.toString());CODE
HIGHtools/dom/scripts/generate_blink_file.py204 print(Blink_JsNative_DomException.constructorStats.toString());CODE
HIGHtools/dom/scripts/htmldartgenerator.py426 '(%s is %s || %s == null)' %CODE
HIGHtools/dom/scripts/htmldartgenerator.py621 ' if ($E != null) e.$E = $E;\n',CODE
HIGHtools/dom/scripts/htmldartgenerator.py774 convert_map = ' var %s = null;\n'\CODE
HIGHtools/dom/scripts/htmldartgenerator.py775 ' if (%s != null) {\n'\CODE
HIGHtools/dom/scripts/dartmetadata.py62 # Normally Window is never null, but starting from a <template> element inCOMMENT
HIGHtools/dom/scripts/systemhtml.py525 "JS('bool', '!!(window.crypto && window.crypto.getRandomValues)')",CODE
HIGHtools/dom/scripts/systemhtml.py1910 ' = null;\n',STRING
HIGHtools/dom/scripts/systemhtml.py1913 ' != null) {\n',STRING
Deep Nesting95 hits · 88 pts
SeverityFileLineSnippetContext
LOWPRESUBMIT.py56CODE
LOWPRESUBMIT.py460CODE
LOWtools/build.py66CODE
LOWtools/build.py133CODE
LOWtools/build.py270CODE
LOWtools/build.py311CODE
LOWtools/build_test_fast.py33CODE
LOWtools/build_test_fast.py65CODE
LOWtools/build_test_fast.py85CODE
LOWtools/gn.py65CODE
LOWtools/gn.py100CODE
LOWtools/gn.py190CODE
LOWtools/gn.py340CODE
LOWtools/gn.py610CODE
LOWtools/gn.py661CODE
LOWtools/utils.py232CODE
LOWtools/utils.py645CODE
LOWtools/utils.py880CODE
LOWtools/build_devtools.py17CODE
LOWtools/publish_pkg.py21CODE
LOWtools/make_version.py87CODE
LOWtools/bots/bot_utils.py60CODE
LOWtools/dom/scripts/mdnreader.py18CODE
LOWtools/dom/scripts/mdnreader.py43CODE
LOWtools/dom/scripts/mdnreader.py295CODE
LOWtools/dom/scripts/templateloader.py62CODE
LOWtools/dom/scripts/systemnative.py158CODE
LOWtools/dom/scripts/systemnative.py558CODE
LOWtools/dom/scripts/systemnative.py1009CODE
LOWtools/dom/scripts/fremontcutbuilder.py163CODE
LOWtools/dom/scripts/idlrenderer.py9CODE
LOWtools/dom/scripts/idlrenderer.py34CODE
LOWtools/dom/scripts/generate_blink_file.py580CODE
LOWtools/dom/scripts/idlsync.py157CODE
LOWtools/dom/scripts/idlsync.py226CODE
LOWtools/dom/scripts/databasebuilder.py197CODE
LOWtools/dom/scripts/databasebuilder.py267CODE
LOWtools/dom/scripts/databasebuilder.py361CODE
LOWtools/dom/scripts/databasebuilder.py507CODE
LOWtools/dom/scripts/databasebuilder.py534CODE
LOWtools/dom/scripts/databasebuilder.py711CODE
LOWtools/dom/scripts/databasebuilder.py755CODE
LOWtools/dom/scripts/databasebuilder.py886CODE
LOWtools/dom/scripts/databasebuilder.py930CODE
LOWtools/dom/scripts/databasebuilder.py970CODE
LOWtools/dom/scripts/databasebuilder.py989CODE
LOWtools/dom/scripts/databasebuilder.py1005CODE
LOWtools/dom/scripts/dartgenerator.py274CODE
LOWtools/dom/scripts/htmldartgenerator.py123CODE
LOWtools/dom/scripts/htmldartgenerator.py161CODE
LOWtools/dom/scripts/htmldartgenerator.py182CODE
LOWtools/dom/scripts/htmldartgenerator.py359CODE
LOWtools/dom/scripts/htmldartgenerator.py554CODE
LOWtools/dom/scripts/htmldartgenerator.py987CODE
LOWtools/dom/scripts/htmldartgenerator.py405CODE
LOWtools/dom/scripts/generator.py873CODE
LOWtools/dom/scripts/generator.py2088CODE
LOWtools/dom/scripts/dartmetadata.py822CODE
LOWtools/dom/scripts/dartmetadata.py909CODE
LOWtools/dom/scripts/idlnode.py110CODE
35 more matches not shown…
Unused Imports84 hits · 84 pts
SeverityFileLineSnippetContext
LOWtools/test.py8CODE
LOWtools/find_depot_tools.py9CODE
LOWtools/find_depot_tools.py46CODE
LOWtools/utils.py8CODE
LOWtools/utils.py11CODE
LOWtools/write_version_file.py7CODE
LOWtools/write_revision_file.py7CODE
LOWtools/copy_tree.py7CODE
LOWtools/copy_tree.py9CODE
LOWtools/make_version.py8CODE
LOWtools/minidump.py9CODE
LOWtools/minidump.py10CODE
LOWtools/bots/bot_utils.py7CODE
LOWtools/debian_package/create_debian_package.py12CODE
LOWtools/debian_package/create_debian_package.py15CODE
LOWtools/debian_package/get_timestamp.py8CODE
LOWtools/debian_package/get_timestamp.py9CODE
LOWtools/debian_package/get_timestamp.py9CODE
LOWtools/debian_package/get_version.py8CODE
LOWtools/debian_package/get_version.py9CODE
LOWtools/debian_package/get_version.py9CODE
LOWtools/dom/scripts/htmlrenamer.py5CODE
LOWtools/dom/scripts/mdnreader.py9CODE
LOWtools/dom/scripts/css_code_generator.py9CODE
LOWtools/dom/scripts/css_code_generator.py9CODE
LOWtools/dom/scripts/prototype_css_generator.py9CODE
LOWtools/dom/scripts/prototype_css_generator.py9CODE
LOWtools/dom/scripts/systemnative.py11CODE
LOWtools/dom/scripts/systemnative.py12CODE
LOWtools/dom/scripts/systemnative.py13CODE
LOWtools/dom/scripts/systemnative.py13CODE
LOWtools/dom/scripts/systemnative.py13CODE
LOWtools/dom/scripts/systemnative.py14CODE
LOWtools/dom/scripts/idlrenderer.py6CODE
LOWtools/dom/scripts/databasebuilder_test.py14CODE
LOWtools/dom/scripts/databasebuilder.py10CODE
LOWtools/dom/scripts/databasebuilder.py22CODE
LOWtools/dom/scripts/databasebuilder.py24CODE
LOWtools/dom/scripts/databasebuilder.py26CODE
LOWtools/dom/scripts/dartgenerator.py7CODE
LOWtools/dom/scripts/dartgenerator.py12CODE
LOWtools/dom/scripts/dartgenerator.py13CODE
LOWtools/dom/scripts/dartgenerator.py14CODE
LOWtools/dom/scripts/multiemitter_test.py9CODE
LOWtools/dom/scripts/htmldartgenerator.py20CODE
LOWtools/dom/scripts/htmldartgenerator.py21CODE
LOWtools/dom/scripts/generator.py9CODE
LOWtools/dom/scripts/generator.py11CODE
LOWtools/dom/scripts/generator.py15CODE
LOWtools/dom/scripts/dartmetadata.py13CODE
LOWtools/dom/scripts/dartmetadata.py14CODE
LOWtools/dom/scripts/dartdomgenerator.py51CODE
LOWtools/dom/scripts/dartdomgenerator.py56CODE
LOWtools/dom/scripts/dartdomgenerator.py60CODE
LOWtools/dom/scripts/dartdomgenerator.py63CODE
LOWtools/dom/scripts/dartdomgenerator.py63CODE
LOWtools/dom/scripts/multiemitter.py8CODE
LOWtools/dom/scripts/multiemitter.py9CODE
LOWtools/dom/scripts/systemhtml.py14CODE
LOWtools/dom/scripts/systemhtml.py15CODE
24 more matches not shown…
Structural Annotation Overuse38 hits · 71 pts
SeverityFileLineSnippetContext
LOWtools/dom/scripts/databasebuilder.py538 # Step 1: Pre process imported interfacesCOMMENT
LOWtools/dom/scripts/databasebuilder.py542 # Step 2: Add all new interfaces and merge overlapping onesCOMMENT
LOWtools/dom/scripts/databasebuilder.py565 # Step 4: Resolve 'implements' statementsCOMMENT
LOWtools/dom/scripts/databasebuilder.py553 # Step 3: Merge in supplemental interfacesCOMMENT
LOWruntime/vm/os.h57 // NOTE: This function will return -1 on OSs that are not supported.COMMENT
LOWruntime/vm/intrusive_dlist.h181 // NOTE: This function only checks whether [a] is linked inside *a*COMMENT
LOWdocs/Code-review-workflow-with-GitHub-and-Gerrit.md14## Step 1: get the sourceCOMMENT
LOWdocs/Code-review-workflow-with-GitHub-and-Gerrit.md22## Step 2: verify that git-cl is configured correctly.COMMENT
LOWdocs/Code-review-workflow-with-GitHub-and-Gerrit.md33## Step 3: Create a branch for your new changesCOMMENT
LOWdocs/Code-review-workflow-with-GitHub-and-Gerrit.md40## Step 4: Do your changes and commit them locally in gitCOMMENT
LOWdocs/Code-review-workflow-with-GitHub-and-Gerrit.md46## Step 5: Upload CL using 'git cl' (installed with gcl)COMMENT
LOWdocs/Code-review-workflow-with-GitHub-and-Gerrit.md53## Step 6: Make code review changes and publish new versions of your codeCOMMENT
LOWdocs/Code-review-workflow-with-GitHub-and-Gerrit.md59## Step 7: Sync up to latest changesCOMMENT
LOWdocs/Code-review-workflow-with-GitHub-and-Gerrit.md78## Step 8: Submit your changesCOMMENT
LOWdocs/Code-review-workflow-with-GitHub-and-Gerrit.md84## Step 9: Clean up the messCOMMENT
LOWdocs/Code-review-workflow-with-GitHub-and-Gerrit.md91## Step 10: Goto step 3COMMENT
LOWdocs/process/breaking-changes.md70### Step 1: AnnouncementCOMMENT
LOWdocs/process/breaking-changes.md98### Step 2: ApprovalCOMMENT
LOWdocs/process/breaking-changes.md106### Step 3: ExecutionCOMMENT
LOWdocs/process/breaking-changes.md127### Step 4: FinalizationCOMMENT
LOWpkg/dwds/CONTRIBUTING.md92## Step 1: Publish DWDS to pubCOMMENT
LOWpkg/dwds/CONTRIBUTING.md106## Step 2: Publish Webdev to pubCOMMENT
LOWpkg/_js_interop_checks/lib/src/js_interop.dart299/// NOTE: This function was based off ofCOMMENT
LOWpkg/dds/lib/src/dap/adapters/dart.dart2117 // Step 1: return the single child that lazy: true expectsCOMMENT
LOWpkg/dds/lib/src/dap/adapters/dart.dart2128 // Step 2: call _readNativeMemory and return byte variablesCOMMENT
LOWpkg/analyzer/lib/src/util/graph.dart19 // Step 1: Set the preorder number of [vertex] to [count], and incrementCOMMENT
LOWpkg/analyzer/lib/src/util/graph.dart23 // Step 2: Push [vertex] onto [unassigned] and also onto [candidates].COMMENT
LOWpkg/analyzer/lib/src/util/graph.dart27 // Step 3: For each edge from [vertex] to a neighboring vertex [neighbor]:COMMENT
LOWpkg/analyzer/lib/src/util/graph.dart46 // Step 4: If [vertex] is the top element of [candidates]:COMMENT
LOWpkg/kernel/lib/util/graph.dart55 // Step 1: Set the preorder number of [vertex] to [count], and incrementCOMMENT
LOWpkg/kernel/lib/util/graph.dart59 // Step 2: Push [vertex] onto [unassigned] and also onto [candidates].COMMENT
LOWpkg/kernel/lib/util/graph.dart63 // Step 3: For each edge from [vertex] to a neighboring vertex [neighbor]:COMMENT
LOWpkg/kernel/lib/util/graph.dart82 // Step 4: If [vertex] is the top element of [candidates]:COMMENT
LOW…/front_end/test/crashing_test_case_minimizer_impl.dart619 // Step 1: Remove all imports/exports *of* this file (the inlinable file).COMMENT
LOW…/front_end/test/crashing_test_case_minimizer_impl.dart625 // Step 2: Find the last import/export.COMMENT
LOW…/front_end/test/crashing_test_case_minimizer_impl.dart643 // Step 3: Insert the content of the file there. Note, though,COMMENT
LOW…/front_end/test/crashing_test_case_minimizer_impl.dart665 // Step 4: Try it out.COMMENT
LOW…/front_end/test/crashing_test_case_minimizer_impl.dart712 // Step 4: Try it out.COMMENT
Self-Referential Comments25 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUMpubspec.yaml5# This file defines pub workspace for the sdk enabling a common resolution.COMMENT
MEDIUMtools/utils.py5# This file contains a set of utilities functions used by other Python-basedCOMMENT
MEDIUMtools/minidump.py5# This file contains a set of utilities for parsing minidumps.COMMENT
MEDIUMtools/dom/scripts/monitored.py5"""This module provides maps and sets that report unused elements."""STRING
MEDIUMtools/dom/scripts/systemnative.py5"""This module provides shared functionality for the systems to generateSTRING
MEDIUMtools/dom/scripts/databasebuilder.py104# Create the Model (IDLFile) from the new AST of the compiled IDL file.COMMENT
MEDIUMtools/dom/scripts/htmldartgenerator.py5"""This module provides shared functionality for the system to generateSTRING
MEDIUMtools/dom/scripts/generator.py92 # The following classes are enabled just to get the build to go.COMMENT
MEDIUMtools/dom/scripts/generator.py5"""This module provides shared functionality for systems to generateSTRING
MEDIUMtools/dom/scripts/dartmetadata.py5"""This module provides shared functionality to provide Dart metadata forSTRING
MEDIUMtools/dom/scripts/systemhtml.py5"""This module provides shared functionality for the system to generateSTRING
MEDIUMtools/dom/scripts/htmleventgenerator.py5"""This module provides functionality to generate dart:html event classes."""STRING
MEDIUMtools/dom/new_scripts/code_generator_dart.py313 # Create a dummy file as output for the build system,COMMENT
MEDIUMruntime/tools/bin_to_coff.py184 # Create the buffer and start building.COMMENT
MEDIUMtests/standalone/io/create_sample_certificates.sh24# Create a self-signed certificate authority.COMMENT
MEDIUMtests/standalone/io/create_sample_certificates.sh29# Create a certificate request for the intermediate authority.COMMENT
MEDIUMtests/standalone/io/create_sample_certificates.sh42# Create a certificate request for the server certificateCOMMENT
MEDIUMtests/standalone/io/create_sample_certificates.sh61# Create a self-signed client certificate authority.COMMENT
MEDIUMsdk/lib/io/directory.dart28/// ## Create a directoryCOMMENT
MEDIUMpkg/_fe_analyzer_shared/messages.yaml5# This file contains error messages that are shared between the analyzer and theCOMMENT
MEDIUMpkg/observatory/update_sources.py30# This file contains all dart, css, and html sources for Observatory.COMMENT
MEDIUM…rver/lib/src/services/correction/error_fix_status.yaml1# This file contains information about the status of supporting fixes for everyCOMMENT
MEDIUMpkg/compiler/test/codesize/swarm/buildapp.py64 # Create a DartC and Dartium appCOMMENT
MEDIUMpkg/analyzer/messages.yaml11# This file is organized as a two level map, where the outer key corresponds toCOMMENT
MEDIUM…nt_end/testcases/incremental/no_outline_change_17.yaml6# Create a load library tearoff method.COMMENT
Hyper-Verbose Identifiers59 hits · 58 pts
SeverityFileLineSnippetContext
LOWPRESUBMIT.py41def files_to_check_for_format(input_api, extension, exclude_folders):CODE
LOWtools/build_test_fast.py33def get_minimal_build_targets(compiler, test_paths):CODE
LOWtools/build_test_fast.py65def guess_compiler_from_paths(test_paths):CODE
LOWtools/generate_package_config.py27def checked_in_sdk_executable():CODE
LOWtools/generate_large_tests.py26def checked_in_sdk_executable():CODE
LOWtools/dom/scripts/mdnreader.py239def _is_simple_support_statement(support_statement):CODE
LOWtools/dom/scripts/databasebuilder_test.py334 def test_annotation_normalization(self):CODE
LOWtools/dom/scripts/generate_blink_file.py387def generate_parameter_entries(param_infos):STRING
LOWtools/dom/scripts/idlsync.py226def remove_obsolete_webcore_files(webcore_dir, webkit_dir, subdir):CODE
LOWtools/dom/scripts/databasebuilder.py534 def merge_imported_interfaces(self):CODE
LOWtools/dom/scripts/databasebuilder.py572 def _compute_dart_idl_implements(self, idl_filename):CODE
LOWtools/dom/scripts/databasebuilder.py1055 def _dictionary_constructor_types(self, node):STRING
LOWtools/dom/scripts/databasebuilder.py1062 def _no_interface_constructor_types(self, node):STRING
LOWtools/dom/scripts/generator.py1210 def vector_to_dart_template_parameter(self):CODE
LOWtools/dom/scripts/generator.py1283 def return_to_dart_conversion(self,CODE
LOWtools/dom/scripts/generator.py1413 def vector_to_dart_template_parameter(self):CODE
LOWtools/dom/scripts/generator.py1438 def return_to_dart_conversion(self,CODE
LOWtools/dom/scripts/generator.py1471 def vector_to_dart_template_parameter(self):CODE
LOWtools/dom/scripts/generator.py1510 def return_to_dart_conversion(self,CODE
LOWtools/dom/scripts/generator.py1566 def return_to_dart_conversion(self, value, auto_dart_scope_setup,CODE
LOWtools/dom/scripts/generator.py1592 def return_to_dart_conversion(self, value, auto_dart_scope_setup,CODE
LOWtools/dom/scripts/generator.py1615 def return_to_dart_conversion(self, value, auto_dart_scope_setup,CODE
LOWtools/dom/scripts/idlnode_test.py106 def test_implements_statement(self):STRING
LOWtools/dom/new_scripts/compiler.py70def idl_filename_to_interface_name(idl_filename):CODE
LOWtools/dom/new_scripts/dart_utilities.py62def _activity_logging_world_list(member, access_type=None):CODE
LOWtools/dom/new_scripts/dart_compiler.py71def idl_filename_to_interface_name(idl_filename):CODE
LOWtools/dom/new_scripts/dart_compiler.py115 def generate_global_and_write(self, output_filenames):CODE
LOWruntime/tools/dartfuzz/update_spreadsheet.py92def get_run_statistic_summary(run):CODE
LOWsdk/lib/_internal/js_runtime/lib/native_helper.dart454 function getUnknownTagGenericBrowser(object, tag) {CODE
LOWpkg/test_runner/lib/src/browser_controller.dart1490 function sendRepeatingStatusUpdate() {STRING
LOW…ysis_server_client/lib/src/protocol/protocol_base.dart281abstract class RequestHandler {CODE
LOWpkg/observatory/web/timeline.js100 function groupIsolatedPerThreadSequences(events) {CODE
LOWpkg/observatory/web/timeline.js144 function sequenceToBlockDescriptor(input) {CODE
LOWpkg/observatory/web/timeline.js190 function removePreFrameworkGPUBlocks(input) {CODE
LOW…dart_runtime_service/test/web/sse_smoke_driver.dart.js43a[b]=r}function setOrUpdateInterceptorsByTag(a){var s=v.interceptorsByTagCODE
LOW…dart_runtime_service/test/web/sse_smoke_driver.dart.js43a[b]=r}function setOrUpdateInterceptorsByTag(a){var s=v.interceptorsByTagCODE
LOW…dart_runtime_service/test/web/sse_smoke_driver.dart.js45return}copyProperties(a,s)}function setOrUpdateLeafTags(a){var s=v.leafTagsCODE
LOW…dart_runtime_service/test/web/sse_smoke_driver.dart.js4030 function getUnknownTagGenericBrowser(object, tag) {CODE
LOWpkg/dart2wasm/lib/js/runtime_blob.dart172 async function handleDeferredModuleBytes(moduleName, source) {CODE
LOWpkg/dds/test/web/sse_smoke_driver.dart.js49 function setFunctionNamesIfNecessary(holders) {CODE
LOWpkg/dds/test/web/sse_smoke_driver.dart.js197 function setOrUpdateInterceptorsByTag(newTags) {CODE
LOWpkg/dds/test/web/sse_smoke_driver.dart.js197 function setOrUpdateInterceptorsByTag(newTags) {CODE
LOWpkg/dds/test/web/sse_smoke_driver.dart.js205 function setOrUpdateLeafTags(newTags) {CODE
LOWpkg/dds/test/web/sse_smoke_driver.dart.js299 EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {CODE
LOWpkg/dds/test/web/sse_smoke_driver.dart.js1280 NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {CODE
LOWpkg/dds/test/web/sse_smoke_driver.dart.js4167 JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {CODE
LOWpkg/dds/test/web/sse_smoke_driver.dart.js4436 ConcurrentModificationError: function ConcurrentModificationError(t0) {CODE
LOWpkg/dds/test/web/sse_smoke_driver.dart.js4443 CyclicInitializationError: function CyclicInitializationError(t0) {CODE
LOWpkg/dds/test/web/sse_smoke_driver.dart.js14445 function getUnknownTagGenericBrowser(object, tag) {CODE
LOWpkg/analysis_server/lib/protocol/protocol.dart230abstract class RequestHandler {CODE
LOW…rver/lib/src/handler/legacy/server_cancel_request.dart11class ServerCancelRequestHandler extends LegacyHandler {CODE
LOW…server/lib/src/handler/legacy/unsupported_request.dart11class UnsupportedRequestHandler extends LegacyHandler {CODE
LOW…erver/lib/src/lsp/handlers/handler_cancel_request.dart9class CancelRequestHandler extends SharedMessageHandler<CancelParams, void> {CODE
LOWpkg/compiler/test/dump_info/data/js_members.dart12 "id": "constant/B.C_JS_CONST0 = function() {\n var toStringFunction = Object.prototype.toString;\n function getTag(oCODE
LOWpkg/compiler/test/dump_info/data/js_members.dart17 "code": "B.C_JS_CONST0 = function() {\n var toStringFunction = Object.prototype.toString;\n function getTag(o) {\n CODE
LOWpkg/compiler/test/codesize/swarm/appengine/main.py293class DataHandler(webapp.RequestHandler):CODE
LOW…b/src/js_emitter/startup_emitter/fragment_emitter.dart279function setOrUpdateInterceptorsByTag(newTags) {STRING
LOW…b/src/js_emitter/startup_emitter/fragment_emitter.dart279function setOrUpdateInterceptorsByTag(newTags) {STRING
LOW…b/src/js_emitter/startup_emitter/fragment_emitter.dart291function setOrUpdateLeafTags(newTags) {STRING
Cross-Language Confusion (JS/TS)8 hits · 58 pts
SeverityFileLineSnippetContext
HIGHsdk/lib/_internal/js_runtime/lib/preambles/jsshell.js285 print(stack);CODE
HIGHpkg/sourcemap_testing/lib/src/js/inspector.js91 print("");CODE
HIGHpkg/sourcemap_testing/lib/src/js/inspector.js92 print("--- Debugger stacktrace start ---");CODE
HIGHpkg/sourcemap_testing/lib/src/js/inspector.js96 print("--- Debugger stacktrace end ---");CODE
HIGHpkg/sourcemap_testing/lib/src/js/inspector.js97 print("");CODE
HIGHpkg/sourcemap_testing/lib/src/js/inspector.js105 print(" at " + functionName + " ("CODE
HIGHpkg/dart2wasm/bin/run_wasm.js333 print('Error: ' + e);CODE
HIGHpkg/dart2wasm/bin/run_wasm.js334 print('Stack: ' + e.stack);CODE
Synthetic Comment Markers7 hits · 52 pts
SeverityFileLineSnippetContext
HIGHtests/standalone/io/platform_executable_test.dart5// This test was generated by Gemini.COMMENT
HIGHsdk/lib/_http/websocket.dart153 /// negotiating the max window bits for both client and server as requestedCOMMENT
HIGH…/refactoring/framework/write_invocation_arguments.dart15/// Replaces [argumentList] with new code that has arguments as requestedCOMMENT
HIGH…ices/refactoring/agnostic/change_method_signature.dart43/// Fills [builder] with changes as requested with [signatureUpdate], andCOMMENT
HIGH…ices/refactoring/agnostic/change_method_signature.dart728 /// Replaces [argumentList] with new code that has arguments as requestedCOMMENT
HIGH…ices/refactoring/agnostic/change_method_signature.dart775 /// Replaces formal parameters of [element] with new code as requestedCOMMENT
HIGHpkg/compiler/test/codegen/data/codeUnitAt_folding.dart72 // No bound check, as requested.COMMENT
Hallucination Indicators5 hits · 45 pts
SeverityFileLineSnippetContext
CRITICALpkg/analysis_server_client/test/server_test.dart132 process.mockin.controller.stream.first.then((_) {CODE
CRITICALpkg/analyzer/test/src/lint/pub_test.dart234 // expect(spec.name.key.span.sourceUrl.toFilePath(windows: false),STRING
CRITICALpkg/front_end/test/summary_generator_test.dart94 component.libraries.single.importUri.path.endsWith('a.dart'),CODE
CRITICALpkg/front_end/test/summary_generator_test.dart109 component.libraries.single.importUri.path.endsWith('b.dart'),CODE
CRITICAL…ront_end/lib/src/type_inference/inference_visitor.dart3038 libraryBuilder.loader.target.dillTarget.loader.lookupLibraryBuilder(CODE
Verbosity Indicators23 hits · 43 pts
SeverityFileLineSnippetContext
LOWtools/dom/scripts/databasebuilder.py538 # Step 1: Pre process imported interfacesCOMMENT
LOWtools/dom/scripts/databasebuilder.py542 # Step 2: Add all new interfaces and merge overlapping onesCOMMENT
LOWtools/dom/scripts/databasebuilder.py565 # Step 4: Resolve 'implements' statementsCOMMENT
LOWtools/dom/scripts/databasebuilder.py553 # Step 3: Merge in supplemental interfacesCOMMENT
LOWsdk/lib/_internal/js_shared/lib/rti.dart3791 // then we need to check if for some i, Ci <: [t]. However, this requires usCOMMENT
LOWpkg/dart_data_home/lib/src/pid_files.dart48 // On POSIX we need to check if open followed by lock has racedCOMMENT
LOWpkg/dds/lib/src/dap/adapters/dart.dart2117 // Step 1: return the single child that lazy: true expectsCOMMENT
LOWpkg/dds/lib/src/dap/adapters/dart.dart2128 // Step 2: call _readNativeMemory and return byte variablesCOMMENT
LOW…convert_null_check_to_null_aware_element_or_entry.dart70 // In case of a map entry we need to check if it's the key that'sCOMMENT
LOW…convert_null_check_to_null_aware_element_or_entry.dart158 // In case of a map entry we need to check if it's the key that'sCOMMENT
LOWpkg/analyzer/lib/src/util/graph.dart19 // Step 1: Set the preorder number of [vertex] to [count], and incrementCOMMENT
LOWpkg/analyzer/lib/src/util/graph.dart23 // Step 2: Push [vertex] onto [unassigned] and also onto [candidates].COMMENT
LOWpkg/analyzer/lib/src/util/graph.dart27 // Step 3: For each edge from [vertex] to a neighboring vertex [neighbor]:COMMENT
LOWpkg/analyzer/lib/src/util/graph.dart46 // Step 4: If [vertex] is the top element of [candidates]:COMMENT
LOWpkg/kernel/lib/util/graph.dart55 // Step 1: Set the preorder number of [vertex] to [count], and incrementCOMMENT
LOWpkg/kernel/lib/util/graph.dart59 // Step 2: Push [vertex] onto [unassigned] and also onto [candidates].COMMENT
LOWpkg/kernel/lib/util/graph.dart63 // Step 3: For each edge from [vertex] to a neighboring vertex [neighbor]:COMMENT
LOWpkg/kernel/lib/util/graph.dart82 // Step 4: If [vertex] is the top element of [candidates]:COMMENT
LOW…/front_end/test/crashing_test_case_minimizer_impl.dart619 // Step 1: Remove all imports/exports *of* this file (the inlinable file).COMMENT
LOW…/front_end/test/crashing_test_case_minimizer_impl.dart625 // Step 2: Find the last import/export.COMMENT
LOW…/front_end/test/crashing_test_case_minimizer_impl.dart643 // Step 3: Insert the content of the file there. Note, though,COMMENT
LOW…/front_end/test/crashing_test_case_minimizer_impl.dart665 // Step 4: Try it out.COMMENT
LOW…/front_end/test/crashing_test_case_minimizer_impl.dart712 // Step 4: Try it out.COMMENT
Slop Phrases11 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMruntime/tools/profiling/analysis_options.yaml9# If you want a smaller set of lints you can change this to specifyCOMMENT
LOW…k/lib/_internal/js_dev_runtime/patch/bigint_patch.dart408 // Don't forget to add the hidden bit.COMMENT
LOWsdk/lib/_internal/js_runtime/lib/bigint_patch.dart411 // Don't forget to add the hidden bit.COMMENT
LOWsdk/lib/_internal/vm_shared/lib/bigint_patch.dart479 // Don't forget to add the hidden bit.COMMENT
MEDIUMbenchmarks/IsolateJson/dart/sample.json1{"1":[{"1":{"1":"https://images.pexels.com/photos/733416/pexels-photo-733416.jpeg?cs=srgb&dl=animal-dog-pet-733416.jpg&fCODE
LOWpkg/linter/messages.yaml6# make sure to regenerate supporting classes by running:COMMENT
MEDIUMpkg/linter/tool/machine/rules.json2447 "details": "From [Effective Dart](https://dart.dev/effective-dart/documentation#do-use--doc-comments-to-document-memCODE
MEDIUMpkg/dartdev/lib/src/templates/common.dart24# If you want a smaller set of lints you can change this to specifyCOMMENT
LOW…server/test/analysis/notification_navigation_test.dart591 // validate that we don't forget to resolve parametersSTRING
LOW…server/test/analysis/notification_navigation_test.dart606 // validate that we don't forget to resolve parametersSTRING
LOW…sis_server/tool/code_completion/benchmark/flutter.dart27/// Don't forget to update [flutterPackagePath].COMMENT
Decorative Section Separators8 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMtools/dom/scripts/generator.py1012# ------------------------------------------------------------------------------COMMENT
MEDIUMtools/dom/scripts/generator.py1168# ------------------------------------------------------------------------------COMMENT
MEDIUMtools/dom/scripts/systemhtml.py459# ------------------------------------------------------------------------------COMMENT
MEDIUMtools/dom/scripts/systemhtml.py593# ------------------------------------------------------------------------------COMMENT
MEDIUMtools/dom/scripts/systemhtml.py901# ------------------------------------------------------------------------------STRING
MEDIUMtools/dom/scripts/systemhtml.py2248# ------------------------------------------------------------------------------STRING
MEDIUMtools/dom/scripts/systemhtml.py2278# ------------------------------------------------------------------------------STRING
MEDIUMtools/dom/scripts/systemhtml.py2330# ------------------------------------------------------------------------------STRING
Dead Code4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtools/dom/dom.py99CODE
MEDIUMtools/dom/dom.py100CODE
MEDIUMtools/dom/dom.py101CODE
MEDIUMtools/dom/scripts/generator.py1165CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHpkg/kernel/lib/type_algebra.dart1158 // with whatever is easier to implement. In this implementation, we extendCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/patches/flutter-engine/apply.sh30 # Check if .gclient configuration specifies a cache_dir. Local caches are usedCOMMENT
LOWtools/dom/scripts/multiemitter.py90 # Write the file.COMMENT
LOWruntime/tools/dart_codesign.py27 # Check if we have a matching entitlements file and apply it.COMMENT
LOWruntime/tools/dartfuzz/minimize.py94 # Check if the last run generated a new mask.COMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtests/ffi/native_assets/helpers.dart515/// The test scaffold distinguishes between three types of invocation.COMMENT
MEDIUMpkg/analyzer/lib/src/error/widget_preview_verifier.dart15/// a developer's project into a generated 'widget preview scaffold' that livesCOMMENT
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/dom/scripts/css_code_generator.py79CODE
LOWtools/dom/scripts/prototype_css_generator.py77CODE
LOWtools/dom/scripts/generator.py1626CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWruntime/vm/intrusive_dlist.h29// Usage example:COMMENT
LOW…g/front_end/lib/src/linux_and_intel_specific_perf.dart34/// # Usage example:COMMENT