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

dart-lang / native / 9002742091
92%

Build:
DEFAULT BRANCH: main
Ran 08 May 2024 01:33PM UTC
Jobs 13
Files 159
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

08 May 2024 01:31PM UTC coverage: 90.815% (-0.4%) from 91.245%
9002742091

push

github

web-flow
Add link.dart hook (#827)

Support a `hook/link.dart` script, which executes after kernel compilation. The SDK changes to make this work are in https://dart-review.googlesource.com/c/sdk/+/338380.

The link script receives as input a list of assets produced by `hook/build.dart` scripts. In a `hook/build.dart`, users can specify if an asset should be sent to a link script, and give the name of the package containing that script. All assets destined for a particular link script are collected and given as input.

In https://github.com/dart-lang/native/pull/1117, the link scripts get as additional input tree shaking information collected during kernel compilation, to enable link scripts to remove or add assets based on usage of symbols in Dart code.

---

<details>
  <summary>Contribution guidelines:</summary><br>

- See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general expectations for PRs.
- Larger or significant changes should be discussed in an issue before creating a PR.
- Contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`.
- Most changes should add an entry to the changelog and may need to [rev the pubspec package version](https://github.com/dart-lang/sdk/wiki/External-Package-Maintenance#making-a-change).
- Changes to packages require [corresponding tests](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md#Testing).

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.
</details>

583 of 646 new or added lines in 23 files covered. (90.25%)

3 existing lines in 2 files now uncovered.

8819 of 9711 relevant lines covered (90.81%)

18.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.59
pkgs/native_assets_builder/lib/src/model/hook_result.dart
2
91.67
-8.33% pkgs/native_assets_cli/lib/src/model/data_asset.dart
2
0.0
pkgs/native_assets_cli/lib/src/model/hook.dart
3
0.0
pkgs/native_assets_cli/lib/src/api/link_output.dart
3
93.67
-6.33% pkgs/native_assets_cli/lib/src/model/build_config.dart
4
97.69
pkgs/native_assets_cli/lib/src/model/hook_config.dart
4
95.0
pkgs/native_assets_cli/lib/src/model/hook_output.dart
6
92.73
-0.8% pkgs/native_assets_builder/lib/src/build_runner/build_runner.dart
7
0.0
pkgs/native_assets_cli/lib/src/api/link.dart
7
87.72
pkgs/native_assets_cli/lib/src/model/link_config.dart
23
76.77
pkgs/native_assets_cli/lib/src/model/resource_identifiers.dart

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.73
-0.8% pkgs/native_assets_builder/lib/src/build_runner/build_runner.dart
2
93.67
-6.33% pkgs/native_assets_cli/lib/src/model/build_config.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
5 native_toolchain_c_ubuntu 9002742091.5 08 May 2024 01:33PM UTC 18
73.82
GitHub Action Run
6 native_toolchain_c_macos 9002742091.6 08 May 2024 01:33PM UTC 18
78.22
GitHub Action Run
7 native_assets_cli_macos 9002742091.7 08 May 2024 01:33PM UTC 33
93.37
GitHub Action Run
8 native_toolchain_c_windows 9002742091.8 08 May 2024 01:36PM UTC 18
88.63
GitHub Action Run
9 native_assets_cli_ubuntu 9002742091.9 08 May 2024 01:33PM UTC 33
93.37
GitHub Action Run
10 native_assets_builder_windows 9002742091.10 08 May 2024 01:37PM UTC 7
90.0
GitHub Action Run
11 native_assets_cli_windows 9002742091.11 08 May 2024 01:33PM UTC 33
93.05
GitHub Action Run
12 native_assets_builder_ubuntu 9002742091.12 08 May 2024 01:34PM UTC 7
90.0
GitHub Action Run
13 native_assets_builder_macos 9002742091.13 08 May 2024 01:35PM UTC 7
90.0
GitHub Action Run
12 ffigen_macos 8991186545.12 07 May 2024 07:38PM UTC 50
90.78
GitHub Action Run
12 jnigen_tests 8966634052.12 06 May 2024 09:10AM UTC 22
91.62
GitHub Action Run
11 jni_tests 8966634052.11 06 May 2024 09:05AM UTC 28
83.9
GitHub Action Run
13 objective_c_tests 8993722586.13 07 May 2024 11:40PM UTC 51
69.58
GitHub Action Run
Source Files on build 9002742091
  • Tree
  • List 159
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9002742091
  • 1a6faf50 on github
  • Prev Build on main (#8993722586)
  • Next Build on main (#9009683214)
  • 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