blib/lib/Perl/Critic/Policy/BuiltinFunctions/ProhibitShiftRef.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
43 | 351 | 26 | if $elem->content ne "shift" |
46 | 11 | 15 | unless ($prev) |
52 | 11 | 0 | if (my $stmt = $elem->statement) |
55 | 3 | 8 | if ($block and $block->isa("PPI::Structure::Block")) |
61 | 10 | 7 | if ($prev and $prev->isa("PPI::Token::Cast") and $prev->content eq "\\") |