blib/lib/Directory/Scanner/Stream/Recursive.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 14 | 71.4 |
line | true | false | branch |
---|---|---|---|
35 | 0 | 13 | unless &Scalar::Util::blessed($stream) and $stream->roles::DOES('Directory::Scanner::API::Stream') |
65 | 0 | 105 | if $self->{'_is_done'} |
68 | 0 | 105 | if $self->{'_is_closed'} |
75 | 150 | 13 | if (my $current = $self->{'_stack'}[-1]) { } |
77 | 92 | 58 | if (my $candidate = $current->next) { } |
81 | 45 | 47 | if ($candidate->is_dir) |
95 | 58 | 0 | unless $old->is_closed |