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

hyperscale-stack / businessid
100%
main: 94%

Build:
Build:
LAST BUILD BRANCH: feature/add-more-tests
DEFAULT BRANCH: main
Repo Added 02 Jul 2026 12:17AM UTC
Token nxC3ync7mSVcGKtFnMKhvUu7OO5e4EDal regen
Build 13 Last
Files 21
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

LAST BUILD ON BRANCH feature/more-test
branch: feature/more-test
CHANGE BRANCH
x
Reset
Sync Branches
  • feature/more-test
  • dependabot/github_actions/actions/checkout-7
  • feature/add-more-tests
  • feature/base
  • main

03 Jul 2026 08:25AM UTC coverage: 100.0%. Remained the same
28648271794

Pull #3

github

euskadi31
test: reach 100% statement coverage on VAT, EUID, SIREN, SIRET

Add public tests for every code branch reachable through the public
API, and internal tests for defensive fallthroughs (format-check
gated paths) so they remain safe under future refactors.

- providers/vat: +40 checksum cases covering DNI/NIE prefixes, BG
  alt-alt path, CZ 8d/9d/10d switch branches (r==0, r==1, r==10,
  alt month codes 51-62/21-32/71-82), IE 7D+2L path, IE 'W' check,
  GB algo 97 (non-9755), GB 12d, NO r==0, IS kennitala, LV natural
  person, PT/SI/PL/NL boundary branches, CY letter mismatch, plus
  a checksums_internal_test.go for helpers gated by format.
- providers/euid: +30 register cases (BG checksum path, ES DNI/NIE,
  CZ 8d IČO r==0/r==1/r==10, EE alt-weights, LT alt-weights, PT
  check-zero, per-country InvalidChars branches) plus
  nationals_internal_test.go for defensive helpers.
- providers/siren: add TestValidateChecksumWithDerogation and
  siren_internal_test.go covering the nil-map fallback in
  WithDerogation.
- providers/siret: add siret_internal_test.go for the equivalent
  nil-map branch.

Also add a public NewRegisterValidator constructor so EUID callers
can build register-validators for non-EU codes via the escape hatch.

Numbers: 722 tests pass with -race, coverage 100.0% (statements),
lint clean.
Pull Request #3: feat: strengthen EUID/VAT/SIREN/SIRET reliability

1377 of 1377 new or added lines in 10 files covered. (100.0%)

2419 of 2419 relevant lines covered (100.0%)

19.6 hits per line

Relevant lines Covered
Build:
Build:
2419 RELEVANT LINES 2419 COVERED LINES
19.6 HITS PER LINE
Source Files on feature/more-test
  • Tree
  • List 20
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28648271794 feature/more-test test: reach 100% statement coverage on VAT, EUID, SIREN, SIRET Add public tests for every code branch reachable through the public API, and internal tests for defensive fallthroughs (format-check gated paths) so they remain safe under future refa... Pull #3 03 Jul 2026 08:25AM UTC euskadi31 github
100.0
28647269934 feature/more-test feat: EUID native validators for EU-27 + fill all remaining VAT gaps Follow-up to #3 that closes every gap surfaced in that PR's report: EUID meta-format made fully native: * Drop WithSubValidator. EUID now embeds native format+checksum valida... Pull #3 03 Jul 2026 08:05AM UTC euskadi31 github
88.93
28644725413 feature/more-test feat: strengthen EUID/VAT/SIREN/SIRET reliability Reach ~90% checksum confidence on EU business identifiers by implementing per-country VAT algorithms, delegating EUID validation to national sub-validators, and hardening SIREN/SIRET with reserved... Pull #3 03 Jul 2026 07:12AM UTC euskadi31 github
92.69
See All Builds (13)

Badge your Repo: businessid

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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