blib/lib/Perl/Critic/Policy/Objects/ProhibitIndirectSyntax.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 1 | 12 | 8.3 |
line | true | false | branch |
---|---|---|---|
50 | 346 | 0 | unless $self->{'_forbid'}{$elem->content} |
53 | 0 | 0 | unless is_function_call($elem) |
57 | 0 | 0 | unless my $object = $elem->snext_sibling |
59 | 0 | 0 | unless $object->isa("PPI::Token::Word") or $object->isa("PPI::Token::Symbol") and $DOLLAR eq $object->raw_type or $object->isa("PPI::Structure::Block") |
67 | 0 | 0 | if (my $operator = $object->snext_sibling) |
70 | 0 | 0 | if $operator->isa("PPI::Token::Operator") and $COMMA{$operator->content} |