line |
true |
false |
branch |
66
|
16 |
63 |
if ($elem->isa('PPI::Token::Symbol')) { }
|
67
|
6 |
10 |
unless $elem->symbol_type eq '&'
|
80
|
24 |
8 |
if ($elem->isa('PPI::Token::Symbol') or is_function_call($elem)) { }
|
|
6 |
2 |
elsif (is_method_call($elem)) { }
|
81
|
18 |
6 |
if (defined $elem_qualifier) { }
|
82
|
1 |
17 |
if ($elem_qualifier ne $const_module)
|
86
|
4 |
2 |
unless (_document_uses_module($document, $const_module))
|
92
|
0 |
6 |
if (defined $elem_qualifier) { }
|
94
|
0 |
0 |
if ($elem_qualifier ne $const_module)
|
100
|
2 |
4 |
unless ($class_elem and $class_elem->isa('PPI::Token::Word'))
|
105
|
1 |
3 |
if ($class_name ne $const_module)
|
117
|
14 |
8 |
if (defined $got_version and ref $got_version)
|
118
|
9 |
5 |
if ($got_version >= $want_version)
|
123
|
5 |
8 |
defined $got_version && ref $got_version ? :
|
147
|
2 |
0 |
if $_->type eq 'use'
|
166
|
0 |
22 |
if (exists $document->{$cache_key})
|
170
|
16 |
0 |
if $_->type eq 'use'
|
174
|
0 |
16 |
unless (@incs)
|
179
|
2 |
14 |
unless (@vers)
|
182
|
0 |
0 |
$a >= $b ? :
|
196
|
8 |
8 |
if (my $ver = Perl::Critic::Pulp::Utils::include_module_version($inc))
|
200
|
6 |
2 |
if (my $ver = Perl::Critic::Pulp::Utils::include_module_first_arg($inc))
|
201
|
0 |
6 |
if ($ver->isa('PPI::Token::Number')) { }
|
|
6 |
0 |
elsif ($ver->isa('PPI::Token::Quote')) { }
|
210
|
6 |
0 |
if ($ver =~ /$Perl::Critic::Pulp::Utils::use_module_version_number_re/)
|