Branch Coverage

blib/lib/IO/All/Dir.pm
Criterion Covered Total %
branch 38 52 73.0


line true false branch
22 232 2 unless $had_prev
23 12 222 if (@_ and @_ > 1 or @_ and $had_prev) { }
221 1 elsif (@_) { }
24 2 10 $self->pathname ? :
39 0 0 if @_
46 805 138 if $self->is_open
53 0 138 if $self->pathname and $self->_assert
57 1 137 unless $handle->open($self->pathname)
64 1 0 defined $self->pathname ? :
80 3 10 $self->_deep ? :
121 13 @_ ? :
85 95 219 if $depth != 1 and $io->is_dir
88 2 132 if $self->filter
90 95 39 unless $first and $self->_sort
135 0 1 unless opendir $dh, $self->pathname
137 0 2 unless $dir =~ /^\.{1,2}$/
144 0 1 defined $self->perms ? :
167 136 335 unless defined $name
169 16 319 if $self->is_absolute
176 0 471 if (wantarray)
181 0 0 if ($self->_has_utf8)
187 136 607 unless (defined $name)
192 0 335 if ($self->_has_utf8)
212 0 3 if $self->is_absolute
222 0 0 unless File::Copy::Recursive::dircopy($self->name, $new)
229 1 233 if $self->chdir_from