Branch Coverage

lib/ICC/Support/nNET2.pm
Criterion Covered Total %
branch 1 136 0.7


line true false branch
58 0 1 if (@_)
61 0 0 if (@_ == 1 and ref $_[0] eq 'HASH') { }
67 0 0 if defined($code = $self->[0]{'init'})
98 0 0 if defined($code = $self->[0]{'init'})
119 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')
122 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')
125 0 0 unless $#{$in;} == $#{$out;}
131 0 0 defined $oflag ? :
134 0 0 if $info < 0
135 0 0 if $info > 0
155 0 0 if ($oflag)
176 0 0 if (defined $header)
179 0 0 unless ref $header eq 'HASH'
200 0 0 if (defined $kernel)
203 0 0 unless ref $kernel eq 'ARRAY'
212 0 0 if (grep {ref $kernel->[$i] eq $_;} @types) { }
242 0 0 if (defined $hidden)
245 0 0 unless ref $hidden eq 'ARRAY'
254 0 0 if (ref $hidden->[$i] eq 'CODE') { }
284 0 0 if (defined $matrix)
287 0 0 unless ref $matrix eq 'ARRAY' and @{$matrix;} == grep({ref $_ eq 'ARRAY';} @{$matrix;}) or UNIVERSAL::isa($matrix, 'Math::Matrix')
308 0 0 if (defined $offset)
311 0 0 unless ref $offset eq 'ARRAY' and @{$offset;} == grep({not ref $_;} @{$offset;})
335 0 0 unless defined $kernel
338 0 0 if ref $kernel ne 'ARRAY'
344 0 0 if (grep {ref $kernel->[$i] eq $_;} @types) { }
378 0 0 unless defined $hidden
381 0 0 if ref $hidden ne 'ARRAY'
387 0 0 if (ref $hidden->[$i] eq 'CODE') { }
420 0 0 ref $_[-1] eq 'HASH' ? :
423 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($_);} @_)) { }
432 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];})) { }
438 0 0 if ref $_ eq 'ARRAY'
485 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;})
494 0 0 defined $init->[$i] ? :
561 0 0 if $error < $elim
617 0 0 if (wantarray) { }
644 0 0 ref $p eq 'ARRAY' ? :
0 0 defined $p ? :
647 0 0 defined $p->[0] && !ref($p->[0]) ? :
709 0 0 $_[1] % 2 ? :
736 0 0 if ref $_[-1] eq 'HASH'
758 0 0 if ($lapack) { }
786 0 0 if ($lapack) { }
798 0 0 UNIVERSAL::isa($in, 'Math::Matrix') ? :
827 0 0 if (@{$in;} == grep({not ref $_;} @{$in;})) { }
838 0 0 if (ref $in->[$i] eq 'ARRAY') { }
874 0 0 if (ref $node eq 'CODE') { }
923 0 0 if (ref $node eq 'CODE') { }
973 0 0 if ($header = $hash->{'header'})
976 0 0 unless ref $header eq 'HASH'
984 0 0 if ($kernel = $hash->{'kernel'})
987 0 0 unless ref $kernel eq 'ARRAY'
993 0 0 if (grep {ref $kernel->[$i] eq $_;} @types) { }
1010 0 0 if ($hidden = $hash->{'hidden'})
1013 0 0 unless ref $hidden eq 'ARRAY'
1019 0 0 if (ref $hidden->[$i] eq 'CODE') { }
1036 0 0 if ($matrix = $hash->{'matrix'})
1039 0 0 unless ref $matrix eq 'ARRAY' and @{$matrix;} == grep({ref $_ eq 'ARRAY';} @{$matrix;}) or UNIVERSAL::isa($matrix, 'Math::Matrix')
1047 0 0 if ($offset = $hash->{'offset'})
1050 0 0 unless ref $offset eq 'ARRAY' and @{$offset;} == grep({not ref $_;} @{$offset;})
1058 0 0 if ($init = $hash->{'init'})
1061 0 0 unless ref $init eq 'CODE'