line |
true |
false |
branch |
13
|
41 |
7 |
ref $_[0] eq 'HASH' ? : |
15
|
0 |
48 |
unless my($mod, $patname) = $name =~ /(.+)::(.+)/ |
24
|
1 |
47 |
unless exists $var->{$patname} |
28
|
34 |
13 |
if ($var->{$patname}{'pat'}) { } |
|
13 |
0 |
elsif ($var->{$patname}{'gen'}) { } |
36
|
3 |
44 |
if ($args{'-anchor'}) |
37
|
1 |
2 |
if ($args{'-anchor'} eq 'left') { } |
|
1 |
1 |
elsif ($args{'-anchor'} eq 'right') { } |
55
|
0 |
24 |
unless @args |
61
|
1 |
24 |
if ($arg eq 're') { } |
|
22 |
2 |
elsif ($arg =~ /\A(\w+(?:::\w+)*)::(\w+|\*)\z/) { } |
71
|
3 |
17 |
if ($k eq '-as') { } |
|
3 |
14 |
elsif ($k eq '-prefix') { } |
|
2 |
12 |
elsif ($k eq '-suffix') { } |
|
4 |
8 |
elsif ($k eq '-has_tag') { } |
|
2 |
6 |
elsif ($k eq '-lacks_tag') { } |
|
2 |
4 |
elsif ($k eq '-has_tag_matching') { } |
|
2 |
2 |
elsif ($k eq '-lacks_tag_matching') { } |
|
1 |
1 |
elsif (not $k =~ /\A-/) { } |
72
|
1 |
2 |
if $name0 eq '*' |
74
|
1 |
1 |
unless $v =~ /\A\w+\z/ |
86
|
1 |
1 |
ref $v eq 'Regexp' ? : |
88
|
1 |
1 |
ref $v eq 'Regexp' ? : |
104
|
12 |
7 |
if ($name0 eq '*') { } |
111
|
20 |
40 |
if (defined $has_tag) |
112
|
15 |
5 |
unless grep {$_ eq $has_tag;} @$tags |
114
|
7 |
38 |
if (defined $lacks_tag) |
115
|
2 |
5 |
if grep {$_ eq $lacks_tag;} @$tags |
117
|
10 |
33 |
if (defined $has_tag_matching) |
118
|
6 |
4 |
unless grep {$_ =~ /$has_tag_matching/;} @$tags |
120
|
7 |
30 |
if (defined $lacks_tag_matching) |
121
|
3 |
4 |
if grep {$_ =~ /$lacks_tag_matching/;} @$tags |
125
|
1 |
11 |
unless (@names) |
132
|
11 |
29 |
defined $prefix ? : |
|
10 |
30 |
defined $suffix ? : |
|
1 |
40 |
defined $as ? : |
135
|
1 |
40 |
if (exists do {
"${caller}::RE"
}->{$name}) |