blib/lib/Perl/Lint/Policy/RegularExpressions/RequireDotMatchAnything.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 40 | 55 | 72.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
34 | 60 | 386 | 86 | not $is_non_target_reg and $token_type == 151 |
35 | 0 | 86 | 0 | defined $next_token_type and $next_token_type == 106 || $next_token_type == 144 && !($next_token_data =~ /s/) |
42 | 23 | 0 | 3 | $enabled_re_m_depth >= 0 && $depth >= $enabled_re_m_depth |
2 | 0 | 1 | $disable_re_m_depth >= 0 and $disable_re_m_depth > $enabled_re_m_depth | |
97 | 356 | 8 | 4 | $token_type == 94 and $token_data eq 're' |
104 | 9 | 0 | 4 | $token_type == 173 || $token_type == 172 || $token_type == 187 and $token_data =~ /s/ |
119 | 362 | 1 | 1 | $token_type == 70 and $token_data eq 'no' |
363 | 0 | 1 | $token_type == 70 and $token_data eq 'no' and $next_token_type == 122 | |
1 | 0 | 1 | $token_type == 70 and $token_data eq 'no' and $next_token_type == 122 and $next_token_data eq 're' | |
131 | 4 | 0 | 1 | $token_type == 173 || $token_type == 172 || $token_type == 187 and $token_data =~ /s/ |
line | l | !l | condition |
---|---|---|---|
84 | 0 | 1 | $enabled_re_m_depths[-1] // -1 |
88 | 0 | 1 | $disable_re_m_depths[-1] // -1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
35 | 11 | 0 | 75 | $next_token_type == 106 || $next_token_type == 144 && !($next_token_data =~ /s/) |
42 | 23 | 0 | 3 | not $enabled_re_m_depth >= 0 && $depth >= $enabled_re_m_depth or $disable_re_m_depth >= 0 and $disable_re_m_depth > $enabled_re_m_depth |
61 | 8 | 2 | 436 | $token_type == 154 or $token_type == 147 |
10 | 0 | 436 | $token_type == 154 or $token_type == 147 or $token_type == 145 | |
2 | 0 | 436 | $token_type == 154 or $token_type == 147 or $token_type == 145 or $token_type == 148 | |
104 | 1 | 3 | 9 | $token_type == 173 || $token_type == 172 || $token_type == 187 |
131 | 0 | 1 | 4 | $token_type == 173 || $token_type == 172 || $token_type == 187 |