blib/lib/Perl/Critic/Policy/ControlStructures/ProhibitMultipleSubscripts.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 21 | 76.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
38 | 12 | 0 | 48 | $source->isa('PPI::Token::Operator') and $source eq '->' |
59 | 24 | 22 | 10 | $used_cnt and $used_cnt > 2 |
92 | 8 | 1 | 3 | $child->isa('PPI::Token::Operator') and $child eq ',' |
110 | 0 | 0 | 40 | $expr and $expr->isa('PPI::Statement') |
112 | 0 | 26 | 14 | $parens and $parens->isa('PPI::Structure::List') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
41 | 59 | 0 | 1 | $source->isa('PPI::Token::Symbol') or $source->isa('PPI::Token::Word') |
55 | 47 | 9 | 3 | $source_is_iterator or $sub_value eq $iterator |