Condition Coverage

blib/lib/JE/Object/RegExp.pm
Criterion Covered Total %
condition 20 51 39.2


and 3 conditions

line !l l&&!r l&&r condition
247 0 54 2 $re->can('id') and $re->id eq 'undef'
248 0 0 0 defined $flags and eval { do { $flags->id } } ne 'undef'
270 0 0 0 $flags->can('id') and $flags->id eq 'undef'
300 0 2 373 $flags =~ /^((?:(?!s)[\$_\p{ID_Continue}])*)\z/ and eval "qr//$1"
500 0 0 1 defined $3 && index($3, 'x') + 1
0 0 0 $2 =~ /x/ && ++$stack[-1][2]
567 208 1 28 $$cur[3] and @{$$cur[3];}
209 15 13 $$cur[3] and @{$$cur[3];} and $re =~ /^[+{*?]/
578 19 0 7 $$cur[3] and @{$$cur[3];}
597 1 0 1 $$cur[3] and @{$$cur[3];}
813 20 0 0 $re->class eq 'RegExp' and !defined($flags) || $flags->id eq 'undef'

or 3 conditions

line l !l&&r !l&&!r condition
239 375 0 0 $global->prototype_for('RegExp') || $global->prop('RegExp')->prop('prototype')
403 0 0 70 $stack[-1][1] == 4 || $stack[-1][1] == 3
12 0 1131 $stack[-1][1] == 4 || $stack[-1][1] == 3
725 0 0 0 $pos < 0 or $pos > length $str
0 0 0 $pos < 0 or $pos > length $str or pos $str = $pos, !($str =~ /$$$self{'value'}/g)
813 0 0 0 !defined($flags) || $flags->id eq 'undef'