blib/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitArrayAssignAref.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 16 | 87.5 |
line | true | false | branch |
---|---|---|---|
44 | 10 | 14 | $elem->isa('PPI::Token::Cast') ? : |
6 | 18 | unless ($elem->isa('PPI::Token::Cast') ? $elem->content : $elem->raw_type) eq '@' | |
51 | 18 | 21 | if $elem->isa('PPI::Token::Operator') |
57 | 11 | 10 | if ($elem->isa('PPI::Structure::Subscript') or $elem->isa('PPI::Structure::Constructor')) |
59 | 5 | 6 | if ($elem->start eq '[') { } |
6 | 0 | elsif ($elem->start eq '{') { } | |
68 | 0 | 18 | unless $elem eq '=' |
71 | 7 | 11 | unless $elem->isa('PPI::Structure::Constructor') and $elem->start eq '[' |