line |
true |
false |
branch |
56
|
168 |
197 |
if $VERSION_VARIABLE ne $elem->content
|
64
|
3 |
194 |
if not $operator = get_next_element_in_same_simple_statement($elem) or $Perl::Critic::Policy::ValuesAndExpressions::ProhibitComplexVersion::EQUAL ne $operator
|
69
|
0 |
194 |
unless my $statement = $self->_get_simple_statement($elem)
|
74
|
14 |
180 |
if $exception = $self->_validate_fully_qualified_symbols($elem, $statement, $doc)
|
82
|
171 |
9 |
unless my $module = get_previous_module_used_on_same_line($elem)
|
87
|
7 |
2 |
if $module eq $VERSION_MODULE and not $self->{'_forbid_use_version'}
|
107
|
197 |
243 |
if (is_ppi_simple_statement($statement)) { }
|
108
|
194 |
3 |
unless $parent = $statement->parent and $parent->isa("PPI::Structure::List")
|
128
|
167 |
27 |
unless $doc->find("PPI::Statement::Package")
|
133
|
0 |
194 |
unless $statement->find("PPI::Token::Symbol")
|
135
|
10 |
215 |
if ($symbol->canonical =~ / \A [\@\$%&] ([\w:]*) :: /msx)
|
136
|
9 |
1 |
unless $local_package{$1}
|
152
|
118 |
67 |
unless $statement->find(sub {
|
167
|
0 |
1 |
if $local_package{$1}
|
174
|
3 |
181 |
unless $statement->find("PPI::Token::Word")
|
175
|
4 |
271 |
if ($symbol->content =~ / \A ([\w:]*) :: /msx)
|
177
|
4 |
0 |
unless $local_package{$1}
|