Condition Coverage

blib/lib/Perl/Critic/Policy/Freenode/EmptyReturn.pm
Criterion Covered Total %
condition 6 8 75.0


and 3 conditions

line !l l&&!r l&&r condition
32 173 16 21 $child->isa('PPI::Token::Word') and $child eq 'return'
37 0 3 8 $returns and &any(sub { not is_empty_return($_); } , @$returns)

or 2 conditions

line l !l condition
25 11 0 $elem->block || (return ())