blib/lib/Perl/Critic/Policy/TryTiny/RequireCatch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 8 | 75.0 |
line | true | false | branch |
---|---|---|---|
34 | 16 | 4 | if $elem->content ne 'try' |
35 | 0 | 4 | unless is_function_call($elem) |
37 | 0 | 4 | unless my $try_block = $elem->snext_sibling |
39 | 2 | 2 | if ($sib->content ne 'catch') |