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

dart-lang / native / 14702736836
74%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2025 07:38AM UTC
Jobs 10
Files 144
Run time 2min
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

28 Apr 2025 07:37AM UTC coverage: 77.858% (-0.08%) from 77.937%
14702736836

push

github

web-flow
[native_assets_cli] Curate public classes (#2245)

This PR tries the curate the classes which are in the public API of `native_assets_cli.dart` and adds some documentation to them.

* `(Build|Link)(Input|Output)` refer to the hooks the are the input or output of.
* `Hook(Input|Output)` refer to the subclasses
* `(Build|Link|Hook)Config` refer to the input they are the config of.
* `XXXBuilder` refer to the class they build.
* `Builder|Linker` refer to the hooks they should be used in.
* `EncodedAsset` refers to protocol extensions for encoding/decoding
* `PackageMetadata|PackageUserDefines|PackageUserDefinesSource` refer to the classes where they are used.
* `ProtocolExtension` documents it's the specification for an extension of the base protocol.
* `AssetRouting|ToAppBundle|ToBuildHooks|ToLinkHook` refer to each other in the hook output.

Deprecated classes have been removed:

* `Metadata|Dependencies` these were no longer used since the `XXXBuilder` pattern.

Classes only used in `package:native_assets_builder` have been moved there:

* `Target`.

The Dart docs can be inspected by `pkgs/native_assets_cli$ dart doc .`.

TODOs:

* This PR does not yet curate extension types, extensions, and top level functions.
* This PR does not yet curate the `code_assets.dart` and `data_assets.dart` libraries.

Context:

* Work before splitting up the package: https://github.com/dart-lang/native/issues/999

16 of 16 new or added lines in 2 files covered. (100.0%)

18 existing lines in 3 files now uncovered.

8063 of 10356 relevant lines covered (77.86%)

9.82 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.35
-5.88% pkgs/native_assets_cli/lib/src/code_assets/architecture.dart
4
81.17
-0.21% pkgs/native_assets_cli/lib/src/config.dart
13
72.34
-27.66% pkgs/native_assets_cli/lib/src/code_assets/code_asset.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
2 native_toolchain_c_ubuntu 14702736836.2 28 Apr 2025 07:39AM UTC 26
74.38
GitHub Action Run
3 native_assets_cli_macos 14702736836.3 28 Apr 2025 07:38AM UTC 29
61.89
GitHub Action Run
4 native_assets_cli_ubuntu 14702736836.4 28 Apr 2025 07:39AM UTC 29
61.89
GitHub Action Run
5 native_assets_builder_ubuntu 14702736836.5 28 Apr 2025 07:43AM UTC 12
87.76
GitHub Action Run
6 native_assets_builder_macos 14702736836.6 28 Apr 2025 07:42AM UTC 12
87.76
GitHub Action Run
7 native_toolchain_c_windows 14702736836.7 28 Apr 2025 07:43AM UTC 26
79.18
GitHub Action Run
8 native_toolchain_c_macos 14702736836.8 28 Apr 2025 07:38AM UTC 26
68.95
GitHub Action Run
9 native_assets_cli_windows 14702736836.9 28 Apr 2025 07:40AM UTC 29
61.89
GitHub Action Run
10 native_assets_builder_windows 14702736836.10 28 Apr 2025 07:46AM UTC 12
87.76
GitHub Action Run
10 objective_c 14629236525.10 23 Apr 2025 10:26PM UTC 77
79.29
GitHub Action Run
Source Files on build 14702736836
  • Tree
  • List 144
  • Changed 9
  • Source Changed 7
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14702736836
  • 2fce764b on github
  • Prev Build on main (#14702543257)
  • Next Build on main (#14703607622)
  • 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