blib/lib/Perl/Critic/Policy/RegularExpressions/ProhibitUselessTopic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 8 | 100.0 |
line | true | false | branch |
---|---|---|---|
26 | 32 | 15 | if ($content eq "\$_") |
29 | 31 | 1 | if ($op_node and $op_node->isa("PPI::Token::Operator")) |
32 | 30 | 1 | if ($op eq "=~" or $op eq "!~") |
34 | 25 | 5 | if ($target_node and $target_node->isa('PPI::Token::Regexp') || $target_node->isa('PPI::Token::QuoteLike::Regexp')) |