Branch Coverage

blib/lib/Perl/Critic/Policy/CodeLayout/RequireTrailingCommas.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
29 27 18 unless $elem =~ / \n /msx
33 1 17 unless $sib
34 2 15 unless $sib->isa("PPI::Token::Operator") and $sib =~ / = /msx
38 1 14 unless $expr
43 25 39 if $_->isa("PPI::Token::Operator")
7 7 if 1 >= grep({$_ eq $Perl::Critic::Policy::CodeLayout::RequireTrailingCommas::COMMA if $_->isa("PPI::Token::Operator");} @children)
48 4 3 unless ($final->isa("PPI::Token::Operator") and $final eq $Perl::Critic::Policy::CodeLayout::RequireTrailingCommas::COMMA)