| blib/lib/Perl/Critic/Policy/RegularExpressions/ProhibitUselessTopic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 1 | 8 | 12.5 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 0 | 15 | if ($elem->content eq "\$_") |
| 29 | 0 | 0 | if ($op_node and $op_node->isa("PPI::Token::Operator")) |
| 32 | 0 | 0 | if ($$is_regex_op{$op_node->content}) |
| 34 | 0 | 0 | if ($target_node and $target_node->isa('PPI::Token::Regexp') || $target_node->isa('PPI::Token::QuoteLike::Regexp')) |