blib/lib/Perl/Critic/Policy/ControlStructures/ProhibitUnreachableCode.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 18 | 88.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 92 | 2 | 2 | $child->isa("PPI::Token::Operator") and exists $OPERATORS{$child} |
61 | 47 | 39 | 8 | $child->isa("PPI::Token::Word") and exists $CONDITIONALS{$child} |
80 | 0 | 22 | 5 | @children and $children[0]->isa("PPI::Token::Label") |
86 | 12 | 1 | 2 | $statement->isa("PPI::Statement::Include") and $statement->type ne "require" |
89 | 12 | 0 | 1 | $statement->isa("PPI::Statement::Variable") and $statement->type eq "our" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
46 | 23 | 20 | 408 | exists $TERMINALS{$elem} or $statement->isa("PPI::Statement::Break") |