blib/lib/Directory/Scanner/StreamBuilder/Matching.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 10 | 70.0 |
line | true | false | branch |
---|---|---|---|
35 | 0 | 6 | unless &Scalar::Util::blessed($stream) and $stream->DOES('Directory::Scanner::API::Stream') |
38 | 0 | 6 | unless defined $predicate |
41 | 0 | 6 | unless ref $predicate eq 'CODE' |
72 | 6 | 54 | unless defined $next |
78 | 26 | 28 | unless $self->{'predicate'}->($next) |