blib/lib/Perl/Lint/Policy/RegularExpressions/ProhibitFixedStringMatches.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 36 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
58 | 29 | 21 | 5 | $maybe_regopt->{'type'} == 144 and $maybe_regopt->{'data'} =~ /m/ |
80 | 0 | 0 | 55 | defined $first_token_type_id and defined $last_token_type_id |
87 | 12 | 39 | 0 | $first_token_type_id == $beginning_of_line_id || $first_token_type_id == $escaped_beginning_of_line_id and $last_token_type_id == $end_of_line_id || $last_token_type_id == $escaped_end_of_line_id |
104 | 0 | 7 | 8 | defined $next_regexp_token and $next_regexp_token->{'type'}{'id'} == $question_id |
106 | 0 | 0 | 8 | defined $next_regexp_token and $next_regexp_token->{'type'}{'id'} == $colon_id |
115 | 445 | 0 | 14 | $type_id != $character_id and $type_id != $escaped_character_id |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
39 | 56 | 9 | 323 | $token_type == 187 or $token_type == 156 |
5 | 5 | 313 | $token_type == 145 or $token_type == 146 | |
82 | 4 | 0 | 1 | $first_token_type_id == $beginning_of_line_id or $last_token_type_id == $end_of_line_id |
87 | 11 | 28 | 12 | $first_token_type_id == $beginning_of_line_id || $first_token_type_id == $escaped_beginning_of_line_id |
11 | 28 | 0 | $last_token_type_id == $end_of_line_id || $last_token_type_id == $escaped_end_of_line_id | |
95 | 19 | 15 | 474 | $type_id == $alternation_id or $type_id == $rparen_id |