Branch Coverage

blib/lib/GDPR/IAB/TCFv2/PublisherRestrictions.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
19 0 27 unless defined $args{'data'}
20 0 27 unless defined $args{'data_size'}
22 0 27 unless defined $args{'options'}
23 0 27 unless defined $args{'options'}{'json'}
74 8 8 if ($self->{'restrictions'}{$purpose_id}{$restriction_type}->contains($vendor_id))
91 0 19 if $nargs == 0
93 0 19 if $nargs == 1
94 0 19 if $nargs == 2
99 8 11 unless exists $self->{'restrictions'}{$purpose_id}{$restriction_type}