Condition Coverage

blib/lib/Perl/Critic/Policy/Freenode/ConditionalImplicitReturn.pm
Criterion Covered Total %
condition 12 17 70.5


and 3 conditions

line !l l&&!r l&&r condition
34 129 10 8 $child->isa('PPI::Token::Word') and $child eq 'return'
39 0 1 4 $returns and &any(sub { not is_empty_return($_); } , @$returns)
42 0 1 3 $last and $last->isa('PPI::Statement::Compound')
1 0 3 $last and $last->isa('PPI::Statement::Compound') and $last->schildren
1 0 3 $last and $last->isa('PPI::Statement::Compound') and $last->schildren and exists $conditionals{$last->schild(0)}

or 2 conditions

line l !l condition
27 5 0 $elem->block || (return ())