blib/lib/Perl/Critic/Policy/TooMuchCode/ProhibitLargeTryBlock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 10 | 60.0 |
line | true | false | branch |
---|---|---|---|
15 | 0 | 2 | unless $self->__use_try_tiny($doc) |
19 | 0 | 2 | unless $word_before and $word_before->isa("PPI::Token::Word") and $word_before->content eq "try" |
21 | 0 | 2 | unless my $s = $elem->find("PPI::Statement") |
23 | 1 | 1 | unless $statement_count > $limit |
30 | 0 | 2 | unless my $includes = $elem->find("PPI::Statement::Include") |