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