blib/lib/Lingua/PT/Nums2Words.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 27 | 28 | 96.4 |
line | true | false | branch |
---|---|---|---|
58 | 2 | 754 | unless @_ |
59 | 3 | 751 | wantarray ? : |
61 | 0 | 1764 | if $_ < 0 |
63 | 54 | 1710 | if $_ > 999999999999999 |
64 | 27 | 1683 | if ($_ > 999999999999) { } |
79 | 1604 | elsif ($_ > 999999) { } | |
138 | 1466 | elsif ($_ > 9999) { } | |
69 | 3 | 24 | if ($b and $mil =~ /^0{9}/) |
72 | 24 | 3 | $b ? : |
73 | 1 | 26 | $bil == 1 ? : |
80 | 67 | 12 | $b ? : |
81 | 13 | 66 | if ($uni =~ /^000\d{0,2}[1-9]\d{0,2}|0\d?[1-9]\d?000|[1-9]0{5}/) |
84 | 4 | 75 | $mil == 1 ? : |
154 | 3 | 453 | wantarray ? : |