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

unicode-org / icu4x / 10289694078
73%

Build:
DEFAULT BRANCH: main
Ran 07 Aug 2024 06:37PM UTC
Jobs 1
Files 979
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

07 Aug 2024 06:24PM UTC coverage: 75.076% (-0.02%) from 75.094%
10289694078

push

github

web-flow
Use `LikelySubtagsForLanguageV1` for fallback (#5338)

`LikelySubtagsForLanguageV1` is almost identical to
`LocaleFallbackLikelySubtagsV1`, the differences being:
* `LikelySubtagsForLanguageV1` contains a `und` field, which is not
needed for fallback
* `LocaleFallbackLikelySubtagsV1` uses `ZeroMap2d`s, whereas
`LikelySubtagsForLanguageV1` uses `ZeroMap`s with tuple keys. Fallback
always looks up by both keys at the same time, so the `ZeroMap2d`
overhead is unnecessary.
* `LocaleFallbackLikelySubtagsV1` omits Language->Script entries where
the script is `Latn`. While this might save a few bytes, I'm not sure
that it's correct, as fallback for unknown languages will assume that
they are Latin and strip the `Latn` subtag during normalisation.

The `ZeroMap2d` overhead seems to cancel out the `und` field and `Latn`
optimisation, and `LikelySubtagsForLanguageV1` is only two bytes bigger
than `LocaleFallbackLikelySubtagsV1` (2230B vs 2228B).

26 of 31 new or added lines in 2 files covered. (83.87%)

6 existing lines in 5 files now uncovered.

54156 of 72135 relevant lines covered (75.08%)

564239.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
72.73
0.9% components/locale/src/fallback/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.53
-1.05% utils/ixdtf/src/parsers/timezone.rs
1
94.59
-2.7% components/experimental/src/relativetime/format.rs
1
77.78
-0.16% components/segmenter/src/line.rs
1
75.27
-1.08% provider/core/src/any.rs
2
92.98
-3.51% components/experimental/src/dimension/currency/format.rs
Jobs
ID Job ID Ran Files Coverage
1 10289694078.1 07 Aug 2024 06:37PM UTC 979
75.08
GitHub Action Run
Source Files on build 10289694078
  • Tree
  • List 979
  • Changed 328
  • Source Changed 7
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10289694078
  • bff9107d on github
  • Prev Build on main (#10289210808)
  • Next Build on main (#10298545687)
  • 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

© 2026 Coveralls, Inc