Branch Coverage

lib/ICC/Support/geo1.pm
Criterion Covered Total %
branch 1 46 2.1


line true false branch
38 0 1 if (@_ == 1 and ref $_[0] eq 'HASH')
62 0 0 if (defined $self->[2] and 0 != @{$self->[2];}) { }
88 0 0 if (wantarray) { }
111 0 0 if (defined $points)
114 0 0 unless ref $points eq 'ARRAY'
117 0 0 unless @{$points;} == grep({&Scalar::Util::looks_like_number($_);} @{$points;})
138 0 0 if (defined $matrix)
141 0 0 unless ref $matrix eq 'ARRAY' and @{$matrix;} == grep({ref $_ eq 'ARRAY';} @{$matrix;}) or UNIVERSAL::isa($matrix, 'Math::Matrix')
144 0 0 unless @{$matrix->[0];} == grep({&Scalar::Util::looks_like_number($_);} @{$$matrix[0];})
147 0 0 unless @{$matrix;} == @{$matrix->[0];}
172 0 0 ref $p eq 'ARRAY' ? :
0 0 defined $p ? :
175 0 0 defined $p->[0] && !ref($p->[0]) ? :
205 0 0 if (defined $self->[2] and @{$self->[2];}) { }
234 0 0 if ($r == 0) { }
267 0 0 if ($points = $hash->{'points'})
270 0 0 unless ref $points eq 'ARRAY'
273 0 0 unless @{$points;} == grep({&Scalar::Util::looks_like_number($_);} @{$points;})
281 0 0 if ($matrix = $hash->{'matrix'})
284 0 0 unless ref $matrix eq 'ARRAY' and @{$matrix;} == grep({ref $_ eq 'ARRAY';} @{$matrix;}) or UNIVERSAL::isa($matrix, 'Math::Matrix')
287 0 0 unless @{$matrix->[0];} == grep({&Scalar::Util::looks_like_number($_);} @{$$matrix[0];})
290 0 0 unless @{$matrix;} == @{$matrix->[0];}
293 0 0 unless @{$matrix;} == @{$self->[1];}