line |
true |
false |
branch |
19
|
0 |
4 |
unless @_ |
20
|
0 |
4 |
@_ == 1 && &is_object('Badger::Filter', $_[0]) ? : |
35
|
2 |
3 |
if ($accept) { } |
36
|
1 |
1 |
if ($accept eq 'all') { } |
|
1 |
0 |
elsif ($accept eq 'none') { } |
48
|
0 |
0 |
if ($item =~ s/^\-//) { } |
|
0 |
0 |
elsif ($item =~ s/^\+//) { } |
52
|
0 |
0 |
if @inc |
53
|
0 |
0 |
if @exc |
65
|
3 |
2 |
if $include |
69
|
4 |
1 |
if $exclude |
90
|
7 |
11 |
if (not ref $item) { } |
|
6 |
5 |
elsif (ref $item eq 'ARRAY') { } |
|
0 |
5 |
elsif (ref $item eq 'HASH') { } |
|
2 |
3 |
elsif (ref $item eq 'CODE') { } |
|
3 |
0 |
elsif (ref $item eq 'Regexp') { } |
91
|
2 |
5 |
if ((my $copy = $item) =~ s/\*/.*/g) { } |
132
|
2 |
5 |
unless $n |
154
|
0 |
5 |
@_ == 1 && ref $_[0] eq 'ARRAY' ? : |
158
|
5 |
0 |
wantarray ? : |
163
|
0 |
1 |
@_ == 1 && ref $_[0] eq 'ARRAY' ? : |
167
|
1 |
0 |
wantarray ? : |
207
|
10 |
85 |
if $checks->{'static'}{$item} or $checks->{'static'}{'*'} |
211
|
29 |
94 |
if &$check($item) |