Branch Coverage

blib/lib/Number/Format/Metric.pm
Criterion Covered Total %
branch 22 58 37.9


line true false branch
27 3 4 $base0 == 2 ? :
31 0 7 if ($num == 0) { }
36 2 5 if ($rank == 0 and abs $num >= 1) { }
2 3 elsif ($rank == 1) { }
0 3 elsif ($rank == 2) { }
1 2 elsif ($rank == 3) { }
0 2 elsif ($rank == 4) { }
0 2 elsif ($rank == 5) { }
0 2 elsif ($rank >= 8) { }
0 2 elsif ($rank == 7) { }
0 2 elsif ($rank == 6) { }
2 0 elsif ($rank == 0) { }
0 0 elsif ($rank == -1) { }
0 0 elsif ($rank == -2) { }
0 0 elsif ($rank == -3) { }
0 0 elsif ($rank == -4) { }
0 0 elsif ($rank == -5) { }
0 0 elsif ($rank == -6) { }
0 0 elsif ($rank <= -7) { }
37 1 1 $im && $base0 == 10 ? :
38 0 0 $im && $base0 == 10 ? :
39 0 1 $im && $base0 == 10 ? :
40 0 0 $im && $base0 == 10 ? :
41 0 0 $im && $base0 == 10 ? :
42 0 0 $im && $base0 == 10 ? :
43 0 0 $im && $base0 == 10 ? :
44 0 0 $im && $base0 == 10 ? :
56 2 5 $rank <= 0 && abs $num < 1 ? :
57 0 7 if ($opts->{'return_array'}) { }