blib/lib/Perl/Critic/Policy/ControlStructures/ProhibitUnreachableCode.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 18 | 77.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 94 | 0 | 2 | exists $OPERATORS{$child} and $child->isa("PPI::Token::Operator") |
61 | 86 | 0 | 8 | exists $CONDITIONALS{$child} and $child->isa("PPI::Token::Word") |
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") |