| blib/lib/Lingua/UIG/Num2Word.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 30 | 13.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 29 | 0 | 0 | 2 | defined $positive && $positive =~ /\A\d+\z/msux |
| 41 | 0 | 0 | 2 | $positive >= 0 and $positive < 10 |
| 42 | 0 | 0 | 0 | $positive >= 10 and $positive < 100 |
| 0 | 0 | 0 | $positive >= 10 and $positive < 100 and $positive % 10 == 0 | |
| 47 | 0 | 0 | 0 | $positive > 9 and $positive < 100 |
| 0 | 0 | 0 | $positive > 100 and $positive < 1000 | |
| 0 | 0 | 0 | $positive >= 1000 and $positive < 1000000 | |
| 0 | 0 | 0 | $positive >= 1000000 and $positive < 1000000000 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 29 | 0 | 0 | 2 | not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 |
| 0 | 0 | 2 | not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 or $positive > 999999999 |