| blib/lib/Lingua/RUS/Num2Word.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 23 | 52 | 44.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 99 | 0 | 6 | 4 | $i < 6 and $sum_rub >= 1 |
| 122 | 7 | 0 | 8 | not $nominal and $sum < 100 |
| 0 | 0 | 7 | $nominal > 0 and $nominal < 6 | |
| 0 | 0 | 7 | $nominal > 0 and $nominal < 6 and $sum < 1000 | |
| 131 | 3 | 6 | 6 | $sx < 20 and $sx > 0 |
| 3 | 0 | 6 | $sx == 0 and not $nominal | |
| 150 | 1 | 10 | 4 | defined $nominal and $nominal == 1 |
| 166 | 0 | 0 | 0 | defined $number && $number =~ /\A\d+\z/msux |
| 268 | 0 | 0 | 0 | $tmp3 >= 11 and $tmp3 <= 19 |
| 0 | 0 | 0 | $tmp4 >= 2 and $tmp4 <= 4 | |
| 295 | 0 | 0 | 0 | $tmp3 >= 11 and $tmp3 <= 19 |
| 0 | 0 | 0 | $tmp4 >= 3 and $tmp4 <= 4 |
| line | l | !l | condition |
|---|---|---|---|
| 89 | 5 | 1 | shift() // 0 |
| 118 | 15 | 2 | shift() // (return) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 122 | 8 | 7 | 0 | not $nominal and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000 |
| 131 | 6 | 6 | 3 | $sx < 20 and $sx > 0 or $sx == 0 and not $nominal |
| 166 | 0 | 0 | 0 | not defined $number && $number =~ /\A\d+\z/msux or $number < 0 |
| 0 | 0 | 0 | not defined $number && $number =~ /\A\d+\z/msux or $number < 0 or $number > 999999999 |