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

peczenyj / GDPR-IAB-TCFv2 / 25549348373
96%
main: 96%

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

08 May 2026 09:58AM UTC coverage: 95.601% (+0.007%) from 95.594%
25549348373

push

github

web-flow
fix(cmp-validator): make JSON::PP and Time::Piece optional (#70)

CMPValidator is an opt-in feature loaded lazily by Validator.pm. Its
runtime deps (JSON::PP, Time::Piece) shouldn't be hard-required for
parser-only users.

Changes:

- lib/.../CMPValidator.pm: drop the compile-time `use JSON::PP ()`
  and `use Time::Piece` and replace them with `eval { require ...; 1 }`
  guarded with a clear croak. This mirrors the existing HTTP::Tiny
  lazy-load pattern in load_from_url.
- Makefile.PL: list JSON::PP, Time::Piece, and HTTP::Tiny under META
  `recommends` so toolchains that honor recommends auto-install them.
  Keep JSON::PP and add Time::Piece in TEST_REQUIRES so the test
  suite can exercise CMPValidator end-to-end.

Effect: a base TCFv2 install no longer pulls in JSON::PP / Time::Piece
unless the user opts into the CMPValidator feature.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

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

1 existing line in 1 file now uncovered.

1065 of 1114 relevant lines covered (95.6%)

10857.44 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
98.53
0.02% lib/GDPR/IAB/TCFv2/CMPValidator.pm
Jobs
ID Job ID Ran Files Coverage
1 25549348373.1 08 May 2026 10:07AM UTC 16
95.6
GitHub Action Run
Source Files on build 25549348373
  • Tree
  • List 16
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 58f51017 on github
  • Prev Build on devel (#25532590212)
  • Next Build on devel (#25549330132)
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