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

dart-lang / native / 16348450024
92%

Build:
DEFAULT BRANCH: main
Ran 17 Jul 2025 02:58PM UTC
Jobs 3
Files 78
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

17 Jul 2025 02:51PM UTC coverage: 79.114% (-3.4%) from 82.506%
16348450024

push

github

web-flow
[json_syntax_generator] Add support for `Map<String, SomeClass>` (#2426)

Pub does not expose any of its json/yaml format parsers and unparsers.

Instead of just navigating json/yaml in Dart code blindly, lets use a schema to navigate these.

For the `pubspec_lock.yaml` we need support for `Map<String, SomeClass>` which we didn't have yet in hooks/code_assets.

Additionally, the json keys and values used in the pubspec lock have `-` and ` ` inside their strings. These are not valid Dart identifer characters, so use these as separators for camel case names.

I haven't figured out where the syntax classes themselves should live yet, so this PR is just adding it as an integration test for the generator for now.

11 of 13 new or added lines in 2 files covered. (84.62%)

4303 of 5439 relevant lines covered (79.11%)

45.17 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
52.5
pkgs/json_syntax_generator/lib/src/generator/property_generator.dart
1
67.63
pkgs/json_syntax_generator/lib/src/parser/schema_analyzer.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
1 native_pkgs_windows 16348450024.1 17 Jul 2025 03:05PM UTC 78
77.02
GitHub Action Run
2 native_pkgs_macos 16348450024.2 17 Jul 2025 02:58PM UTC 78
74.79
GitHub Action Run
3 native_pkgs_ubuntu 16348450024.3 17 Jul 2025 02:59PM UTC 78
73.69
GitHub Action Run
Source Files on build 16348450024
  • Tree
  • List 78
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16348450024
  • 12e33d1b on github
  • Prev Build on main (#16323024286)
  • Next Build on main (#16349295010)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc