| blib/lib/Perl/Critic/Policy/CognitiveComplexity/ProhibitExcessCognitiveComplexity.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 12 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 79 | 170 | 5 | 1 | $child->isa('PPI::Statement::Break') and not $self->is_return_statement($child) |
| 114 | 143 | 40 | 1 | $child->isa('PPI::Statement') and $child->find(sub { $_[1]->content eq 'sub'; } ) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 79 | 1 | 8 | 178 | $child->isa('PPI::Structure::Given') or $child->isa('PPI::Structure::Condition') |
| 9 | 2 | 176 | $child->isa('PPI::Structure::Given') or $child->isa('PPI::Structure::Condition') or $child->isa('PPI::Structure::For') |