Branch Coverage

blib/lib/Perl/Lint/Policy/RegularExpressions/RequireExtendedFormatting.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
38 109 506 if (not $is_non_target_reg and $token_type == 151)
39 35 74 if (defined $next_token_type and $next_token_type == 106 || $next_token_type == 144 && !($next_token_data =~ /x/))
46 33 2 if (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 0 498 if ($token_type == 154 or $token_type == 147 or $token_type == 145 or $token_type == 148)
75 67 431 if ($token_type == 106)
80 65 366 if ($token_type == 187 or $token_type == 156)
81 5 60 if (length $token_data <= $minimum_regex_length_to_complain_about)
88 2 364 if ($token_type == 109)
92 2 362 if ($token_type == 110)
93 1 1 if ($enabled_re_x_depth == $depth)
97 1 1 if ($disabled_re_x_depth == $depth)
108 4 358 if ($token_type == 94 and $token_data eq 're')
112 4 13 if ($token_type == 106)
115 4 9 if ($token_type == 173 || $token_type == 172 || $token_type == 187 and $token_data =~ /x/)
130 1 0 if ($token_type == 70 and $token_data eq 'no' and $next_token_type == 122 and $next_token_data eq 're')
139 1 5 if ($token_type == 106)
142 1 4 if ($token_type == 173 || $token_type == 172 || $token_type == 187 and $token_data =~ /x/)