| blib/lib/Lingua/NLD/Num2Word.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 20 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 0 | 7 | if not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 or $positive > 999999999 |
| 38 | 0 | 7 | if $positive >= 0 and $positive < 20 |
| 44 | 3 | 4 | if ($positive > 19 and $positive < 101) { } |
| 3 | 1 | elsif ($positive > 100 and $positive < 1000) { } | |
| 1 | 0 | elsif ($positive > 999 and $positive < 1000000) { } | |
| 0 | 0 | elsif ($positive > 999999 and $positive < 1000000000) { } | |
| 48 | 3 | 0 | if $remain |
| 56 | 3 | 0 | $remain ? : |
| 63 | 1 | 0 | $remain ? : |
| 71 | 0 | 0 | $remain ? : |