blib/lib/Perl/Critic/Policy/CognitiveComplexity/ProhibitExcessCognitiveComplexity.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 15 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
85 | 197 | 5 | 1 | $child->isa('PPI::Statement::Break') and not $self->is_return_statement($child) |
118 | 3 | 2 | 1 | $i > 0 and $ops[$i - 1] eq $ops[$i] |
142 | 167 | 43 | 1 | $child->isa('PPI::Statement') and $child->find(sub { |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
85 | 1 | 11 | 205 | $child->isa('PPI::Structure::Given') or $child->isa('PPI::Structure::Condition') |
12 | 2 | 203 | $child->isa('PPI::Structure::Given') or $child->isa('PPI::Structure::Condition') or $child->isa('PPI::Structure::For') |