Repository Analysis

shorebirdtech/shorebird

Code Push for Flutter and other tools for Flutter businesses.

2.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of shorebirdtech/shorebird, a Dart project with 2,994 GitHub stars. SynthScan v2.0 examined 119,491 lines of code across 697 source files, recording 164 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 2.7 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-07-12
Last Push
3.0K
Stars
Dart
Language
119.5K
Lines of Code
697
Files
164
Pattern Hits
2026-07-14
Scan Date
0.05
HC Hit Rate

What These Metrics Mean

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

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

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

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 37MEDIUM 11LOW 116

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 164 distinct pattern matches across 8 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.

Cross-File Repetition35 hits · 175 pts
SeverityFileLineSnippetContext
HIGH…/shorebird_cli/test/src/platform/apple/plist_test.dart0<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/pSTRING
HIGH…d_cli/test/src/commands/release/ios_releaser_test.dart0<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/pSTRING
HIGH…bird_cli/test/src/commands/patch/ios_patcher_test.dart0<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/pSTRING
HIGH…rebird_cli/test/src/commands/preview_command_test.dart0the --staging flag is deprecated and will be removed in a future release. use --track=staging instead.STRING
HIGH…rd_cli/test/src/commands/patch/patch_command_test.dart0the --staging flag is deprecated and will be removed in a future release. use --track=staging instead.STRING
HIGH…es/shorebird_cli/lib/src/commands/preview_command.dart0the --staging flag is deprecated and will be removed in a future release. use --track=staging instead.STRING
HIGH…horebird_cli/lib/src/commands/patch/patch_command.dart0the --staging flag is deprecated and will be removed in a future release. use --track=staging instead.STRING
HIGH…cli/test/src/commands/release/linux_releaser_test.dart0the "--release-version" flag is only supported for aar and ios-framework releases. to change the version of this releaseSTRING
HIGH…i/test/src/commands/release/windows_releaser_test.dart0the "--release-version" flag is only supported for aar and ios-framework releases. to change the version of this releaseSTRING
HIGH…cli/test/src/commands/release/macos_releaser_test.dart0the "--release-version" flag is only supported for aar and ios-framework releases. to change the version of this releaseSTRING
HIGH…i/test/src/commands/release/android_releaser_test.dart0the "--release-version" flag is only supported for aar and ios-framework releases. to change the version of this releaseSTRING
HIGH…d_cli/test/src/commands/release/ios_releaser_test.dart0the "--release-version" flag is only supported for aar and ios-framework releases. to change the version of this releaseSTRING
HIGH…ebird_cli/lib/src/commands/release/linux_releaser.dart0the "--release-version" flag is only supported for aar and ios-framework releases. to change the version of this releaseSTRING
HIGH…ird_cli/lib/src/commands/release/android_releaser.dart0the "--release-version" flag is only supported for aar and ios-framework releases. to change the version of this releaseSTRING
HIGH…cli/lib/src/commands/release/apple_releaser_mixin.dart0the "--release-version" flag is only supported for aar and ios-framework releases. to change the version of this releaseSTRING
HIGH…ird_cli/lib/src/commands/release/windows_releaser.dart0the "--release-version" flag is only supported for aar and ios-framework releases. to change the version of this releaseSTRING
HIGH…cli/test/src/commands/release/macos_releaser_test.dart0building for device with codesigning disabled. you will have to manually codesign before deploying to device.STRING
HIGH…d_cli/test/src/commands/release/ios_releaser_test.dart0building for device with codesigning disabled. you will have to manually codesign before deploying to device.STRING
HIGH…orebird_cli/lib/src/commands/release/ios_releaser.dart0building for device with codesigning disabled. you will have to manually codesign before deploying to device.STRING
HIGH…ebird_cli/lib/src/commands/release/macos_releaser.dart0building for device with codesigning disabled. you will have to manually codesign before deploying to device.STRING
HIGH…cli/test/src/commands/release/macos_releaser_test.dart0shorebird preview will not work for releases created with "--no-codesign". however, you can still preview your app by siSTRING
HIGH…d_cli/test/src/commands/release/ios_releaser_test.dart0shorebird preview will not work for releases created with "--no-codesign". however, you can still preview your app by siSTRING
HIGH…orebird_cli/lib/src/commands/release/ios_releaser.dart0shorebird preview will not work for releases created with "--no-codesign". however, you can still preview your app by siSTRING
HIGH…ebird_cli/lib/src/commands/release/macos_releaser.dart0shorebird preview will not work for releases created with "--no-codesign". however, you can still preview your app by siSTRING
HIGH…cli/test/src/commands/release/macos_releaser_test.dart0<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/pSTRING
HIGH…d_cli/test/src/commands/release/ios_releaser_test.dart0<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/pSTRING
HIGH…bird_cli/test/src/commands/patch/ios_patcher_test.dart0<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/pSTRING
HIGH…rd_cli/test/src/commands/patch/macos_patcher_test.dart0<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/pSTRING
HIGH…li/test/src/commands/release/release_command_test.dart0no platforms were provided. use the --platforms argument to provide one or more platformsSTRING
HIGH…rd_cli/test/src/commands/patch/patch_command_test.dart0no platforms were provided. use the --platforms argument to provide one or more platformsSTRING
HIGH…bird_cli/lib/src/commands/release/release_command.dart0no platforms were provided. use the --platforms argument to provide one or more platformsSTRING
HIGH…horebird_cli/lib/src/commands/patch/patch_command.dart0no platforms were provided. use the --platforms argument to provide one or more platformsSTRING
HIGH…bird_cli/test/src/commands/patch/ios_patcher_test.dart0your $podfilelockrelativepath is different from the one used to build the release. this may indicate that the patch contSTRING
HIGH…rd_cli/test/src/commands/patch/macos_patcher_test.dart0your $podfilelockrelativepath is different from the one used to build the release. this may indicate that the patch contSTRING
HIGH…rd_cli/lib/src/commands/patch/apple_patcher_mixin.dart0your $podfilelockrelativepath is different from the one used to build the release. this may indicate that the patch contSTRING
Over-Commented Block104 hits · 104 pts
SeverityFileLineSnippetContext
LOWthird_party/flutter/bin/internal/shared.sh61#COMMENT
LOWthird_party/flutter/bin/internal/shared.sh81# exclusive lock you need a file descriptor that is open for writing. Thus, weCOMMENT
LOWthird_party/flutter/bin/internal/shared.sh121 mkdir -p "$SHOREBIRD_ROOT/bin/cache"COMMENT
LOWscripts/patch_e2e.sh1#!/bin/bash -exCOMMENT
LOWscripts/bootstrap.sh1#!/bin/bashCOMMENT
LOWpackages/jwt/lib/src/jwks_format.dart1/// {@template jwks_format}COMMENT
LOWpackages/redis_client/lib/src/redis_client.dart81 /// Defaults to 10 seconds.COMMENT
LOWpackages/redis_client/lib/src/redis_client.dart221COMMENT
LOWpackages/redis_client/lib/src/redis_client.dart401COMMENT
LOWpackages/redis_client/lib/src/redis_client.dart421/// seconds.COMMENT
LOWpackages/redis_client/lib/src/redis_client.dart441 /// value: 42,COMMENT
LOWpackages/redis_client/lib/src/redis_client.dart461/// {@template redis_time_series_clock}COMMENT
LOWpackages/redis_client/lib/src/redis_connection.dart1part of 'redis_client.dart';COMMENT
LOW…s/shorebird_build_trace/lib/shorebird_build_trace.dart1/// Chrome Trace Event Format producer for Shorebird's build-traceCOMMENT
LOW…ckages/shorebird_build_trace/lib/src/build_tracer.dart1import 'dart:convert';COMMENT
LOW…ckages/shorebird_build_trace/lib/src/build_tracer.dart21/// * [recordNetworkSpan] → HTTP-request span with the standard argsCOMMENT
LOW…kages/shorebird_build_trace/lib/src/phase_tracker.dart1import 'package:shorebird_build_trace/src/build_tracer.dart';COMMENT
LOWpackages/shorebird_build_trace/lib/src/process_id.dart1import 'dart:io' show pid;COMMENT
LOW…ckages/shorebird_build_trace/lib/src/trace_schema.dart1/// String-level API contract between the trace producers (flutter_tools,COMMENT
LOW…ckages/shorebird_build_trace/lib/src/trace_schema.dart21/// Producers emit via [wireName]. Consumers (shorebird_cli) parse viaCOMMENT
LOW…ckages/shorebird_build_trace/lib/src/trace_schema.dart141/// Span name prefixes emitted by the producers. These are formatCOMMENT
LOW…ckages/shorebird_build_trace/lib/src/trace_schema.dart161 /// Prefix for the outer xcode span. Span name isCOMMENT
LOWpackages/shorebird_cli/test/src/auth/auth_test.dart161 const ciToken = CiToken(COMMENT
LOW…shorebird_cli/lib/src/shorebird_android_artifacts.dart61/// ## AABsCOMMENT
LOWpackages/shorebird_cli/lib/src/interactive_mode.dart1import 'dart:io' as io;COMMENT
LOW…shorebird_cli/lib/src/flutter_version_constraints.dart1import 'package:pub_semver/pub_semver.dart';COMMENT
LOW…shorebird_cli/lib/src/flutter_version_constraints.dart21/// The minimum allowed Flutter version for creating Windows releases.COMMENT
LOW…shorebird_cli/lib/src/flutter_version_constraints.dart41/// users on those perfectly-good N revisions. The allowlist is a bridgeCOMMENT
LOW…shorebird_cli/lib/src/flutter_version_constraints.dart81///COMMENT
LOW…shorebird_cli/lib/src/flutter_version_constraints.dart101/// Background: upstream Flutter PRCOMMENT
LOW…horebird_cli/lib/src/shorebird_cli_command_runner.dart21COMMENT
LOWpackages/shorebird_cli/lib/src/artifact_manager.dart241 return archsDirectory.existsSync() ? archsDirectory : null;COMMENT
LOWpackages/shorebird_cli/lib/src/shorebird_flutter.dart281 flutterRevision: versionOrHash,COMMENT
LOWpackages/shorebird_cli/lib/src/code_signer.dart21 pkcs8,COMMENT
LOWpackages/shorebird_cli/lib/src/json_output.dart101 'code': code.code,COMMENT
LOWpackages/shorebird_cli/lib/src/android_sdk.dart21/// The [AndroidSdk] instance available in the current zone.COMMENT
LOWpackages/shorebird_cli/lib/src/shorebird_process.dart21// "ProcessFactory" than a "Process".COMMENT
LOWpackages/shorebird_cli/lib/src/shorebird_command.dart61 /// Reads from the [isJsonModeRef] scoped dependency, which is set by theCOMMENT
LOW…kages/shorebird_cli/lib/src/config/shorebird_yaml.dart41 final String appId;COMMENT
LOWpackages/shorebird_cli/lib/src/auth/auth.dart501COMMENT
LOW…ckages/shorebird_cli/lib/src/auth/shorebird_oauth.dart201/// [oauth2.AccessCredentials].COMMENT
LOWpackages/shorebird_cli/lib/src/executables/gradlew.dart221 // rules:COMMENT
LOWpackages/shorebird_cli/lib/src/executables/gradlew.dart261extension on String {COMMENT
LOWpackages/shorebird_cli/lib/src/executables/java.dart21class Java {COMMENT
LOW…ckages/shorebird_cli/lib/src/platform/apple/plist.dart41 /// This key is a user-visible string for the version of the bundle. TheCOMMENT
LOW…_cli/lib/src/platform/windows/portable_executable.dart1import 'dart:io';COMMENT
LOW…_cli/lib/src/platform/windows/portable_executable.dart21 /// Timestamps are DWORD (4-byte) values at:COMMENT
LOW…ages/shorebird_cli/lib/src/extensions/arg_results.dart21 /// `--` without changing behavior.COMMENT
LOW…ages/shorebird_cli/lib/src/extensions/arg_results.dart121 String? get encodedPublicKey {COMMENT
LOW…i/lib/src/archive_analysis/android_archive_differ.dart21 final Map<String, DexDiffResult> dexDiffResults;COMMENT
LOW…cli/lib/src/archive_analysis/apple_archive_differ.dart21///COMMENT
LOW…i/lib/src/archive_analysis/windows_archive_differ.dart21 }COMMENT
LOW…_cli/lib/src/artifact_builder/build_trace_session.dart21 /// supported on the pinned Flutter or hasn't been set up yet.COMMENT
LOW…_cli/lib/src/artifact_builder/build_trace_summary.dart1// This file is the consumer end of a string-level contract shared withCOMMENT
LOW…_cli/lib/src/artifact_builder/build_trace_summary.dart381 /// hashing, archive assembly, aot_tools link/gen_snapshot bookkeepingCOMMENT
LOW…_cli/lib/src/artifact_builder/build_trace_summary.dart701COMMENT
LOW…ird_cli/lib/src/artifact_builder/artifact_builder.dart121 final _traceSupport = <String, bool>{};COMMENT
LOW…ird_cli/lib/src/artifact_builder/artifact_builder.dart681 ///COMMENT
LOW…rd_cli/lib/src/artifact_builder/build_environment.dart1import 'dart:io';COMMENT
LOW…rd_cli/lib/src/artifact_builder/build_environment.dart141 ///COMMENT
44 more matches not shown…
Self-Referential Comments6 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMthird_party/flutter/bin/internal/shared.sh117# This function is always run in a subshell. Running the function in a subshellCOMMENT
MEDIUMthird_party/flutter/bin/internal/shared.sh186# This function is intended to be executed by entrypoints (e.g. `//bin/shorebird`).COMMENT
MEDIUMscripts/patch_e2e.sh23# Create a new empty flutter projectCOMMENT
MEDIUMscripts/patch_e2e.sh50# Create a new release on AndroidCOMMENT
MEDIUMscripts/patch_e2e.sh68# Create a patchCOMMENT
MEDIUM…kages/shorebird_cli/lib/src/commands/init_command.dart374# This file is used to configure the Shorebird updater used by your app.STRING
Fake / Example Data12 hits · 12 pts
SeverityFileLineSnippetContext
LOW…d_code_push_client/test/src/code_push_client_test.dart1683 const userName = 'Jane Doe';CODE
LOW…rebird_cli/test/src/code_push_client_wrapper_test.dart309 email: 'user@example.com',CODE
LOW…d_cli/test/src/commands/account/orgs_command_test.dart24 name: 'Acme Corp',CODE
LOW…d_cli/test/src/commands/account/orgs_command_test.dart34 name: 'user@example.com',CODE
LOW…d_cli/test/src/commands/account/orgs_command_test.dart119 expect(lines[0], allOf(contains('Acme Corp'), contains('admin')));CODE
LOW…d_cli/test/src/commands/account/orgs_command_test.dart122 allOf(contains('user@example.com'), contains('owner')),CODE
LOW…d_cli/test/src/commands/account/orgs_command_test.dart206 expect(firstOrg['name'], 'Acme Corp');CODE
LOW…cli/test/src/commands/account/whoami_command_test.dart23 email: 'user@example.com',CODE
LOW…cli/test/src/commands/account/whoami_command_test.dart108 () => logger.info(any(that: contains('user@example.com'))),CODE
LOW…cli/test/src/commands/account/whoami_command_test.dart237 expect(userData['email'], 'user@example.com');CODE
LOW…s/stripe_api/test/src/models/stripe_customer_test.dart12 expect(customer.name, 'Jane Doe');CODE
LOW…s/stripe_api/test/src/models/stripe_customer_test.dart29 expect(customer.name, 'Jane Doe');CODE
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…d_cli/test/src/commands/release/ios_releaser_test.dart1166 3. Run ${lightCyan.wrap('xcrun altool --upload-app --type ios -f ${p.relative('build/ios/ipa/*.ipa')} --apiKey your_CODE
HIGH…orebird_cli/lib/src/commands/release/ios_releaser.dart205 3. Run ${lightCyan.wrap('xcrun altool --upload-app --type ios -f $ipaSearchString --apiKey your_api_key --apiIssuer CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…ckages/shorebird_cli/lib/src/platform/apple/macho.dart30 // probably write a more robust MachO header parser, but this is all we needCOMMENT
MEDIUM…rd_cli/lib/src/artifact_builder/build_environment.dart137 /// Presence-check (rather than value-compare) to stay robust againstCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…es/shorebird_cli/lib/src/logging/shorebird_logger.dart150/// for agentic consumers that need predictable line-oriented output.COMMENT
Decorative Section Separators2 hits · 2 pts
SeverityFileLineSnippetContext
MEDIUM…es/shorebird_ci/lib/src/commands/generate_command.dart244 // ── Static (dorny/paths-filter + reusable workflows) ─────────────STRING
MEDIUM…es/shorebird_ci/lib/src/commands/generate_command.dart601 // ── Dynamic (affected_packages + matrix) ─────────────────────────STRING