Branch Coverage

blib/lib/Perl/Critic/Policy/CodeLayout/ProhibitQuotedWordLists.pm
Criterion Covered Total %
branch 5 24 20.8


line true false branch
50 0 21 unless $sibling
52 6 15 if $sibling->isa("PPI::Token::Symbol")
53 0 15 if $sibling->isa("PPI::Token::Operator") and $sibling eq "->"
54 15 0 if $sibling->isa("PPI::Token::Word") and not is_included_module_name($sibling)
58 0 0 unless $expr
60 0 0 unless @children
64 0 0 if $child->isa("PPI::Token::Operator") and $child eq $Perl::Critic::Policy::CodeLayout::ProhibitQuotedWordLists::COMMA
69 0 0 unless _is_literal($child)
72 0 0 if $string =~ / \s /msx
73 0 0 if $string eq $Perl::Critic::Policy::CodeLayout::ProhibitQuotedWordLists::EMPTY
74 0 0 unless $self->{'_strict'} or $string =~ /\A [\w-]+ \z/msx
79 0 0 if $count < $self->{'_min_elements'}