blib/lib/Lingua/ID/Words2Nums.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 18 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
158 | 0 | 4 | 0 | defined $num1 and defined $num2 |
203 | 0 | 8 | 0 | defined $num1 and defined $num2 |
230 | 65 | 0 | 0 | $seen_digits and do { push @nums, 10 * pop(@nums) + $Digits{$w} } |
301 | 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 |
---|---|---|---|---|
253 | 19 | 32 | 26 | $a > $Mults{$w} or not @nums |