line |
true |
false |
branch |
91
|
4 |
70 |
if $type eq "&" |
95
|
40 |
30 |
unless &_INSTANCE($after, "PPI::Structure") |
99
|
0 |
30 |
unless defined $braces |
100
|
18 |
12 |
if ($type eq '$') { } |
|
6 |
6 |
elsif ($type eq '@') { } |
|
6 |
0 |
elsif ($type eq '%') { } |
106
|
12 |
0 |
if $before and $before->isa("PPI::Token::Cast") and $cast_which_trumps_braces{$before->content} |
109
|
3 |
3 |
if $braces eq "[]" |
110
|
3 |
3 |
if $braces eq "{}" |
113
|
2 |
4 |
if $braces eq "{}" |
116
|
4 |
2 |
if $braces eq "[]" |
165
|
14153 |
4802 |
if ($t->{'line'} =~ /\G([\w:\']+)/cg) |
172
|
1228 |
17727 |
if ($content eq "\@_" or $content eq "\$_") |
178
|
20 |
17707 |
if ($content eq "\$::") |
181
|
18 |
2 |
if ($nextchar eq "|") |
188
|
52 |
17655 |
if ($content =~ /^[\$%*\@&]::(?:[^\w]|$)/) |
194
|
59 |
17596 |
if ($content =~ /^(?:\$|\@)\d+/) |
200
|
0 |
17596 |
unless $content =~ /^(
[\$\@%&*]
(?: : (?!:) | # Allow single-colon non-magic variables
(?: \w+ | \' (?!\d) \w+ | \:: \w+ )
(?:
# Allow both :: and ' in namespace separators
(?: \' (?!\d) \w+ | \:: \w+ )
)*
(?: :: )? # Technically a compiler-magic hash, but keep it here
)
)/x |
211
|
68 |
17528 |
unless (length $1 eq length $content) |