Branch Coverage

blib/lib/AI/NeuralNet/Simple.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
26 1 6 unless 3 == @args
29 1 15 unless defined $_ and /^\d+$/
34 0 5 unless $handle >= 0
52 0 1 unless defined $mse
58 5 0 if (defined $iterations)
59 0 5 unless $iterations and $iterations =~ /^\d+$/
70 1 2 unless defined $delta
71 0 2 unless $delta > 0
78 1 2 unless defined $bipolar
96 10 22 if $$arrayref[$_] > $$arrayref[$largest]
103 6 6 unless defined $rate
104 1 5 unless $rate > 0 and $rate < 1