blib/lib/Perl/Critic/Policy/CodeLayout/RequireTrailingCommas.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 1 | 14 | 7.1 |
line | true | false | branch |
---|---|---|---|
29 | 21 | 0 | unless $elem =~ / \n /msx |
33 | 0 | 0 | unless $sib |
34 | 0 | 0 | unless $sib->isa("PPI::Token::Operator") and $sib =~ / = /msx |
38 | 0 | 0 | unless $expr |
43 | 0 | 0 | if $_->isa("PPI::Token::Operator") |
0 | 0 | if 1 >= grep({$_ eq $Perl::Critic::Policy::CodeLayout::RequireTrailingCommas::COMMA if $_->isa("PPI::Token::Operator");} @children) | |
48 | 0 | 0 | unless ($final->isa("PPI::Token::Operator") and $final eq $Perl::Critic::Policy::CodeLayout::RequireTrailingCommas::COMMA) |