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

dart-lang / native / 9937379205
74%

Build:
DEFAULT BRANCH: main
Ran 15 Jul 2024 10:00AM UTC
Jobs 10
Files 158
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

15 Jul 2024 09:58AM UTC coverage: 92.038% (+0.001%) from 92.037%
9937379205

push

github

web-flow
[native_assets_cli] Cleanup `List` from API (#1342)

Use `Iterable` over `List` in the public API:

* Immediately assigning lists into our own fields is dangerous, users might modify the list later instead of using methods on the API.
* Only giving `Iterable`s to users prevents us having to copy the list on returning a list. (Or we'd risk users modifying the internal list).

For `Map` we don't really have a different API type to signify this difference unfortunately. What we do in most of the API is:

* Have an `add(param1, param2)` method instead of using an `addAll(Map)`.
* Have a `lookupParam2(param1)` method instead of exposing a `Map`.
* But our constructors often still take maps, and we need to ensure we do a copyAll/addAll on those entries.

2 of 2 new or added lines in 1 file covered. (100.0%)

9560 of 10387 relevant lines covered (92.04%)

22.72 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
5 native_assets_cli_ubuntu 9937379205.5 15 Jul 2024 10:00AM UTC 33
91.07
GitHub Action Run
6 native_toolchain_c_windows 9937379205.6 15 Jul 2024 10:04AM UTC 18
88.31
GitHub Action Run
7 native_assets_cli_windows 9937379205.7 15 Jul 2024 10:01AM UTC 33
90.77
GitHub Action Run
8 native_toolchain_c_macos 9937379205.8 15 Jul 2024 10:02AM UTC 18
78.43
GitHub Action Run
9 native_assets_cli_macos 9937379205.9 15 Jul 2024 10:00AM UTC 33
91.07
GitHub Action Run
10 native_toolchain_c_ubuntu 9937379205.10 15 Jul 2024 10:00AM UTC 18
73.65
GitHub Action Run
4 objective_c 9905043512.4 12 Jul 2024 08:45AM UTC 56
65.02
GitHub Action Run
3 ffigen 9903155786.3 12 Jul 2024 06:03AM UTC 55
90.25
GitHub Action Run
2 jnigen 9897910356.2 11 Jul 2024 08:24PM UTC 22
91.76
GitHub Action Run
1 jni 9897910356.1 11 Jul 2024 08:18PM UTC 29
83.34
GitHub Action Run
Source Files on build 9937379205
  • Tree
  • List 158
  • Changed 6
  • Source Changed 6
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9937379205
  • 21f7c3d4 on github
  • Prev Build on main (#9923752581)
  • Next Build on main (#9939558308)
  • 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