lib/Badger/Filesystem/Visitor.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 27 | 59.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
198 | 153 | 0 | 43 | $self->filter('files', 'name', $file) && !$self->filter('no_files', 'name', $file) |
205 | 53 | 0 | 7 | $self->filter('dirs', 'name', $dir) && !$self->filter('no_dirs', 'name', $dir) |
212 | 6 | 4 | 50 | $self->filter('in_dirs', 'name', $dir) && !$self->filter('not_in_dirs', 'name', $dir) |
line | l | !l | condition |
---|---|---|---|
85 | 38 | 46 | $self->{$filter} || (next) |
125 | 14 | 0 | shift() || (return $self->error_msg('no_node', 'visit')) |
150 | 7 | 0 | $self->accept_directory($dir) || (return) |
53 | 0 | $self->reject_directory($dir) || (return) | |
242 | 0 | 0 | $self->{'accept_dir'}->($self, $dir) or return |
259 | 0 | 0 | $self->{'enter_dir'}->($self, $dir) or return |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
96 | 4 | 2 | 0 | $type eq "CODE" or $type eq "Regexp" |
162 | 282 | 138 | 0 | $self->{$filter} || do { '???'; return 0 } |