Branch Coverage

blib/lib/Directory/Scanner/StreamBuilder/Recursive.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
39 0 12 unless &Scalar::Util::blessed($stream) and $stream->DOES('Directory::Scanner::API::Stream')
69 0 95 if $self->{'_is_done'}
72 0 95 if $self->{'_is_closed'}
79 136 12 if (my $current = $self->{'_stack'}[-1]) { }
81 83 53 if (my $candidate = $current->next) { }
85 41 42 if ($candidate->is_dir)
99 53 0 unless $old->is_closed