line |
true |
false |
branch |
23
|
2 |
1 |
unless @arguments >= 2 |
65
|
1 |
23 |
unless $document |
79
|
5 |
18 |
if ($should_rename) { } |
87
|
8 |
10 |
unless $replaced |
99
|
6 |
17 |
unless $package |
100
|
10 |
7 |
unless $package->namespace eq $self->source_class_name |
104
|
0 |
7 |
unless $namespace->isa('PPI::Token::Word') |
118
|
2 |
21 |
unless $statements |
121
|
0 |
55 |
unless defined $statement->module |
122
|
52 |
3 |
unless $statement->module eq $self->source_class_name |
126
|
0 |
3 |
unless $module->isa('PPI::Token::Word') |
141
|
2 |
21 |
unless $quotes |
144
|
58 |
10 |
unless $quote->string eq $self->source_class_name |
160
|
2 |
21 |
unless $includes |
163
|
0 |
55 |
unless defined $statement->pragma |
164
|
45 |
10 |
unless $statement->pragma =~ /^parent|base$/ |
169
|
6 |
4 |
if ($parent->isa('PPI::Token::Quote')) { } |
|
4 |
0 |
elsif ($parent->isa('PPI::Token::QuoteLike::Words')) { } |
171
|
4 |
2 |
$parent->can('literal') ? : |
173
|
5 |
1 |
if ($string eq $self->source_class_name) |
182
|
1 |
5 |
if ($_ eq $self->source_class_name) { } |
189
|
1 |
3 |
if ($_replaced) |
207
|
0 |
23 |
unless $tokens |
210
|
1967 |
13 |
unless $token->content eq $self->source_class_name |
229
|
6 |
17 |
unless $symbols |
238
|
5 |
108 |
if ($content =~ s/\A$source_class_name::// and scalar split(/::/, $content, 0) == 1) |