| blib/lib/Perl/Critic/Policy/InputOutput/ProhibitHighPrecedentLogicalOperatorErrorHandling.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 14 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 20 | 10 | if $elem->content ne 'open' |
| 32 | 6 | 4 | if $self->_uses_parenthesis($elem) |
| 34 | 2 | 2 | if ($self->_is_high_precedence_logical_operator($elem->snext_sibling)) |
| 44 | 6 | 4 | if ($elem->snext_sibling->content =~ /^[\s]*[(]/imsx) { } |
| 54 | 30 | 2 | if ($sibling) |
| 55 | 10 | 20 | if ($sibling->class eq 'PPI::Token::Operator') |
| 56 | 2 | 8 | if ($sibling->content eq '||') |