blib/lib/Lingua/EN/Numericalize.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 24 | 66.6 |
line | l | !l | condition | |
---|---|---|---|---|
88 | 73 | 42 | ref $_ and $_ = seq2int(@$_) | |
112 | 298 | 156 | $w =~ /$_/ and return 1 | |
156 | 129 | 183 | 0 | $max < $seq[$_] and $max = $seq[$_], $i = $_ |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
78 | 3 | 132 | 0 | isconj($next) and isnbr($nexxt) || isconj($nexxt) |
line | l | !l | condition |
---|---|---|---|
106 | 263 | 376 | /^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$/ or return |
118 | 0 | 0 | shift() || $_ || (return) |
133 | 204 | 0 | shift() || $_ || (return) |
142 | 54 | 661 | $m ||= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
78 | 108 | 24 | 0 | isnbr($nexxt) || isconj($nexxt) |
111 | 159 | 0 | 0 | shift() || $_ |