line |
true |
false |
branch |
67
|
2 |
12 |
if $config->{'recurse'} |
87
|
33 |
5 |
unless ref $tests eq "ARRAY" |
92
|
0 |
43 |
if $Badger::Filesystem::Visitor::DEBUG |
93
|
0 |
43 |
unless $test |
95
|
6 |
37 |
if ($type = ref $test) { } |
|
16 |
21 |
elsif ($test eq 1) { } |
|
6 |
15 |
elsif ($test =~ /[\*\?]/) { } |
96
|
0 |
6 |
unless $type eq "CODE" or $type eq "Regexp" |
110
|
0 |
6 |
if $Badger::Filesystem::Visitor::DEBUG |
115
|
0 |
38 |
if $Badger::Filesystem::Visitor::DEBUG |
133
|
0 |
0 |
if $Badger::Filesystem::Visitor::DEBUG |
140
|
43 |
153 |
$self->filter_file($file) ? : |
148
|
0 |
60 |
if $Badger::Filesystem::Visitor::DEBUG |
150
|
7 |
53 |
$self->filter_directory($dir) ? : |
154
|
50 |
10 |
$self->filter_entry($dir) ? : |
168
|
0 |
282 |
if $Badger::Filesystem::Visitor::DEBUG |
171
|
0 |
318 |
if $Badger::Filesystem::Visitor::DEBUG |
172
|
66 |
252 |
if ($test eq 1) { } |
|
132 |
120 |
elsif ($type = ref $test) { } |
176
|
40 |
92 |
if ($type eq 'CODE') { } |
|
92 |
0 |
elsif ($type eq 'Regexp') { } |
178
|
13 |
27 |
if &$test($item, $self) |
181
|
19 |
73 |
if $item->$method =~ /$test/ |
188
|
10 |
110 |
if $item->$method eq $test |
191
|
0 |
174 |
if $Badger::Filesystem::Visitor::DEBUG |
221
|
3 |
40 |
if $self->{'accept_file'} |
233
|
0 |
153 |
$self->{'reject_file'} ? : |
242
|
0 |
7 |
if $self->{'accept_dir'} |
251
|
0 |
53 |
$self->{'reject_dir'} ? : |
257
|
0 |
64 |
if $Badger::Filesystem::Visitor::DEBUG |
259
|
0 |
64 |
if $self->{'enter_dir'} |
272
|
0 |
10 |
$self->{'leave_dir'} ? : |
280
|
50 |
13 |
if @_ |
282
|
13 |
50 |
wantarray ? : |
292
|
0 |
0 |
if %$params |
295
|
0 |
0 |
wantarray ? : |