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

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

Build:
Build:
LAST BUILD BRANCH: devel
DEFAULT BRANCH: main
Ran 09 May 2026 05:44AM 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

09 May 2026 05:33AM UTC coverage: 96.187%. Remained the same
25593024467

Pull #110

github

peczenyj
refactor!: rename cmp_state_provider to cmp_validator

The Validator constructor key, internal helpers, $cmp_v variable, four
CLI flags, and all POD references for the CMP-validator integration are
renamed from `cmp_state_provider` / `--cmp-state-provider*` to
`cmp_validator` / `--cmp-validator*`.

Rationale: the Perl class is `GDPR::IAB::TCFv2::CMPValidator`. The old
`cmp_state_provider` name carried over from the Go side where the type
was `CMPStateValidator`; with Go renaming its type, the Perl half can
align with its own class name.

BREAKING CHANGE: callers passing `cmp_state_provider => ...` to
`GDPR::IAB::TCFv2::Validator->new` (or as a per-call override) must
switch to `cmp_validator => ...`. Same for the CLI: replace
`--cmp-state-provider*` with `--cmp-validator*`. No backwards-compat
shim is provided.

Affected:
  * lib/GDPR/IAB/TCFv2/Validator.pm   (constructor key, _coerce_,
    _check_, $cmp_validator var, croak message, POD)
  * lib/GDPR/IAB/TCFv2/CMPValidator.pm (POD examples + SEE ALSO)
  * bin/iabtcfv2 (option spec, dispatch, POD)
  * t/10-cli-iabtcfv2.t, t/14-cmp-validator.t,
    t/16-validator-failures.t, t/corpus/validator_scenarios.pl

Tests: 17,620 t/ + xt/ tests pass; perltidy/critic/synopsis clean.
Pull Request #110: refactor!: rename cmp_state_provider to cmp_validator

14 of 14 new or added lines in 2 files covered. (100.0%)

1110 of 1154 relevant lines covered (96.19%)

9202.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25593024467.1 09 May 2026 05:44AM UTC 16
96.19
GitHub Action Run
Source Files on build 25593024467
  • Tree
  • List 16
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #110
  • PR Base - devel (#25592674936)
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