blib/lib/Lingua/EN/Numericalize.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 26 | 88.4 |
line | true | false | branch |
---|---|---|---|
54 | 0 | 101 | if wantarray |
60 | 23 | 332 | if /^\d+$/ |
61 | 128 | 204 | if /[^a-zA-Z0-9]/ |
69 | 42 | 217 | if isnbr($ret[$i]) |
70 | 248 | 11 | if (ref $ret[$i]) |
72 | 113 | 135 | if (isnbr($next)) |
78 | 132 | 0 | if (isconj($next) and isnbr($nexxt) || isconj($nexxt)) |
124 | 136 | 8487 | if $w =~ s/$w2n[$i]$// |
126 | 131 | 8492 | unless $w |
128 | 73 | 131 | if $w |
143 | 53 | 662 | if $word2num{$m} |
154 | 0 | 142 | if $debug |
157 | 92 | 50 | if ($i == 0) |