| blib/lib/Perl/Lint/Policy/RegularExpressions/ProhibitComplexRegexes.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 11 | 81.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 58 | 0 | 26 | 2 | $maybe_regopt and $maybe_regopt->{'type'} == 144 |
| 26 | 0 | 2 | $maybe_regopt and $maybe_regopt->{'type'} == 144 and $maybe_regopt->{'data'} =~ /x/ |
| line | l | !l | condition |
|---|---|---|---|
| 15 | 4 | 4 | $args->{'prohibit_complex_regexes'}{'max_characters'} || 60 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 24 | 1 | 1 | 60 | $token_type == 145 or $token_type == 146 |