| blib/lib/Lingua/ID/Words2Nums.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 18 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 181 | 0 | 4 | 0 | defined $num1 and defined $num2 |
| 226 | 0 | 8 | 0 | defined $num1 and defined $num2 |
| 253 | 65 | 0 | 0 | $seen_digits and do { push @nums, 10 * pop(@nums) + $Digits{$w} } |
| 324 | 118 | 0 | 18 | $w =~ /^($Se_pat)($Mult_pat)$/ and defined $Words{$1} |
| 118 | 0 | 0 | $w =~ /^(.+)\s+($Mult_pat)$/ and defined $Words{$1} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 277 | 19 | 33 | 26 | $a > $Mults{$w} or not @nums |