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

elixir-gettext / gettext / 0640c6d963fbf368ed6309a8585802b45ecee146-PR-449
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: bound-gettext-merge-concurrency
DEFAULT BRANCH: main
Ran 26 Oct 2026 09:04AM UTC
Jobs 1
Files 19
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

26 Oct 2026 08:59AM UTC coverage: 93.773% (+0.008%) from 93.765%
0640c6d963fbf368ed6309a8585802b45ecee146-PR-449

Pull #449

github

oliver-kriska
Compute plural info once per PO file at compile time

`compile_po_file/5` derived the plural data twice: once in `nplurals/3` and
once in `compile_plural_forms/4`, each calling `Plural.plural_info/3`. That
function runs `Code.ensure_compiled!/1` and parses the `Plural-Forms` header,
so it is needless work repeated for every PO file across all locales and
domains.

Compute `plural_info` once in `compile_po_file/5` and pass it to both helpers.
The generated code is identical (the same value is escaped into the plural
dispatcher and fed to `nplurals/1`); only the duplicate computation is removed.
Pull Request #449: Compute plural info once per PO file at compile time

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

768 of 819 relevant lines covered (93.77%)

36.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0640c6d963fbf368ed6309a8585802b45ecee146-PR-449.1 26 Oct 2026 09:04AM UTC 19
93.77
GitHub Action Run
Source Files on build 0640c6d963fbf368ed6309a8585802b45ecee146-PR-449
  • Tree
  • List 19
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #449
  • PR Base - main (#6E0DE916...)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc