blib/lib/Regex/Range/Number.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 37 | 48.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
26 | 0 | 0 | 0 | not $u{$$_{$_[1]}} and do { $u{$$_{$_[1]}} = 1 } |
68 | 0 | 8 | 24 | $m <= $st and $st <= $mx |
74 | 0 | 8 | 0 | $m < $st and $st <= $mx |
104 | 0 | 6 | 18 | not $tok->{'isPadded'} and $p |
6 | 18 | 0 | not $tok->{'isPadded'} and $p and $p->{'pattern'} eq $o->{'pattern'} | |
124 | 0 | 0 | 0 | $i and $helper{'contains'}->($c, 'string', $e) |
line | l | !l | condition |
---|---|---|---|
152 | 4 | 4 | $options ||= {} |
154 | 4 | 4 | $options->{'capture'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
37 | 0 | 12 | 12 | not $s or $s == 1 |
93 | 12 | 0 | 42 | $n->[0] != 0 || $n->[1] != 9 |
124 | 0 | 0 | 16 | $i || $helper{'contains'}->($c, 'string', $e) |
151 | 8 | 0 | 0 | defined $max or $start == $max |
172 | 0 | 0 | 4 | $helper{'padding'}->($a) || $helper{'padding'}->($b) |