blib/lib/Perl/Critic/Policy/Bangs/ProhibitUselessTopic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 12 | 83.3 |
line | true | false | branch |
---|---|---|---|
29 | 25 | 49 | if ($content eq '$_') |
32 | 22 | 3 | if ($op_node and $op_node->isa('PPI::Token::Operator')) |
35 | 21 | 1 | if ($op eq '=~' or $op eq '!~') |
43 | 2 | 47 | if ($filetest_operators{$content}) |
46 | 2 | 0 | if ($op_node and $op_node->isa('PPI::Token::Magic')) |
48 | 2 | 0 | if ($op eq '$_') |