blib/lib/Lingua/Base/Number/Format/MixWithWords.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 26 | 80.7 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 18 | unless $args{'min_fraction'} > 0 and $args{'min_fraction'} <= 1 |
32 | 0 | 18 | unless defined $num |
34 | 2 | 16 | if (defined $$self{'num_decimal'}) |
39 | 17 | 1 | if ($anum) { } |
52 | 18 | 28 | if $$self{'powers'}[$i] > $exp_f |
55 | 10 | 8 | if (defined $p and $anum >= $$self{'min_format'} * $$self{'min_fraction'}) { } |
63 | 1 | 17 | if $e < 0 |
64 | 0 | 18 | if $def_nd < 0 |
65 | 0 | 18 | if $nd < 0 |
66 | 12 | 6 | if $nd > $def_nd |
69 | 0 | 18 | $e > 15 ? : |
71 | 3 | 15 | $num < 0 ? : |
10 | 8 | $res_w ? : |