Condition Coverage

blib/lib/Perl/Critic/Policy/CodeLayout/RequireKRParens.pm
Criterion Covered Total %
condition 18 27 66.6


and 3 conditions

line !l l&&!r l&&r condition
33 0 2 3 ref $prev and not $prev->isa('PPI::Token::Whitespace')
39 0 1 4 ref $next and not $next->isa('PPI::Token::Whitespace')
1 2 2 ref $next and not $next->isa('PPI::Token::Whitespace') and not _is_end_of_statement($next)
54 0 11 1 ref $parens and not $parens->isa('PPI::Structure::List')
57 0 7 4 ref $next_sib and $next_sib->isa('PPI::Token::Whitespace')
76 0 0 2 ref $prev and not $prev->isa('PPI::Token::Whitespace')
82 0 1 1 ref $next and not $next->isa('PPI::Token::Whitespace')

or 3 conditions

line l !l&&r !l&&!r condition
50 10 2 12 is_function_call($elem) or is_method_call($elem)
94 0 2 0 $elem eq '}' || $elem eq ';'