blib/lib/ShiftJIS/Regexp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 45 | 77.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
43 | 1333 | 1 | 19 | $mod =~ /o/ and defined $Cache{$pat}{$mod} |
47 | 1329 | 5 | 0 | $m && $s |
55 | 0 | 0 | 0 | $count and length $_ |
98 | 1468 | 21 | 11 | $x and s/^\s+// |
350 | 97 | 39 | 0 | $mat[0] eq '' and $mat[1] eq '' |
363 | 56 | 44 | 30 | $lim > 1 and $cnt >= $lim - 1 |
367 | 0 | 10 | 2 | defined $ret[-1] and $ret[-1] eq '' |
line | l | !l | condition |
---|---|---|---|
33 | 72 | 1281 | shift() || '' |
251 | 22 | 76 | $_[2] || '' |
265 | 34 | 14 | $_[3] || '' |
291 | 168 | 8 | shift() || 0 |
315 | 36 | 11 | shift() || 0 |
335 | 148 | 20 | shift() || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
254 | 0 | 0 | 0 | $mod =~ /z/ || '' =~ /$pat/ |
268 | 1 | 2 | 29 | $mod =~ /z/ || '' =~ /$pat/ |
365 | 37 | 3 | 3 | $str ne '' or $lim < 0 |
40 | 0 | 3 | $str ne '' or $lim < 0 or $cnt < $lim |