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
605 0 0 0 defined $DEBUG and $DEBUG ne 'off'
707 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
718 607 0 212 $is_blessed_curr and not exists $curr_frame->{'='}
768 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
782 1278 0 118 $is_blessed_curr and not exists $curr_frame->{'='}
963 1792 0 0 $debug_build and $visible_regex ne ''
1792 0 0 $debug_build and $visible_regex ne '' and $visible_regex ne ' '
986 1790 0 0 $debug_runtime && $regex eq '|'
1790 0 0 $debug_runtime && $regex =~ /\S/
1152 90 18 0 $is_listifying && $postmodifier
108 0 0 $postmodifier && !$is_noncapturing
1199 8 0 6 defined $keypat && $keypat =~ /\S/
1215 11 0 3 $is_listifying && $postmodifier
8 3 0 $postmodifier && !$is_noncapturing
1412 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
566 0 0 $extra_pre_indent //= 0
655 34 97 $stack_ref->[-1]{$key} // []
713 819 0 $caller_frame // {}
776 713 683 $caller_frame->{$key} // []
1086 19 0 $subrule_name //= 'undef'
1151 0 108 $REPETITION_DESCRIPTION_FOR{$postmodifier} // ''
1214 6 8 $REPETITION_DESCRIPTION_FOR{$postmodifier} // ''
1411 18 274 $REPETITION_DESCRIPTION_FOR{$postmodifier} // ''
1690 73 2159 $+{'list_marker'} // ''
1691 160 2072 $+{'alias'} // 'MATCH'
2128 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;})
691 212 332 102 $is_blessed_curr || length join('', keys %{$curr_frame;})
697 22 0 66 $RULE_HANDLER->can($original_name) or $RULE_HANDLER->can('AUTOLOAD')
752 118 113 947 $is_blessed_curr || length join('', keys %{$curr_frame;})
758 106 0 68 $RULE_HANDLER->can($original_name) or $RULE_HANDLER->can('AUTOLOAD')
958 2 0 1790 substr($regex, 0, 1) eq '#' || substr($regex, 0, 3) eq '(?#'
1468 1 5 250 $callname eq 'ws' || $callname eq 'hk'
1697 5 2 1820 defined $+{'backref'} or $+{'alias_backref'}
2 0 1820 defined $+{'backref'} or $+{'alias_backref'} or $+{'alias_backref_list'}
1871 2 3 4 $+{'slash'} eq '\\' || $+{'slash'} eq '\\_'
2547 8 248 0 $name //= $callname
2645 813 392 0 $+{'ignorable_space'} // $local_ws_call