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 177 _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 709 1 110 $nocontext and ref $cloned_result_frame eq "HASH"
710 82 28 $nocontext and ref $cloned_result_frame eq "HASH" and keys %{$cloned_result_frame;} > 1
710 607 0 213 $is_blessed_curr and not exists $curr_frame->{'='}
760 1310 6 86 $nocontext and ref $cloned_result_frame eq "HASH"
1316 4 82 $nocontext and ref $cloned_result_frame eq "HASH" and keys %{$cloned_result_frame;} > 1
774 1282 0 120 $is_blessed_curr and not exists $curr_frame->{'='}
955 1826 0 0 $debug_build and $visible_regex ne ""
1826 0 0 $debug_build and $visible_regex ne "" and $visible_regex ne " "
978 1824 0 0 $debug_runtime && $regex eq '|'
1824 0 0 $debug_runtime && $regex =~ /\S/
1148 92 18 0 $is_listifying && $postmodifier
110 0 0 $postmodifier && !$is_noncapturing
1193 8 0 6 defined $keypat && $keypat =~ /\S/
1209 11 0 3 $is_listifying && $postmodifier
8 3 0 $postmodifier && !$is_noncapturing
1405 207 84 8 $is_listifying && $postmodifier

or 2 conditions

line l !l condition
108 97 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 820 0 $caller_frame // {}
768 716 686 $caller_frame->{$key} // []
1082 19 0 $subrule_name //= "undef"
1147 0 110 $REPETITION_DESCRIPTION_FOR{$postmodifier} // ""
1208 6 8 $REPETITION_DESCRIPTION_FOR{$postmodifier} // ""
1404 18 281 $REPETITION_DESCRIPTION_FOR{$postmodifier} // ""
1683 73 2202 $+{'list_marker'} // ""
1684 166 2109 $+{'alias'} // "MATCH"
2121 3778 0 $from_where //= ""

or 3 conditions

line l !l&&r !l&&!r condition
116 0 139 0 $grammar_cache{overload::StrVal($$obj)} //= Regexp::Grammars::_build_grammar(${$obj;})
683 213 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 120 113 951 $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 1824 substr($regex, 0, 1) eq '#' || substr($regex, 0, 3) eq '(?#'
1461 1 5 254 $callname eq 'ws' || $callname eq 'hk'
1690 5 2 1854 defined $+{'backref'} or $+{'alias_backref'}
2 0 1854 defined $+{'backref'} or $+{'alias_backref'} or $+{'alias_backref_list'}
1864 2 3 4 $+{'slash'} eq '\\' || $+{'slash'} eq '\\_'
2540 9 251 0 $name //= $callname
2644 836 366 0 $+{'ignorable_space'} // $local_ws_call