Branch Coverage

blib/lib/ICC/Profile/gbd_.pm
Criterion Covered Total %
branch 1 120 0.8


line true false branch
44 0 1 if (@_)
47 0 0 if (@_ == 1 and ref $_[0] eq 'HASH') { }
78 0 0 if (@_)
81 0 0 if (@_ == 1 and ref $_[0] eq 'HASH') { }
109 0 0 if (@_)
112 0 0 if (@_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} == grep({ref $_ eq 'ARRAY';} @{$_[0];})) { }
0 0 elsif (@_ == 1 and UNIVERSAL::isa($_[0], 'Math::Matrix')) { }
146 0 0 if (@_)
149 0 0 if (@_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} == grep({ref $_ eq 'ARRAY';} @{$_[0];})) { }
0 0 elsif (@_ == 1 and UNIVERSAL::isa($_[0], 'Math::Matrix')) { }
183 0 0 if (@_)
186 0 0 if (@_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} == grep({ref $_ eq 'ARRAY';} @{$_[0];})) { }
0 0 elsif (@_ == 1 and UNIVERSAL::isa($_[0], 'Math::Matrix')) { }
229 0 0 if (not defined $p0) { }
0 0 elsif (defined $self->[0]{'p0'} and $self->[0]{'p0'}[0] != $p0->[0] || $self->[0]{'p0'}[1] != $p0->[1] || $self->[0]{'p0'}[2] != $p0->[2]) { }
232 0 0 if (defined $self->[0]{'p0'} and defined $self->[5]) { }
253 0 0 if (defined $self->[5]) { }
280 0 0 $i < $m ? :
281 0 0 $j < $n ? :
293 0 0 if ($info == 0)
326 0 0 if (defined $self->[4][$fid]) { }
359 0 0 if $n->[0] == 0 and $n->[1] == 0 and $n->[2] == 0
372 0 0 if (abs $b < 1 * 2**-1022)
375 0 0 $a ? :
383 0 0 if $r < 0
400 0 0 if $s < 0 or $s > 1
406 0 0 if $t < 0 or $s + $t > 1
429 0 0 unless @_ == 3
447 0 0 unless @_ == 4
468 0 0 defined $self->[3][0] ? :
500 0 0 ref $p eq 'ARRAY' ? :
0 0 defined $p ? :
503 0 0 defined $p->[0] && !ref($p->[0]) ? :
544 0 0 $p0 > $p1 ? :
545 0 0 $p1 > $p2 ? :
546 0 0 $p0 > $p2 ? :
653 0 0 if (defined $hash->{'vertex'})
659 0 0 if (ref $value eq 'ARRAY' and @{$value;} == grep({ref $_ eq 'ARRAY';} @{$value;})) { }
0 0 elsif (UNIVERSAL::isa($value, 'Math::Matrix')) { }
678 0 0 unless @{$self->[1];} >= 4
681 0 0 unless @{$self->[1];} == 3
687 0 0 unless $f + $v - $e == 2
692 0 0 if (defined $hash->{'pcs'})
698 0 0 if (ref $value eq 'ARRAY' and @{$value;} == grep({ref $_ eq 'ARRAY';} @{$value;})) { }
0 0 elsif (UNIVERSAL::isa($value, 'Math::Matrix')) { }
717 0 0 unless @{$self->[2];} >= 4
720 0 0 unless @{$self->[2][0];} >= 3
725 0 0 if (defined $hash->{'device'})
731 0 0 if (ref $value eq 'ARRAY' and @{$value;} == grep({ref $_ eq 'ARRAY';} @{$value;})) { }
0 0 elsif (UNIVERSAL::isa($value, 'Math::Matrix')) { }
750 0 0 unless @{$self->[3];} >= 4
753 0 0 unless @{$self->[3][0];} >= 1 and @{$self->[3][0];} <= 16
758 0 0 unless @{$self->[2];} == 0 or @{$self->[2];} == $v
761 0 0 if (defined $hash->{'pcs'} and defined $hash->{'device'})
764 0 0 unless @{$self->[2];} == @{$self->[3];}
824 0 0 if ($bytes = 4 * $q)
858 0 0 defined $self->[3][0] ? :
867 0 0 unless $p >= 3
870 0 0 unless $q > 0 and $q < 16
895 0 0 if ($q)