Condition Coverage

blib/lib/Perl/Critic/Policy/TryTiny/RequireBlockTermination.pm
Criterion Covered Total %
condition 16 21 76.1


and 3 conditions

line !l l&&!r l&&r condition
27 0 0 10 $try_block and $try_block->isa('PPI::Structure::Block')
32 4 3 11 $try_end and $try_end->isa('PPI::Token::Word')
7 3 8 $try_end and $try_end->isa('PPI::Token::Word') and $try_end->content eq 'catch' || $try_end->content eq 'finally'
3 0 8 $try_end and $try_end->isa('PPI::Token::Word') and $try_end->content eq 'catch' || $try_end->content eq 'finally' and $try_end->snext_sibling
3 0 8 $try_end and $try_end->isa('PPI::Token::Word') and $try_end->content eq 'catch' || $try_end->content eq 'finally' and $try_end->snext_sibling and $try_end->snext_sibling->isa('PPI::Structure::Block')
46 3 0 3 $try_end->isa('PPI::Token::Structure') and $try_end->content eq ';'

or 3 conditions

line l !l&&r !l&&!r condition
32 6 2 3 $try_end->content eq 'catch' || $try_end->content eq 'finally'