blib/lib/Perl/Lint/Policy/RegularExpressions/RequireLineBoundaryMatching.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 42 | 55 | 76.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
34 | 60 | 434 | 98 | not $is_non_target_reg and $token_type == 151 |
35 | 0 | 98 | 0 | defined $next_token_type and $next_token_type == 106 || $next_token_type == 144 && !($next_token_data =~ /m/) |
42 | 24 | 0 | 8 | $enabled_re_m_depth >= 0 && $depth >= $enabled_re_m_depth |
6 | 1 | 1 | $disable_re_m_depth >= 0 and $disable_re_m_depth > $enabled_re_m_depth | |
97 | 388 | 8 | 6 | $token_type == 94 and $token_data eq 're' |
104 | 12 | 0 | 6 | $token_type == 173 || $token_type == 172 || $token_type == 187 and $token_data =~ /m/ |
119 | 394 | 1 | 1 | $token_type == 70 and $token_data eq 'no' |
395 | 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 =~ /m/ |
line | l | !l | condition |
---|---|---|---|
84 | 1 | 1 | $enabled_re_m_depths[-1] // -1 |
88 | 0 | 1 | $disable_re_m_depths[-1] // -1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
35 | 17 | 0 | 81 | $next_token_type == 106 || $next_token_type == 144 && !($next_token_data =~ /m/) |
42 | 24 | 0 | 8 | 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 | 484 | $token_type == 154 or $token_type == 147 |
10 | 0 | 484 | $token_type == 154 or $token_type == 147 or $token_type == 145 | |
2 | 0 | 484 | $token_type == 154 or $token_type == 147 or $token_type == 145 or $token_type == 148 | |
104 | 2 | 4 | 12 | $token_type == 173 || $token_type == 172 || $token_type == 187 |
131 | 0 | 1 | 4 | $token_type == 173 || $token_type == 172 || $token_type == 187 |