blib/lib/Perl/Critic/Policy/CognitiveComplexity/ProhibitExcessCognitiveComplexity.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 21 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
86 | 248 | 8 | 1 | $child->isa('PPI::Statement::Break') and not $self->_is_return_statement($child) |
120 | 3 | 2 | 2 | $i > 0 and $ops[$i - 1] eq $ops[$i] |
152 | 1 | 4 | 1 | $child->isa('PPI::Structure::List') && $foreach && $foreach->isa('PPI::Token::Word') && $foreach->content eq 'foreach' |
163 | 208 | 56 | 1 | $child->isa('PPI::Statement') and $child->find(sub { |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
86 | 1 | 11 | 260 | $child->isa('PPI::Structure::Given') or $child->isa('PPI::Structure::Condition') |
12 | 2 | 258 | $child->isa('PPI::Structure::Given') or $child->isa('PPI::Structure::Condition') or $child->isa('PPI::Structure::For') | |
13 | 1 | 257 | $child->isa('PPI::Structure::Given') or $child->isa('PPI::Structure::Condition') or $child->isa('PPI::Structure::For') or $self->_is_foreach_statement($child) |