Branch Coverage

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


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