Branch Coverage

blib/lib/Math/ODE.pm
Criterion Covered Total %
branch 25 40 62.5


line true false branch
16 1 40 $self->{'csv'} ? :
24 4 37 if (defined $file)
25 0 4 unless open $fh, '>', $file
34 0 12283 if $self->{'verbose'} > 1
38 22900 0 unless $y->[$i] =~ qr/nan|infinity/i
39 0 0 if $self->{'verbose'}
47 44 12239 if (defined $file) { }
11 12228 elsif (not $self->{'keep_values'}) { }
53 4 37 if defined $file
93 22 12261 unless $self->{'keep_values'}
101 12229 1 if ($self->{'keep_values'}) { }
115 0 1 if ($target) { }
126 2 2 $format ? :
132 0 0 if (defined $step)
133 0 0 if $step <= 0 or $step >= 1
145 0 0 unless ref $initial eq 'ARRAY'
173 0 41 if ($self->{'N'} != scalar @{$args{'initial'};})
177 0 41 if $self->{'step'} <= 0
178 0 41 if $self->{'t0'} >= $self->{'tf'}
195 3568 12199 if $res > $max_error