Branch Coverage

blib/lib/Directory/Queue.pm
Criterion Covered Total %
branch 39 62 62.9


line true false branch
74 13 6 if $_LoadedModule{$module}
76 0 6 if ($@) { }
115 0 49 if (defined $umask) { }
122 49 0 if $success
123 0 0 unless $! == 17 and -d $path
138 1 0 if rmdir $path
139 0 0 unless $! == 2
156 149 0 if (opendir $dh, $path)
158 0 149 unless closedir $dh
161 0 0 unless $! == 2 and not $strict
179 0 49 if (defined $umask) { }
186 47 2 if $success
187 0 2 unless $! == 17 || $! == 2 and not $strict
203 0 1 unless utime $time, $time, $path
222 0 23 if $^O =~ /^(cygwin|dos|MSWin32)$/
225 0 23 unless @stat
253 0 23 unless defined $option{'path'}
255 0 23 if -e $option{'path'} and not -d _
264 84 8 unless defined $option{$name}
266 0 8 unless $option{$name} =~ /^\d+$/
269 2 21 if (defined $option{'maxlock'}) { }
275 2 21 if (defined $option{'maxtemp'}) { }
281 2 21 if (defined $option{'rndhex'}) { }
283 0 2 unless $option{'rndhex'} < 16
289 2 21 if (defined $option{'umask'})
291 0 2 unless $option{'umask'} < 512
298 4 77 unless -d $path
355 32 27 if @{$self->{'elts'};}
359 61 0 if $name =~ /^($_ElementRegexp)$/o
361 1 18 unless @list
377 22 22 if $name =~ /^($_DirectoryRegexp)$/o