Branch Coverage

blib/lib/Math/ODE.pm
Criterion Covered Total %
branch 23 38 60.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) { }
125 0 0 if (defined $step)
126 0 0 if $step <= 0 or $step >= 1
138 0 0 unless ref $initial eq 'ARRAY'
165 0 41 if ($self->{'N'} != scalar @{$args{'initial'};})
169 0 41 if $self->{'step'} <= 0
170 0 41 if $self->{'t0'} >= $self->{'tf'}
187 3568 12199 if $res > $max_error