Branch Coverage

lib/ICC/Support/nPINT.pm
Criterion Covered Total %
branch 2 100 2.0


line true false branch
61 0 1 if (@_ == 1 and ref $_[0] eq 'HASH') { }
0 1 elsif (@_) { }
70 0 0 unless _new_from_storable($self, @_)
98 0 0 unless ref $in eq 'ARRAY' or UNIVERSAL::isa($in, 'Math::Matrix')
101 0 0 unless ref $in->[0] eq 'ARRAY' and not ref $in->[0][0]
104 0 0 unless ref $out eq 'ARRAY' or UNIVERSAL::isa($out, 'Math::Matrix')
107 0 0 unless ref $out->[0] eq 'ARRAY' and not ref $out->[0][0]
110 0 0 unless $#{$in;} == $#{$out;}
116 0 0 if $info < 0
117 0 0 if $info > 0
142 0 0 if (@_)
145 0 0 if (@_ == 1 and ref $_[0] eq 'HASH') { }
173 0 0 if (@_)
176 0 0 if (@_ == 1 and ref $_[0] eq 'ARRAY') { }
204 0 0 if (@_)
207 0 0 if (@_ == 1 and ref $_[0] eq 'ARRAY' || UNIVERSAL::isa($_[0], 'Math::Matrix')) { }
210 0 0 unless ref $_[0][0] eq 'ARRAY' and not ref $_[0][0][0]
245 0 0 ref $_[-1] eq 'HASH' ? :
248 0 0 if (@_ == $h + 2 and UNIVERSAL::isa($_[1], 'Math::Matrix')) { }
0 0 elsif (@_ == $h + 2 and ref $_[1] eq 'ARRAY') { }
0 0 elsif (@_ == $h + 1 + grep({&Scalar::Util::looks_like_number($_);} @_)) { }
257 0 0 if (not ref $_[1][0] and @{$_[1];} == grep({&Scalar::Util::looks_like_number($_);} @{$_[1];})) { }
0 0 elsif (ref $_[1][0] eq 'ARRAY' and @{$_[1];} == grep({&Scalar::Util::looks_like_number($_->[0]) if ref $_ eq 'ARRAY';} @{$_[1];})) { }
263 0 0 if ref $_ eq 'ARRAY'
311 0 0 if defined $_
0 0 if not defined $_
0 0 unless grep({++$i; push @si, $i if defined $_;} @{$in;}) == grep({++$j; push @so, $j if not defined $_;} @{$out;})
320 0 0 defined $init->[$i] ? :
387 0 0 if $error < $elim
413 0 0 unless ref $in eq 'ARRAY' and @{$in;} == @{$self->[1];} and @{$in;} == grep({not ref $_;} @{$in;})
416 0 0 if ($xflag = $hash->{'ubox'} && grep({$_ > 1 unless $_ < 0;} @{$in;})) { }
434 0 0 if (wantarray) { }
437 0 0 if ($xflag) { }
482 0 0 ref $p eq 'ARRAY' ? :
0 0 defined $p ? :
485 0 0 defined $p->[0] && !ref($p->[0]) ? :
507 0 0 if ref $_[-1] eq 'HASH'
526 0 0 unless $_ < 0
0 0 if ($hash->{'ubox'} and grep {$_ > 1 unless $_ < 0;} @{$in;}) { }
569 0 0 if ($hash->{'ubox'}) { }
587 0 0 UNIVERSAL::isa($in, 'Math::Matrix') ? :
616 0 0 if (@{$in;} == grep({not ref $_;} @{$in;})) { }
627 0 0 if (ref $in->[$i] eq 'ARRAY') { }
667 0 0 if (abs $_ > $dmax)
698 0 0 unless $pda = $hash->{'pda'}
701 0 0 unless $coef = $hash->{'coef'}
704 0 0 unless ref $pda eq 'ARRAY' and not ref $pda->[0]
721 0 0 unless ref $coef eq 'ARRAY' or UNIVERSAL::isa($coef, 'Math::Matrix')
724 0 0 unless ref $coef->[0] eq 'ARRAY' and not ref $coef->[0][0] and @{$coef;} == $size
751 0 0 if (defined $hash) { }