line |
true |
false |
branch |
53
|
40 |
32 |
%disabled_policies ? :
|
61
|
72 |
0 |
$parent ? :
|
65
|
2 |
70 |
if ($annotation_element =~ /\A [#]!/msx)
|
72
|
35 |
35 |
if (_is_single_line_annotation_on_simple_statement($annotation_element))
|
80
|
11 |
24 |
if (ref $parent eq "PPI::Structure::Block")
|
81
|
11 |
0 |
if (ref $grandparent eq "PPI::Statement::Compound" or ref $grandparent eq "PPI::Statement::Sub")
|
83
|
6 |
5 |
if ($parent->logical_line_number == $annotation_line)
|
102
|
13 |
152 |
if $esib->isa("PPI::Token::Comment") and $esib =~ /$use_critic/
|
108
|
1 |
28 |
if ($end->isa("PPI::Statement::End") and my $kid = $end->child(0))
|
113
|
0 |
3 |
if $esib->isa("PPI::Token::Comment") and $esib->content =~ /$use_critic/
|
149
|
8 |
0 |
if $self->{'_disabled_policies'}{$policy_name}
|
150
|
0 |
0 |
if $self->disables_all_policies
|
166
|
13 |
0 |
if $line_number >= $effective_range->[0] and $line_number <= $effective_range->[$LAST_ELEMENT]
|
180
|
24 |
46 |
unless my $sib = $annotation_element->sprevious_sibling
|
185
|
34 |
12 |
if $sib->logical_line_number == $annotation_line
|
193
|
12 |
0 |
if ($sib->isa("PPI::Node") and $sib->logical_line_number < $annotation_line)
|
201
|
1 |
11 |
if ($neighbor and $neighbor->logical_line_number == $annotation_line)
|
239
|
40 |
32 |
if (my($patterns_string) = $annotation_element =~ /$no_critic/)
|
257
|
2 |
38 |
unless (@disabled_policy_names)
|