Branch Coverage

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


line true false branch
25 3 4 $base0 == 2 ? :
29 0 7 if ($num == 0) { }
34 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) { }
35 1 1 $im && $base0 == 10 ? :
36 0 0 $im && $base0 == 10 ? :
37 0 1 $im && $base0 == 10 ? :
38 0 0 $im && $base0 == 10 ? :
39 0 0 $im && $base0 == 10 ? :
40 0 0 $im && $base0 == 10 ? :
41 0 0 $im && $base0 == 10 ? :
42 0 0 $im && $base0 == 10 ? :
54 2 5 $rank <= 0 && abs $num < 1 ? :
55 0 7 if ($$opts{'return_array'}) { }