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