Branch Coverage

blib/lib/Perl/Critic/Policy/References/RequireSigils.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
47 0 14 if ($note)
53 31 18 if ($elem->content ne "->")
55 0 18 unless ($next)
56 4 14 if ($next->isa("PPI::Token::Word") and is_method_call($next))
57 6 8 if ($next->isa("PPI::Structure::Subscript"))
58 3 5 if ($next->isa("PPI::Structure::List"))
59 5 0 if ($next->isa("PPI::Token::Cast"))
66 45 44 if ($elem->isa("PPI::Token::Operator"))
68 44 0 if ($elem->isa("PPI::Token::Quote"))
69 23 21 unless ($self->{'_interpolation'})
75 17 34 if ($node->isa("PPIx::QuoteLike::Token::Interpolation"))
78 13 4 unless $doc->find("PPI::Token::Operator")
79 4 0 if (my $violation = $self->operatorViolates($inner))