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

peczenyj / GDPR-IAB-TCFv2 / 25430009393
97%
main: 96%

Build:
Build:
LAST BUILD BRANCH: devel
DEFAULT BRANCH: main
Ran 06 May 2026 10:36AM UTC
Jobs 1
Files 11
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

06 May 2026 10:30AM UTC coverage: 97.388% (+0.9%) from 96.517%
25430009393

Pull #46

github

peczenyj
fix: coerce Math::BigInt fallback values to plain scalars in BitUtils

On Perls without pack 'Q>' / 'S>' (e.g. Perl 5.8.9 on FreeBSD 9.2,
per CPAN Testers report 281cd334-...), get_uint12 / get_uint16 /
get_uint36 fall back to Math::BigInt and return blessed objects.
Those blessed values flowed straight through TO_JSON and made the
CLI's JSON encoder croak with:

  encountered object 'Math::BigInt=HASH(...)' but neither
  allow_blessed, convert_blessed nor allow_tags settings are enabled

Fix at the BitUtils boundary by calling ->numify on the BigInt
result.  16 bits always fits in an IV; 36 bits fits exactly in an
NV's 53-bit mantissa (covers all TCF v2 timestamps through ~2148).

Promote $CAN_PACK_QUADS / $CAN_FORCE_BIG_ENDIAN from `my` to `our`
so the new t/12-bigint-fallback.t can `local`-override them and
exercise the BigInt path on any Perl.
Pull Request #46: fix: coerce Math::BigInt fallback to plain scalars (Perl 5.8 CPAN Testers FAIL)

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

671 of 689 relevant lines covered (97.39%)

12742.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25430009393.1 06 May 2026 10:36AM UTC 11
97.39
GitHub Action Run
Source Files on build 25430009393
  • Tree
  • List 11
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #46
  • PR Base - devel (#25392166485)
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