blib/lib/Regexp/RegGrp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 14 | 71.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
48 | 11 | 2 | 0 | ref $in_ref->{'restore_pattern'} and ref $in_ref->{'restore_pattern'} ne 'Regexp' |
250 | 8 | 48 | 50 | defined $replacement and not ref $replacement |
line | l | !l | condition |
---|---|---|---|
205 | 0 | 26 | $opts ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
79 | 2 | 11 | 0 | $in_ref->{'restore_pattern'} || qr/\x01(\d+)\x01/ |
103 | 11 | 0 | 1 | $1 || $2 |