line |
true |
false |
branch |
72
|
0 |
8 |
unless defined $ppi |
93
|
37 |
54 |
if ($Token->isa('PPI::Token::Word')) |
97
|
37 |
0 |
unless ($Token->snext_sibling and $Token->snext_sibling->content eq '=>') |
98
|
3 |
34 |
if ($Token->content =~ /^(?:sub|return)$/) { } |
|
4 |
30 |
elsif ($Token->content =~ /^(?:undef|shift|defined|bless)$/) { } |
105
|
0 |
30 |
if ($Token->previous_sibling and $Token->previous_sibling->content eq '->') |
106
|
0 |
0 |
if ($Token->content =~ /^(?:new)$/) |
111
|
8 |
22 |
if ($Token->parent->isa('PPI::Statement::Include')) { } |
|
4 |
18 |
elsif ($Token->parent->isa('PPI::Statement::Variable')) { } |
|
8 |
10 |
elsif ($Token->parent->isa('PPI::Statement::Compound')) { } |
|
1 |
9 |
elsif ($Token->parent->isa('PPI::Statement::Package')) { } |
|
0 |
9 |
elsif ($Token->parent->isa('PPI::Statement::Scheduled')) { } |
112
|
5 |
3 |
if ($Token->content =~ /^(?:use|no)$/) |
115
|
2 |
1 |
if ($Token->content eq $Token->parent->pragma) |
119
|
4 |
0 |
if ($Token->content =~ /^(?:my|local|our)$/) |
123
|
8 |
0 |
if ($Token->content =~ /^(?:if|else|elsif|unless|for|foreach|while|my)$/) |
127
|
1 |
0 |
if ($Token->content eq 'package') |