• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / source_helper.dart / 39298157545
100%

Build:
DEFAULT BRANCH: main
Ran 19 Oct 2026 05:57PM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Oct 2026 05:54PM UTC coverage: 99.51% (+37.7%) from 61.818%
39298157545

push

github

web-flow
feat: add class-model helpers for code generators (1.4.0) (#78)

* Add class-model helpers for code generators (1.4.0)

Moves the field-set and constructor-planning logic that json_serializable,
build_cli, codable_builder and go_router_builder each carry a copy of into
source_helper, behind `@experimental`:

- `createSortedFieldSet` with `InheritedMemberScope`, `fieldOverrideChain`
  and `firstAnnotationOnProperty`.
- `constructorByName`, `planConstruction` / `ConstructorPlan` and
  `typeParameterListCode`.
- `ExecutableElementExtension.qualifiedName`.

Stable additions to `DartTypeExtension`: `toStringNonNullable()` and
`enumConstants`.

Requires `analyzer >=10.1.0` (`isOriginGetterSetter`,
`isOriginDeclaringFormalParameter`; `declaringFormalParameter` is still
`@experimental` in 10.0.0) and adds `meta`. Resolver-based tests cover
every new symbol plus the previously untested `DartTypeExtension`.

* chore: tighten meta to ^1.18.0 and source_gen to ^4.1.2

* chore: drop @experimental and meta dependency

* Address review feedback on override chains, field sorting, and qualifiedName

148 of 149 new or added lines in 4 files covered. (99.33%)

203 of 204 relevant lines covered (99.51%)

1.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.92
lib/src/field_set.dart
Jobs
ID Job ID Ran Files Coverage
1 39298157545.1 19 Oct 2026 05:57PM UTC 6
99.51
GitHub Action Run
Source Files on build 39298157545
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39298157545
  • 74351114 on github
  • Prev Build on main (#30564641820)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc