Branch Coverage

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


line true false branch
41 0 1 if (@_)
44 0 0 if (@_ == 1 and ref $_[0] eq 'HASH') { }
75 0 0 if (@_)
78 0 0 if (@_ == 1 and ref $_[0] eq 'HASH') { }
106 0 0 if (@_)
109 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')) { }
143 0 0 if (@_)
146 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')) { }
180 0 0 if (@_)
183 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')) { }
226 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]) { }
229 0 0 if (defined $self->[0]{'p0'} and defined $self->[5]) { }
250 0 0 if (defined $self->[5]) { }
277 0 0 $i < $m ? :
278 0 0 $j < $n ? :
290 0 0 if ($info == 0)
323 0 0 if (defined $self->[4][$fid]) { }
356 0 0 if $n->[0] == 0 and $n->[1] == 0 and $n->[2] == 0
369 0 0 if (abs $b < 1 * 2**-1022)
372 0 0 $a ? :
380 0 0 if $r < 0
397 0 0 if $s < 0 or $s > 1
403 0 0 if $t < 0 or $s + $t > 1
426 0 0 unless @_ == 3
444 0 0 unless @_ == 4
465 0 0 defined $self->[3][0] ? :
497 0 0 ref $p eq 'ARRAY' ? :
0 0 defined $p ? :
500 0 0 defined $p->[0] && !ref($p->[0]) ? :
541 0 0 $p0 > $p1 ? :
542 0 0 $p1 > $p2 ? :
543 0 0 $p0 > $p2 ? :
650 0 0 if (defined $hash->{'vertex'})
656 0 0 if (ref $value eq 'ARRAY' and @{$value;} == grep({ref $_ eq 'ARRAY';} @{$value;})) { }
0 0 elsif (UNIVERSAL::isa($value, 'Math::Matrix')) { }
675 0 0 unless @{$self->[1];} >= 4
678 0 0 unless @{$self->[1];} == 3
684 0 0 unless $f + $v - $e == 2
689 0 0 if (defined $hash->{'pcs'})
695 0 0 if (ref $value eq 'ARRAY' and @{$value;} == grep({ref $_ eq 'ARRAY';} @{$value;})) { }
0 0 elsif (UNIVERSAL::isa($value, 'Math::Matrix')) { }
714 0 0 unless @{$self->[2];} >= 4
717 0 0 unless @{$self->[2][0];} >= 3
722 0 0 if (defined $hash->{'device'})
728 0 0 if (ref $value eq 'ARRAY' and @{$value;} == grep({ref $_ eq 'ARRAY';} @{$value;})) { }
0 0 elsif (UNIVERSAL::isa($value, 'Math::Matrix')) { }
747 0 0 unless @{$self->[3];} >= 4
750 0 0 unless @{$self->[3][0];} >= 1 and @{$self->[3][0];} <= 16
755 0 0 unless @{$self->[2];} == 0 or @{$self->[2];} == $v
758 0 0 if (defined $hash->{'pcs'} and defined $hash->{'device'})
761 0 0 unless @{$self->[2];} == @{$self->[3];}
821 0 0 if ($bytes = 4 * $q)
855 0 0 defined $self->[3][0] ? :
864 0 0 unless $p >= 3
867 0 0 unless $q > 0 and $q < 16
892 0 0 if ($q)