Condition Coverage

blib/lib/Perl/Critic/Policy/CodeLayout/ProhibitIfIfSameLine.pm
Criterion Covered Total %
condition 8 12 66.6


and 3 conditions

line !l l&&!r l&&r condition
61 0 4 4 $prev->isa('PPI::Statement::Compound') and $compound_type_is_if{$prev->type}

or 2 conditions

line l !l condition
60 8 8 $elem->sprevious_sibling || (return)
86 30 0 $elem->schild(0) || ''
102 4 0 $from->next_sibling || (return 0)

or 3 conditions

line l !l&&r !l&&!r condition
98 0 1 4 $from =~ /\n/ or $from->isa('PPI::Statement::Null')