Condition Coverage

blib/lib/Number/Format/Metric.pm
Criterion Covered Total %
condition 16 38 42.1


and 3 conditions

line !l l&&!r l&&r condition
34 3 2 2 $rank == 0 and abs $num >= 1
35 1 0 1 $im && $base0 == 10
36 0 0 0 $im && $base0 == 10
37 0 1 0 $im && $base0 == 10
38 0 0 0 $im && $base0 == 10
39 0 0 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
54 3 2 2 $rank <= 0 && abs $num < 1

or 2 conditions

line l !l condition
20 7 0 $opts //= {}
21 5 2 $$opts{'base'} //= 2
23 1 6 $$opts{'i_mark'} // 1
53 2 5 $$opts{'precision'} // 1