Branch Coverage

lib/ICC/Support/nNET.pm
Criterion Covered Total %
branch 1 146 0.6


line true false branch
52 0 1 if (@_)
55 0 0 if (@_ == 1 and ref $_[0] eq 'HASH') { }
61 0 0 if defined($code = $self->[0]{'init'})
92 0 0 if defined($code = $self->[0]{'init'})
114 0 0 unless defined $oflag
117 0 0 unless ref $in eq 'ARRAY' and ref $in->[0] eq 'ARRAY' and not ref $in->[0][0] or UNIVERSAL::isa($in, 'Math::Matrix')
120 0 0 unless ref $out eq 'ARRAY' and ref $out->[0] eq 'ARRAY' and not ref $out->[0][0] or UNIVERSAL::isa($out, 'Math::Matrix')
123 0 0 unless $#{$in;} == $#{$out;}
126 0 0 if ($dflag)
129 0 0 unless $#{$$in[0];} == $#{$$out[0];}
147 0 0 $dflag ? :
150 0 0 if $info < 0
151 0 0 if $info > 0
170 0 0 if ($oflag) { }
183 0 0 if ($dflag)
192 0 0 $i == $j ? :
214 0 0 if (@_)
217 0 0 if (@_ == 1 and ref $_[0] eq 'HASH') { }
245 0 0 if (@_ == 1) { }
0 0 elsif (@_) { }
251 0 0 if (ref $array eq 'ARRAY') { }
260 0 0 if (grep {ref $array->[$i] eq $_;} @types) { }
302 0 0 if (@_)
305 0 0 if (@_ == 1 and ref $_[0] eq 'ARRAY' and ref $_[0][0] eq 'ARRAY') { }
0 0 elsif (@_ == 1 and UNIVERSAL::isa($_[0], 'Math::Matrix')) { }
339 0 0 if (@_)
342 0 0 if (@_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} == grep({not ref $_;} @{$_[0];})) { }
372 0 0 ref $_[-1] eq 'HASH' ? :
375 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($_);} @_)) { }
384 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];})) { }
390 0 0 if ref $_ eq 'ARRAY'
437 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;})
446 0 0 defined $init->[$i] ? :
513 0 0 if $error < $elim
543 0 0 if ($lapack) { }
546 0 0 if (wantarray) { }
579 0 0 ref $p eq 'ARRAY' ? :
0 0 defined $p ? :
582 0 0 defined $p->[0] && !ref($p->[0]) ? :
604 0 0 if ref $_[-1] eq 'HASH'
629 0 0 if ($lapack) { }
657 0 0 if ($lapack) { }
669 0 0 UNIVERSAL::isa($in, 'Math::Matrix') ? :
698 0 0 if (@{$in;} == grep({not ref $_;} @{$in;})) { }
709 0 0 if (ref $in->[$i] eq 'ARRAY') { }
748 0 0 if (ref $node eq 'CODE') { }
764 0 0 if ($#{$array;} < $#{$$self[2][0];})
803 0 0 if (ref $node eq 'CODE') { }
819 0 0 if ($#{$array;} < $#{$$self[2][0];})
854 0 0 if (ref $node eq 'CODE') { }
857 0 0 if (wantarray) { }
876 0 0 if (wantarray) { }
893 0 0 if ($#{$array;} < $#{$$self[2][0];})
902 0 0 $i == $j ? :
911 0 0 if (wantarray) { }
914 0 0 if ($#{$array;} < $#{$$self[2][0];})
986 0 0 if ($attr eq 'header') { }
0 0 elsif ($attr eq 'kernel') { }
0 0 elsif ($attr eq 'matrix') { }
0 0 elsif ($attr eq 'offset') { }
0 0 elsif ($attr eq 'init') { }
989 0 0 if (ref $hash->{$attr} eq 'HASH') { }
1005 0 0 if (ref $hash->{$attr} eq 'ARRAY') { }
1014 0 0 if (grep {ref $array->[$i] eq $_;} @types) { }
1039 0 0 if (ref $hash->{$attr} eq 'ARRAY' and ref $hash->{$attr}[0] eq 'ARRAY') { }
0 0 elsif (UNIVERSAL::isa($hash->{$attr}, 'Math::Matrix')) { }
1061 0 0 if (ref $hash->{$attr} eq 'ARRAY' and @{$hash->{$attr};} == grep({not ref $_;} @{$$hash{$attr};})) { }
1077 0 0 if (ref $hash->{$attr} eq 'CODE') { }