Branch Coverage

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


line true false branch
57 2 28 if grep {not &Scalar::Util::looks_like_number("$_");} @$v
58 2 26 if grep {$_ < 0;} @$v
68 17 23 unless $_[0]{'starting_value'}
82 1 21 unless &Scalar::Util::looks_like_number("$value")
85 1 20 unless $value >= 0
89 4 16 if $value == $self->starting_value
94 2 14 unless defined $offset
99 2 12 if $rate == 0
118 1 31 unless &Scalar::Util::looks_like_number("$offset")
121 1 30 unless $offset >= 0
127 8 22 if exists $known_offsets->{$offset}
131 6 16 unless defined $max