blib/lib/Directory/Scanner/StreamBuilder/Ignoring.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 10 | 70.0 |
line | true | false | branch |
---|---|---|---|
35 | 0 | 11 | unless &Scalar::Util::blessed($stream) and $stream->DOES('Directory::Scanner::API::Stream') |
38 | 0 | 11 | unless defined $filter |
41 | 0 | 11 | unless ref $filter eq 'CODE' |
72 | 11 | 20 | unless defined $next |
78 | 12 | 8 | if $self->{'filter'}->($next) |