blib/lib/Number/Format/Metric.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 38 | 42.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
36 | 3 | 2 | 2 | $rank == 0 and abs $num >= 1 |
37 | 1 | 0 | 1 | $im && $base0 == 10 |
38 | 0 | 0 | 0 | $im && $base0 == 10 |
39 | 0 | 1 | 0 | $im && $base0 == 10 |
40 | 0 | 0 | 0 | $im && $base0 == 10 |
41 | 0 | 0 | 0 | $im && $base0 == 10 |
42 | 0 | 0 | 0 | $im && $base0 == 10 |
43 | 0 | 0 | 0 | $im && $base0 == 10 |
44 | 0 | 0 | 0 | $im && $base0 == 10 |
56 | 3 | 2 | 2 | $rank <= 0 && abs $num < 1 |
line | l | !l | condition |
---|---|---|---|
22 | 7 | 0 | $opts //= {} |
23 | 5 | 2 | $opts->{'base'} //= 2 |
25 | 1 | 6 | $opts->{'i_mark'} // 1 |
55 | 2 | 5 | $opts->{'precision'} // 1 |