| blib/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitSingleArgArraySlice.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 10 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 0 | 9 | unless $elem->isa('PPI::Token::Symbol') |
| 31 | 3 | 6 | unless substr("$elem", 0, 1) eq '@' |
| 35 | 1 | 5 | unless $next->isa('PPI::Structure::Subscript') |
| 39 | 2 | 3 | if @children > 1 |
| 42 | 3 | 0 | if @children == 1 |