Branch Coverage

blib/lib/GDPR/IAB/TCFv2/PublisherTC.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
27 0 7 unless defined $args{'data'}
28 0 7 unless defined $args{'data_size'}
30 0 7 unless defined $args{'options'}
31 0 7 unless defined $args{'options'}{'json'}
37 0 7 if $data_size < 57
41 0 7 if $segment_type != 3
50 0 7 if $data_size < $total_expected_size
74 0 48 if $id < 1 or $id > 24
83 0 48 if $id < 1 or $id > 24
94 0 2 if $id < 1 or $id > $self->{'num_custom_purposes'}
104 0 2 if $id < 1 or $id > $self->{'num_custom_purposes'}
147 16 0 unless (not $self->{'options'}{'json'}{'compact'})
155 0 0 if $verbose