blib/lib/Lingua/POR/Nums2Words.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 26 | 28 | 92.8 |
line | true | false | branch |
---|---|---|---|
25 | 2 | 699 | unless @a |
26 | 2 | 697 | wantarray ? : |
27 | 0 | 710 | if $_ < 0 |
30 | 0 | 710 | if $_ > 999999999999999 |
31 | 27 | 683 | if ($_ > 999999999999) { } |
79 | 604 | elsif ($_ > 999999) { } | |
138 | 466 | elsif ($_ > 9999) { } | |
36 | 3 | 24 | if ($b and $mil =~ /^0{9}/) |
39 | 24 | 3 | $b ? : |
40 | 1 | 26 | $bil == 1 ? : |
47 | 67 | 12 | $b ? : |
48 | 13 | 66 | if ($uni =~ /^000\d{0,2}[1-9]\d{0,2}|0\d?[1-9]\d?000|[1-9]0{5}/) |
51 | 4 | 75 | $mil == 1 ? : |
121 | 2 | 453 | wantarray ? : |