Branch Coverage

blib/lib/Math/ODE.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
15 1 40 $$self{'csv'} ? :
23 4 37 if (defined $file)
24 0 4 unless open $fh, '>', $file
33 0 12283 if $$self{'verbose'} > 1
37 22900 0 unless $$y[$i] =~ qr/nan|infinity/i
38 0 0 if $$self{'verbose'}
46 44 12239 if (defined $file) { }
11 12228 elsif (not $$self{'keep_values'}) { }
52 4 37 if defined $file
92 22 12261 unless $$self{'keep_values'}
100 12229 1 if ($$self{'keep_values'}) { }
113 0 0 if (defined $step)
114 0 0 if $step <= 0 or $step >= 1
126 0 0 unless ref $initial eq 'ARRAY'
153 0 41 if ($$self{'N'} != scalar @{$args{'initial'};})
157 0 41 if $$self{'step'} <= 0
158 0 41 if $$self{'t0'} >= $$self{'tf'}
175 3568 12199 if $res > $max_error