| blib/lib/Perl/Lint/Policy/RegularExpressions/RequireBracesForMultiline.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 10 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 1 | 6 | if ($args->{'require_braces_for_multiline'}{'allow_all_brackets'}) |
| 24 | 30 | 180 | if ($token_type == 187 or $token_type == 156) |
| 25 | 24 | 6 | if (my(@backslashes) = $token->{'data'} =~ /(\\*)\n/g) |
| 27 | 8 | 16 | unless ($reg_delim_token->{'data'} =~ /$brackets_regex/) |
| 29 | 8 | 0 | if (not $backslash or length($backslash) % 2 == 0) |