Condition Coverage

blib/lib/Regexp/Grammars.pm
Criterion Covered Total %
condition 81 154 52.6


and 3 conditions

line !l l&&!r l&&r condition
40 102 0 173 _module_is_active() and $type =~ /qq?/
282 2 0 0 $severity eq 'info' and $prev_severity eq 'info'
308 0 0 0 -t *LOGFILE and defined $DEBUG
0 0 0 -t *LOGFILE and defined $DEBUG and ($DEBUG_LEVEL{$DEBUG} // 0) >= $DEBUG_LEVEL{$min_debug_level}
347 0 0 0 @try_stack and $try_stack[-1]{'height'} >= $stack_height
354 0 0 0 $in_match and $error_ref->{'height'} == $stack_height
0 0 0 $in_match and $error_ref->{'height'} == $stack_height and $error_ref->{'subrule'} eq $subrule
597 0 0 0 defined $DEBUG and $DEBUG ne 'off'
699 708 1 110 $nocontext and ref $cloned_result_frame eq 'HASH'
709 82 28 $nocontext and ref $cloned_result_frame eq 'HASH' and keys %{$cloned_result_frame;} > 1
710 607 0 212 $is_blessed_curr and not exists $curr_frame->{'='}
760 1304 6 86 $nocontext and ref $cloned_result_frame eq 'HASH'
1310 4 82 $nocontext and ref $cloned_result_frame eq 'HASH' and keys %{$cloned_result_frame;} > 1
774 1278 0 118 $is_blessed_curr and not exists $curr_frame->{'='}
955 1792 0 0 $debug_build and $visible_regex ne ''
1792 0 0 $debug_build and $visible_regex ne '' and $visible_regex ne ' '
978 1790 0 0 $debug_runtime && $regex eq '|'
1790 0 0 $debug_runtime && $regex =~ /\S/
1144 90 18 0 $is_listifying && $postmodifier
108 0 0 $postmodifier && !$is_noncapturing
1189 8 0 6 defined $keypat && $keypat =~ /\S/
1205 11 0 3 $is_listifying && $postmodifier
8 3 0 $postmodifier && !$is_noncapturing
1401 204 80 8 $is_listifying && $postmodifier

or 2 conditions

line l !l condition
108 92 0 $y // ''
170 0 0 shift() // ''
229 0 0 $_ // ''
238 0 0 $_ // ''
0 0 pos $_ // 0
242 0 0 our $last_context_str //= ''
308 0 0 $DEBUG_LEVEL{$DEBUG} // 0
315 0 0 readline ARGV // ''
413 0 0 our $last_try_pos //= 0
459 0 0 our $last_try_pos //= 0
462 0 0 pos $_ // 0
547 1 0 $extra_pre_indent //= 0
564 0 0 $extra_pre_indent //= 0
647 34 97 $stack_ref->[-1]{$key} // []
705 819 0 $caller_frame // {}
768 713 683 $caller_frame->{$key} // []
1078 19 0 $subrule_name //= 'undef'
1143 0 108 $REPETITION_DESCRIPTION_FOR{$postmodifier} // ''
1204 6 8 $REPETITION_DESCRIPTION_FOR{$postmodifier} // ''
1400 18 274 $REPETITION_DESCRIPTION_FOR{$postmodifier} // ''
1679 73 2159 $+{'list_marker'} // ''
1680 160 2072 $+{'alias'} // 'MATCH'
2117 3777 0 $from_where //= ''

or 3 conditions

line l !l&&r !l&&!r condition
116 0 137 0 $grammar_cache{overload::StrVal($$obj)} //= Regexp::Grammars::_build_grammar(${$obj;})
683 212 332 102 $is_blessed_curr || length join('', keys %{$curr_frame;})
689 22 0 66 $RULE_HANDLER->can($original_name) or $RULE_HANDLER->can('AUTOLOAD')
744 118 113 947 $is_blessed_curr || length join('', keys %{$curr_frame;})
750 106 0 68 $RULE_HANDLER->can($original_name) or $RULE_HANDLER->can('AUTOLOAD')
950 2 0 1790 substr($regex, 0, 1) eq '#' || substr($regex, 0, 3) eq '(?#'
1457 1 5 250 $callname eq 'ws' || $callname eq 'hk'
1686 5 2 1820 defined $+{'backref'} or $+{'alias_backref'}
2 0 1820 defined $+{'backref'} or $+{'alias_backref'} or $+{'alias_backref_list'}
1860 2 3 4 $+{'slash'} eq '\\' || $+{'slash'} eq '\\_'
2536 8 248 0 $name //= $callname
2634 813 355 0 $+{'ignorable_space'} // $local_ws_call