A predictable state management library that helps implement the BLoC design pattern
This report presents the forensic synthetic code analysis of felangel/bloc, a Dart project with 12,473 GitHub stars. SynthScan v2.0 examined 82,989 lines of code across 1010 source files, recording 147 pattern matches distributed across 7 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).
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.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 147 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/src/env.d.ts | 1 | /// <reference path="../.astro/types.d.ts" /> | COMMENT |
| LOW | docs/src/styles/landing.css | 1 | :root { | COMMENT |
| LOW | …er_weather/linux/flutter/generated_plugin_registrant.h | 1 | // | COMMENT |
| LOW | …lutter_todos/packages/todos_api/lib/src/todos_api.dart | 1 | import 'package:todos_api/todos_api.dart'; | COMMENT |
| LOW | …tter_todos/packages/todos_api/lib/src/models/todo.dart | 1 | import 'package:equatable/equatable.dart'; | COMMENT |
| LOW | …tter_todos/packages/todos_api/lib/src/models/todo.dart | 41 | COMMENT | |
| LOW | examples/flutter_todos/lib/l10n/app_localizations.dart | 21 | /// | COMMENT |
| LOW | examples/flutter_todos/lib/l10n/app_localizations.dart | 41 | /// # Rest of dependencies | COMMENT |
| LOW | examples/flutter_todos/lib/l10n/app_localizations.dart | 101 | String get todosOverviewAppBarTitle; | COMMENT |
| LOW | examples/flutter_todos/lib/l10n/app_localizations.dart | 121 | /// Text shown in the filter dropdown of the Todos Overview Page for the option to display completed todos only | COMMENT |
| LOW | examples/flutter_todos/lib/l10n/app_localizations.dart | 141 | /// In en, this message translates to: | COMMENT |
| LOW | examples/flutter_todos/lib/l10n/app_localizations.dart | 161 | String get todosOverviewErrorSnackbarText; | COMMENT |
| LOW | examples/flutter_todos/lib/l10n/app_localizations.dart | 181 | /// Button text shown in the options dropdown of the Todos Overview Page that deletes all completed todos | COMMENT |
| LOW | examples/flutter_todos/lib/l10n/app_localizations.dart | 201 | /// In en, this message translates to: | COMMENT |
| LOW | examples/flutter_todos/lib/l10n/app_localizations.dart | 221 | String get editTodoTitleLabel; | COMMENT |
| LOW | packages/flutter_bloc/lib/src/repository_provider.dart | 1 | import 'package:flutter/widgets.dart'; | COMMENT |
| LOW | packages/flutter_bloc/lib/src/repository_provider.dart | 21 | /// RepositoryProvider( | COMMENT |
| LOW | packages/flutter_bloc/lib/src/multi_bloc_listener.dart | 1 | import 'package:flutter/widgets.dart'; | COMMENT |
| LOW | packages/flutter_bloc/lib/src/multi_bloc_listener.dart | 21 | /// child: ChildA(), | COMMENT |
| LOW | packages/flutter_bloc/lib/src/multi_bloc_listener.dart | 41 | /// ], | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_provider.dart | 1 | import 'package:bloc/bloc.dart'; | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_provider.dart | 21 | /// It automatically handles closing the instance when used with [Create]. | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_provider.dart | 41 | this.lazy = true, | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_consumer.dart | 1 | import 'package:flutter/foundation.dart'; | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_consumer.dart | 21 | /// BlocConsumer<BlocA, BlocAState>( | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_consumer.dart | 41 | /// they will default to `true`. | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_selector.dart | 1 | import 'package:flutter/foundation.dart'; | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_selector.dart | 21 | /// }, | COMMENT |
| LOW | packages/flutter_bloc/lib/src/multi_bloc_provider.dart | 1 | import 'package:flutter/widgets.dart'; | COMMENT |
| LOW | packages/flutter_bloc/lib/src/multi_bloc_provider.dart | 21 | /// child: ChildA(), | COMMENT |
| LOW | packages/flutter_bloc/lib/src/multi_bloc_provider.dart | 41 | /// ], | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_listener.dart | 21 | /// the [listener] in response to `state` changes in the [bloc]. | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_listener.dart | 41 | /// | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_listener.dart | 61 | /// when the [BlocListener] is initialized. | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_builder.dart | 1 | import 'package:flutter/foundation.dart'; | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_builder.dart | 21 | /// Please refer to [BlocListener] if you want to "do" anything in response to | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_builder.dart | 41 | /// builder: (context, state) { | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_builder.dart | 61 | /// ```dart | COMMENT |
| LOW | packages/flutter_bloc/lib/src/bloc_builder.dart | 101 | COMMENT | |
| LOW | …es/flutter_bloc/lib/src/multi_repository_provider.dart | 1 | import 'package:flutter/widgets.dart'; | COMMENT |
| LOW | …es/flutter_bloc/lib/src/multi_repository_provider.dart | 21 | /// child: ChildA(), | COMMENT |
| LOW | packages/bloc_tools/lib/bloc_tools.dart | 1 | /// Tools for building applications using the | COMMENT |
| LOW | packages/bloc_concurrency/lib/src/restartable.dart | 1 | import 'package:bloc/bloc.dart'; | COMMENT |
| LOW | packages/replay_bloc/lib/src/replay_cubit.dart | 1 | import 'dart:collection'; | COMMENT |
| LOW | packages/replay_bloc/lib/src/replay_cubit.dart | 21 | /// } | COMMENT |
| LOW | packages/replay_bloc/lib/src/replay_bloc.dart | 21 | } | COMMENT |
| LOW | packages/replay_bloc/lib/src/replay_bloc.dart | 41 | /// | COMMENT |
| LOW | packages/angular_bloc/dart_test.yaml | 1 | # As of test: ^0.12.32, we can use a common/base dart_test.yaml, which this is. | COMMENT |
| LOW | packages/angular_bloc/lib/src/pipes/bloc_pipe.dart | 1 | import 'dart:async'; | COMMENT |
| LOW | packages/bloc_test/lib/src/bloc_test.dart | 1 | import 'dart:async'; | COMMENT |
| LOW | packages/bloc_test/lib/src/bloc_test.dart | 21 | /// [seed] is an optional `Function` that returns a state | COMMENT |
| LOW | packages/bloc_test/lib/src/bloc_test.dart | 41 | /// under test is expected to throw after [act] is executed. | COMMENT |
| LOW | packages/bloc_test/lib/src/bloc_test.dart | 61 | /// [blocTest] can optionally be used with a seeded state. | COMMENT |
| LOW | packages/bloc_test/lib/src/bloc_test.dart | 81 | /// act: (bloc) { | COMMENT |
| LOW | packages/bloc_test/lib/src/bloc_test.dart | 101 | /// ); | COMMENT |
| LOW | packages/bloc_test/lib/src/bloc_test.dart | 121 | /// | COMMENT |
| LOW | packages/bloc_test/lib/src/when_listen.dart | 1 | import 'dart:async'; | COMMENT |
| LOW | packages/bloc_test/lib/src/when_listen.dart | 21 | /// | COMMENT |
| LOW | packages/bloc_test/lib/src/mock_bloc.dart | 1 | import 'package:bloc/bloc.dart'; | COMMENT |
| LOW | packages/bloc_test/lib/src/mock_bloc.dart | 21 | /// **BAD** | COMMENT |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/bloc_tools/e2e/main.dart | 0 | import 'package:bloc/bloc.dart'; class countercubit extends cubit<int> { ^^^^^^^^^^^^ countercubit() : super(0); } | STRING |
| HIGH | …ckages/bloc_lint/test/src/rules/prefer_cubit_test.dart | 0 | import 'package:bloc/bloc.dart'; class countercubit extends cubit<int> { ^^^^^^^^^^^^ countercubit() : super(0); } | STRING |
| HIGH | …t/src/rules/prefer_void_public_cubit_methods_test.dart | 0 | import 'package:bloc/bloc.dart'; class countercubit extends cubit<int> { ^^^^^^^^^^^^ countercubit() : super(0); } | STRING |
| HIGH | …est/src/rules/prefer_file_naming_conventions_test.dart | 0 | import 'package:bloc/bloc.dart'; class countercubit extends cubit<int> { ^^^^^^^^^^^^ countercubit() : super(0); } | STRING |
| HIGH | …bloc_lint/test/src/rules/avoid_public_fields_test.dart | 0 | import 'package:bloc/bloc.dart'; class countercubit extends cubit<int> { ^^^^^^^^^^^^ countercubit() : super(0); } | STRING |
| HIGH | packages/bloc_lint/test/src/rules/prefer_bloc_test.dart | 0 | import 'package:bloc/bloc.dart'; class countercubit extends cubit<int> { ^^^^^^^^^^^^ countercubit() : super(0); } | STRING |
| HIGH | packages/bloc_lint/test/src/lint_test_helper.dart | 0 | packages: bloc: dependency: "direct main" description: name: bloc sha256: "52c10575f4445c61dd9e0cafcc6356fdd827c4c64dd79 | STRING |
| HIGH | packages/bloc_lint/test/src/analysis_options_test.dart | 0 | packages: bloc: dependency: "direct main" description: name: bloc sha256: "52c10575f4445c61dd9e0cafcc6356fdd827c4c64dd79 | STRING |
| HIGH | packages/bloc_lint/test/src/linter_test.dart | 0 | packages: bloc: dependency: "direct main" description: name: bloc sha256: "52c10575f4445c61dd9e0cafcc6356fdd827c4c64dd79 | STRING |
| HIGH | packages/bloc_lint/test/src/linter_test.dart | 0 | import 'package:bloc/bloc.dart'; enum counterevent { increment, decrement } class counterbloc extends bloc<counterevent, | STRING |
| HIGH | …oc_lint/test/src/rules/avoid_flutter_imports_test.dart | 0 | import 'package:bloc/bloc.dart'; enum counterevent { increment, decrement } class counterbloc extends bloc<counterevent, | STRING |
| HIGH | …est/src/rules/prefer_file_naming_conventions_test.dart | 0 | import 'package:bloc/bloc.dart'; enum counterevent { increment, decrement } class counterbloc extends bloc<counterevent, | STRING |
| HIGH | …int/test/src/rules/avoid_public_bloc_methods_test.dart | 0 | import 'package:bloc/bloc.dart'; enum counterevent { increment, decrement } class counterbloc extends bloc<counterevent, | STRING |
| HIGH | …bloc_lint/test/src/rules/avoid_public_fields_test.dart | 0 | import 'package:bloc/bloc.dart'; enum counterevent { increment, decrement } class counterbloc extends bloc<counterevent, | STRING |
| HIGH | packages/bloc_lint/test/src/rules/prefer_bloc_test.dart | 0 | import 'package:bloc/bloc.dart'; enum counterevent { increment, decrement } class counterbloc extends bloc<counterevent, | STRING |
| HIGH | …ckages/bloc_lint/test/src/rules/prefer_cubit_test.dart | 0 | import 'package:bloc/bloc.dart'; enum counterevent { increment, decrement } class counterbloc extends bloc<counterevent, | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rator_plugin/src/main/resources/liveTemplates/Bloc.xml | 16 | value="BlocConsumer<$Subject$$EnumBloc$, $Subject$State>( listener: (context, state) { | CODE |
| LOW | …rator_plugin/src/main/resources/liveTemplates/Bloc.xml | 27 | value="BlocListener<$Subject$$EnumBloc$, $Subject$State>( listener: (context, state) { | CODE |
| LOW | …rator_plugin/src/main/resources/liveTemplates/Bloc.xml | 62 | value="MultiBlocListener( listeners: [ BlocListener<$Subject$$EnumBloc$, $Subject$State&g | CODE |
| LOW | …rator_plugin/src/main/resources/liveTemplates/Bloc.xml | 111 | value="class $Subject$Bloc extends Bloc<$Subject$Event, $Subject$State> { $Subject$Bloc() : su | CODE |
| LOW | …rator_plugin/src/main/resources/liveTemplates/Bloc.xml | 119 | value="on<$eventName$>((event, emit) { // TODO: implement event handler });" | CODE |
| LOW | …rator_plugin/src/main/resources/liveTemplates/Bloc.xml | 217 | value="blocTest<$Subject$$EnumBloc$, $Subject$State>( $DESCRIPTION$, build: () => $Su | CODE |
| LOW | …intellij_generator_plugin/intention_action/Snippets.kt | 52 | " // TODO: implement listener\n" + | CODE |
| LOW | …intellij_generator_plugin/intention_action/Snippets.kt | 68 | " // TODO: implement listener\n" + | CODE |
| LOW | …intellij_generator_plugin/intention_action/Snippets.kt | 101 | " // TODO: implement listener\n" + | CODE |
| LOW | extensions/vscode/snippets/bloc.json | 8 | "\t\t\t${2:// TODO: implement event handler}", | CODE |
| LOW⚡ | extensions/vscode/snippets/bloc.json | 31 | "\t\t${2:// TODO: implement onEvent}", | CODE |
| LOW⚡ | extensions/vscode/snippets/bloc.json | 36 | "\t\t${3:// TODO: implement onError}", | CODE |
| LOW⚡ | extensions/vscode/snippets/bloc.json | 43 | "\t\t${4:// TODO: implement onChange}", | CODE |
| LOW⚡ | extensions/vscode/snippets/bloc.json | 49 | "\t\t${4:// TODO: implement onTransition}", | CODE |
| LOW | extensions/vscode/snippets/bloc.json | 91 | "\t${2:// TODO: implement event handler}", | CODE |
| LOW | extensions/vscode/snippets/bloc.json | 103 | "\t${5:// TODO: implement event handler}", | CODE |
| LOW | extensions/vscode/snippets/flutter_bloc.json | 80 | "\t\t${3:// TODO: implement listener}", | CODE |
| LOW | extensions/vscode/snippets/flutter_bloc.json | 93 | "\t\t\t\t${3:// TODO: implement listener}", | CODE |
| LOW | extensions/vscode/snippets/flutter_bloc.json | 98 | "\t\t\t\t${6:// TODO: implement listener}", | CODE |
| LOW | extensions/vscode/snippets/flutter_bloc.json | 111 | "\t\t${3:// TODO: implement listener}", | CODE |
| LOW | extensions/vscode/src/templates/bloc.template.ts | 29 | // TODO: implement event handler | COMMENT |
| LOW | extensions/vscode/src/templates/bloc.template.ts | 50 | // TODO: implement event handler | COMMENT |
| LOW | extensions/vscode/src/templates/bloc.template.ts | 72 | // TODO: implement event handler | COMMENT |
| LOW | extensions/vscode/src/commands/convert-to.command.ts | 21 | \${4:// TODO: implement listener} | CODE |
| LOW | extensions/vscode/src/commands/wrap-with.command.ts | 25 | \${3:// TODO: implement listener} | CODE |
| LOW | extensions/vscode/src/commands/wrap-with.command.ts | 41 | \${3:// TODO: implement listener} | CODE |
| LOW⚡ | packages/hydrated_bloc/README.md | 181 | // TODO: implement read | COMMENT |
| LOW⚡ | packages/hydrated_bloc/README.md | 186 | // TODO: implement write | COMMENT |
| LOW⚡ | packages/hydrated_bloc/README.md | 191 | // TODO: implement delete | COMMENT |
| LOW⚡ | packages/hydrated_bloc/README.md | 196 | // TODO: implement clear | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tensions/vscode/src/language-server/language-server.ts | 45 | async function startLanguageServerWithProgress(executable: string) { | CODE |
| LOW | extensions/vscode/src/templates/cubit.template.ts | 15 | function getEquatableCubitTemplate(cubitName: string) { | CODE |
| LOW | extensions/vscode/src/templates/bloc-event.template.ts | 19 | function getEquatableBlocEventTemplate( | CODE |
| LOW | extensions/vscode/src/templates/bloc-event.template.ts | 37 | function getDefaultBlocEventTemplate( | CODE |
| LOW | extensions/vscode/src/templates/cubit-state.template.ts | 19 | function getEquatableCubitStateTemplate( | CODE |
| LOW | extensions/vscode/src/templates/cubit-state.template.ts | 40 | function getDefaultCubitStateTemplate( | CODE |
| LOW | extensions/vscode/src/templates/cubit-state.template.ts | 57 | function getFreezedCubitStateTemplate(cubitName: string): string { | CODE |
| LOW | extensions/vscode/src/templates/bloc-state.template.ts | 19 | function getEquatableBlocStateTemplate( | CODE |
| LOW | extensions/vscode/src/templates/bloc-state.template.ts | 40 | function getDefaultBlocStateTemplate( | CODE |
| LOW | extensions/vscode/src/templates/bloc-state.template.ts | 57 | function getFreezedBlocStateTemplate(blocName: string): string { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 213 | - [Feature Scaffolding for VSCode](https://marketplace.visualstudio.com/items?itemName=KiritchoukC.flutter-clean-archite | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/flutter_wizard/lib/main.dart | 117 | hintText: 'John Doe', | CODE |
| LOW | …hydrated_bloc/test/cubits/json_serializable_cubit.dart | 28 | 'John Doe', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …les/github_search/angular_github_search/web/styles.css | 1350 | 2. Don't forget to clearfix your floats with .cf | CODE |