Condition Coverage

blib/lib/Perl/Critic/Community/Utils.pm
Criterion Covered Total %
condition 13 23 56.5


and 3 conditions

line !l l&&!r l&&r condition
18 0 0 38 &blessed($elem) and $elem->isa("PPI::Token::Word")
0 0 38 &blessed($elem) and $elem->isa("PPI::Token::Word") and $elem eq "return"
22 31 0 5 $next->isa("PPI::Token::Structure") and $next eq ";"
23 21 2 8 $next->isa("PPI::Token::Word") and exists $modifiers{$next}
30 0 0 10 &blessed($elem) and $elem->isa("PPI::Structure::Block")
34 1 0 9 $parent->isa("PPI::Statement::Compound") and my $first = $parent->schild(0)
35 0 0 9 $first->isa("PPI::Token::Word") and exists $compound{$first}

or 2 conditions

line l !l condition
21 36 2 $elem->snext_sibling || (return 1)