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