Branch Coverage

blib/lib/File/Dir/Dumper/Scanner.pm
Criterion Covered Total %
branch 26 32 81.2


line true false branch
61 2 1 if (exists $args->{'digests'})
66 0 4 if (exists $digests->{$d})
72 0 2 unless (%$digests)
79 0 3 unless ($base =~ /\A[A-Za-z_][A-Za-z_0-9]*\z/u)
87 0 3 if ($@)
120 14 7 unless (@{$self->_queue;})
166 1 1 if ($last_result->dir_components->[$depth] ne $result->dir_components->[$depth])
182 1 0 if (os_is('Unix')) { }
205 3 5 unless (exists $self->_user_cache->{$uid})
218 3 5 unless (exists $self->_group_cache->{$gid})
232 1 4 unless (defined $digests)
270 0 8 unless (@stat)
289 3 5 $result->is_dir ? :
299 2 12 if ($self->_reached_end)
306 3 9 if (not $self->_last_result) { }
1 8 elsif (not $self->_result) { }