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
248 0 54 2 $re->can('id') and $re->id eq 'undef'
249 0 0 0 defined $flags and eval { do { $flags->id } } ne 'undef'
271 0 0 0 $flags->can('id') and $flags->id eq 'undef'
301 0 2 373 $flags =~ /^((?:(?!s)[\$_\p{ID_Continue}])*)\z/ and eval "qr//$1"
496 0 0 1 defined $3 && index($3, 'x') + 1
0 0 0 $2 =~ /x/ && ++$stack[-1][2]
563 208 1 28 $$cur[3] and @{$$cur[3];}
209 15 13 $$cur[3] and @{$$cur[3];} and $re =~ /^[+{*?]/
574 19 0 7 $$cur[3] and @{$$cur[3];}
593 1 0 1 $$cur[3] and @{$$cur[3];}
809 20 0 0 $re->class eq 'RegExp' and !defined($flags) || $flags->id eq 'undef'

or 3 conditions

line l !l&&r !l&&!r condition
240 375 0 0 $global->prototype_for('RegExp') || $global->prop('RegExp')->prop('prototype')
399 0 0 70 $stack[-1][1] == 4 || $stack[-1][1] == 3
12 0 1131 $stack[-1][1] == 4 || $stack[-1][1] == 3
721 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)
809 0 0 0 !defined($flags) || $flags->id eq 'undef'