Branch Coverage

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


line true false branch
92 22 100 unless (is_function_call($elem))
93 49 51 if (exists $self->{'_allow'}{$elem->content})
96 24 27 if (exists $self->{'_require'}{$elem->content})
97 12 12 unless ($sibling and $sibling->isa("PPI::Structure::List"))
100 19 20 if (not $sibling or $sibling->isa("PPI::Structure::List"))
102 14 6 if (exists $self->{'_permit'}{$elem->content})
103 4 6 if ($sibling->isa("PPI::Token::Number") or $sibling->isa("PPI::Token::Quote") or $sibling->isa("PPI::Token::QuoteLike") or $sibling->isa("PPI::Token::Symbol"))