Branch Coverage

blib/lib/ICC/Profile/curf.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
34 0 0 if (@_)
37 0 0 if (@_ == 1 and ref $_[0] eq 'HASH') { }
75 0 0 unless @_ == 3
93 0 0 unless @_ == 4
135 0 0 if $#{$$self[1];} == 0
144 0 0 if $bp >= $in
152 0 0 if (UNIVERSAL::isa($self->[1][$ix], 'ICC::Profile::parf')) { }
0 0 elsif (UNIVERSAL::isa($self->[1][$ix], 'ICC::Profile::samf')) { }
184 0 0 if $#{$$self[1];} == 0
193 0 0 if $bp >= $in
201 0 0 if (UNIVERSAL::isa($self->[1][$ix], 'ICC::Profile::parf')) { }
0 0 elsif (UNIVERSAL::isa($self->[1][$ix], 'ICC::Profile::samf')) { }
230 0 0 if (@_)
233 0 0 unless ref $_[0] eq 'ARRAY'
254 0 0 if (@_)
257 0 0 unless ref $_[0] eq 'ARRAY'
282 0 0 ref $p eq 'ARRAY' ? :
0 0 defined $p ? :
285 0 0 defined $p->[0] && !ref($p->[0]) ? :
309 0 0 if ($attr eq 'segment') { }
0 0 elsif ($attr eq 'breakpoint') { }
312 0 0 unless UNIVERSAL::isa($_, 'ICC::Profile::parf')
0 0 if (ref $hash->{$attr} eq 'ARRAY' and @{$hash->{$attr};} == grep({UNIVERSAL::isa($_, 'ICC::Profile::samf') unless UNIVERSAL::isa($_, 'ICC::Profile::parf');} @{$$hash{$attr};})) { }
328 0 0 if (ref $hash->{$attr} eq 'ARRAY' and @{$hash->{$attr};} == grep({not ref $_;} @{$$hash{$attr};})) { }
369 0 0 if ($segs == 1) { }
0 0 elsif ($segs > 1) { }
378 0 0 if ($buf eq 'parf') { }
409 0 0 if ($buf eq 'parf' or $buf eq 'samf') { }
443 0 0 unless @{$self->[1];} > 0
446 0 0 unless @{$self->[1];} == @{$self->[2];} + 1