Branch Coverage

blib/lib/Math/VarRate.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
39 2 26 if grep {not &Scalar::Util::looks_like_number("$_");} @$v
40 2 24 if grep {$_ < 0;} @$v
45 17 23 unless $_[0]{'starting_value'}
51 1 21 unless &Scalar::Util::looks_like_number("$value")
54 1 20 unless $value >= 0
58 4 16 if $value == $self->starting_value
63 2 14 unless defined $offset
68 2 12 if $rate == 0
80 1 31 unless &Scalar::Util::looks_like_number("$offset")
83 1 30 unless $offset >= 0
89 8 22 if exists $$known_offsets{$offset}
93 6 16 unless defined $max