blib/lib/Perl/Critic/Policy/Catalyst/ProhibitUnreachableCode.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 21 | 61.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
61 | 36 | 12 | 0 | $child->isa('PPI::Token::Operator') and exists $OPERATORS{$child} |
62 | 34 | 12 | 2 | $child->isa('PPI::Token::Word') and exists $CONDITIONALS{$child} |
149 | 0 | 5 | 0 | @children and $children[0]->isa('PPI::Token::Label') |
155 | 3 | 0 | 0 | $statement->isa('PPI::Statement::Include') and $statement->type ne 'require' |
158 | 3 | 0 | 0 | $statement->isa('PPI::Statement::Variable') and $statement->type eq 'our' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
56 | 10 | 2 | 4 | _is_terminating_context_method($element, \@context_methods) or _is_terminating_controller_method($element, \@controller_methods) |
137 | 10 | 3 | 0 | $element->sprevious_sibling || $element->parent |