| blib/lib/Lingua/HIN/Num2Word.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 28 | 85.7 |
| line | true | false | branch |
|---|---|---|---|
| 59 | 11 | 9 | if $n < 10 |
| 69 | 1 | 12 | if not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 or $positive > 999999999 |
| 76 | 4 | 8 | if $positive < 100 |
| 82 | 2 | 6 | if ($remain >= 10000000) |
| 89 | 3 | 5 | if ($remain >= 100000) |
| 92 | 1 | 2 | if length $out |
| 97 | 4 | 4 | if ($remain >= 1000) |
| 100 | 2 | 2 | if length $out |
| 105 | 4 | 4 | if ($remain >= 100) |
| 108 | 2 | 2 | if length $out |
| 113 | 3 | 5 | if ($remain > 0) |
| 114 | 3 | 0 | if length $out |
| 126 | 9 | 0 | if $n < 100 |
| 133 | 0 | 0 | if $r > 0 |