Branch Coverage

blib/lib/Math/Evol.pm
Criterion Covered Total %
branch 55 122 45.0


line true false branch
36 0 4 if (ref $xbref ne 'ARRAY') { }
0 4 elsif (ref $smref ne 'ARRAY') { }
0 4 elsif (ref $func_ref ne 'CODE') { }
0 4 elsif ($constrain_ref and ref $constrain_ref ne 'CODE') { }
47 0 4 unless ($tm)
60 4 0 if ($constrain_ref)
64 24192 0 if ($constrain_ref)
66 0 24192 if $debug
69 4756 19436 if ($ff <= $fb)
70 18144 6048 if ($lm < $n)
77 0 24192 if ($sm[$i] < $rel_limit)
78 0 24192 if ($sm[$i] < $ea)
82 0 6048 if ($debug)
88 6048 0 if (defined $ea)
89 6048 0 if (defined $eb)
90 300 5748 if (defined $ec)
91 250 5798 if (defined $ed)
92 0 6048 if $debug
94 5807 241 if ($lc < 25)
96 1 5806 if ($usr_n + $sys_n - $usr_o - $sys_o > $tm) { }
97 0 1 if $debug
102 1 240 if (defined $ec and $fc - $fb <= $ec)
103 0 1 if $debug
106 2 238 if (defined $ed and ($fc - $fb) / $ed <= abs $fc)
107 0 2 if $debug
115 0 1 if (ref $xbref ne 'ARRAY') { }
0 1 elsif (ref $smref ne 'ARRAY') { }
0 1 elsif (ref $func_ref ne 'CODE') { }
0 2 elsif ($constrain_ref and ref $constrain_ref ne 'CODE') { }
126 0 1 unless ($nchoices)
131 0 1 if ($n == 0)
144 0 1 if $debug
148 0 1 if ($constrain_ref)
157 0 1142 if ($constrain_ref)
161 57 1085 if ($choice > $[) { }
167 0 1142 if $debug
168 1 1141 unless ($continue)
169 1084 57 if ($lm < $test_every)
173 0 57 if $debug
177 0 228 if ($sm[$i] < $rel_limit)
178 0 228 if ($sm[$i] < $ea)
180 0 57 if $debug
187 0 0 unless $text
188 0 0 if (ref $func_ref ne 'CODE')
191 0 0 unless ($nchoices)
198 0 0 if (/^(.*?)(-?[\d.]+)(\D+)evol\s+step\s+([\d.]+)(.*)$/)
201 0 0 if ($lastbit =~ /min\s+([-\d.]+)/)
202 0 0 if ($lastbit =~ /max\s+([-\d.]+)/)
206 0 0 if $debug
207 0 0 if $debug
213 0 0 if (defined $min[$i] and defined $max[$i]) { }
0 0 elsif (defined $min[$i]) { }
0 0 elsif (defined $max[$i]) { }
222 0 0 if (defined $min[$i] or defined $max[$i])
226 0 0 if $debug
243 0 0 if ($some_constraints) { }
244 0 0 if ($@)
255 0 0 if (defined $min[$i])
256 0 0 if (defined $max[$i])
259 0 0 if $debug
274 50668 50668 if (not $gaussn_flag) { }