Condition Coverage

blib/lib/Regex/Range/Number.pm
Criterion Covered Total %
condition 20 37 54.0


and 3 conditions

line !l l&&!r l&&r condition
25 0 0 0 not $u{$$_{$_[1]}} and do { $u{$$_{$_[1]}} = 1 }
67 0 11 28 $m <= $st and $st <= $mx
73 0 11 1 $m < $st and $st <= $mx
103 0 9 21 not $tok->{'isPadded'} and $p
9 21 0 not $tok->{'isPadded'} and $p and $p->{'pattern'} eq $o->{'pattern'}
123 0 0 0 $i and $helper{'contains'}->($c, 'string', $e)

or 2 conditions

line l !l condition
164 10 10 $options ||= {}
165 10 10 $options->{'capture'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
36 4 14 12 not $s or $s == 1
92 15 0 44 $n->[0] != 0 || $n->[1] != 9
123 0 0 22 $i || $helper{'contains'}->($c, 'string', $e)
162 20 0 0 defined $max or $start == $max
184 0 0 7 $helper{'padding'}->($a) || $helper{'padding'}->($b)