Branch Coverage

blib/lib/Number/Stars.pm
Criterion Covered Total %
branch 6 6 100.0


line true false branch
24 1 4 unless ($self->{'number_of_stars'} =~ /^\d+$/)
38 26 27 if ($percent >= $star_id * $star_percent) { }
2 25 elsif ($percent >= $star_id * $star_percent - $star_percent / 2) { }