Condition Coverage

blib/lib/Perl/Lint/Policy/RegularExpressions/RequireExtendedFormatting.pm
Criterion Covered Total %
condition 42 62 67.7


and 3 conditions

line !l l&&!r l&&r condition
38 70 436 109 not $is_non_target_reg and $token_type == 151
39 0 109 0 defined $next_token_type and $next_token_type == 106 || $next_token_type == 144 && !($next_token_data =~ /x/)
46 32 0 3 $enabled_re_x_depth >= 0 && $depth >= $enabled_re_x_depth
2 0 1 $disabled_re_x_depth >= 0 and $disabled_re_x_depth > $enabled_re_x_depth
108 358 0 4 $token_type == 94 and $token_data eq 're'
115 9 0 4 $token_type == 173 || $token_type == 172 || $token_type == 187 and $token_data =~ /x/
130 357 0 1 $token_type == 70 and $token_data eq 'no'
357 0 1 $token_type == 70 and $token_data eq 'no' and $next_token_type == 122
0 0 1 $token_type == 70 and $token_data eq 'no' and $next_token_type == 122 and $next_token_data eq 're'
142 4 0 1 $token_type == 173 || $token_type == 172 || $token_type == 187 and $token_data =~ /x/

or 2 conditions

line l !l condition
16 2 11 $require_extended_formatting_arg->{'minimum_regex_length_to_complain_about'} || 0
17 1 12 $require_extended_formatting_arg->{'strict'} || 0
95 0 1 $enabled_re_x_depths[-1] // -1
99 0 1 $disabled_re_x_depths[-1] // -1

or 3 conditions

line l !l&&r !l&&!r condition
39 20 0 89 $next_token_type == 106 || $next_token_type == 144 && !($next_token_data =~ /x/)
46 32 0 3 not $enabled_re_x_depth >= 0 && $depth >= $enabled_re_x_depth or $disabled_re_x_depth >= 0 and $disabled_re_x_depth > $enabled_re_x_depth
65 8 0 498 $token_type == 154 or $token_type == 147
8 0 498 $token_type == 154 or $token_type == 147 or $token_type == 145
0 0 498 $token_type == 154 or $token_type == 147 or $token_type == 145 or $token_type == 148
80 43 22 366 $token_type == 187 or $token_type == 156
115 1 3 9 $token_type == 173 || $token_type == 172 || $token_type == 187
142 0 1 4 $token_type == 173 || $token_type == 172 || $token_type == 187