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

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

Build:
Build:
LAST BUILD BRANCH: devel
DEFAULT BRANCH: main
Ran 08 May 2026 08:46AM 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 08:35AM UTC coverage: 95.594%. Remained the same
25545833510

Pull #70

github

peczenyj
fix(cmp-validator): make JSON::PP and Time::Piece optional

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>
Pull Request #70: fix(cmp-validator): make JSON::PP and Time::Piece optional

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

1063 of 1112 relevant lines covered (95.59%)

10876.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25545833510.1 08 May 2026 08:46AM UTC 16
95.59
GitHub Action Run
Source Files on build 25545833510
  • Tree
  • List 16
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #70
  • PR Base - devel (#25532590212)
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