Branch Coverage

blib/lib/File/Find/Node.pm
Criterion Covered Total %
branch 50 66 75.7


line true false branch
32 0 28 unless defined $path
34 28 0 if $path ne '/'
64 1 0 if ($$self[9]) { }
79 4 6 if $dev == $p->dev and $inum == $p->inum
114 6 28 unless $$self[11]
139 2 0 $$self[2] > 0 && @_ > 0 ? :
210 0 2 if (exists $$self[12]{$uid})
214 2 0 defined $user ? :
220 0 2 if (exists $$self[13]{$gid})
224 2 0 defined $group ? :
261 0 4 if ($ftype eq 'f') { }
4 0 elsif ($ftype eq 'd') { }
266 0 4 unless (opendir $dirh, $$self[0])
272 2 4 if ($name ne '.' and $name ne '..')
289 22 165 if ($$self[4]) { }
290 2 20 unless @stat = CORE::stat $path
295 186 1 if (@stat) { }
309 1 184 unless $self->refresh->[10]
314 4 56 if $ftype eq 'd' and $$self[4] and $self->_cycle
318 176 4 if ($$self[6])
324 126 54 if $ftype ne 'd' or $$self[3]
329 2 52 if ($$self[2] > 0 and $$self[14] > 1)
331 0 2 if (not defined $pid) { }
1 1 elsif ($pid == 0) { }
346 0 53 unless (opendir $dirh, $path)
348 0 0 if $forked
351 4 49 $$self[8] ? :
359 98 157 if $name eq '.' or $name eq '..'
365 157 0 $path ne '/' ? :
385 1 155 if ($forkinfo > 1)
389 4 152 if $$self[3]
394 15 37 if (not $$self[3] and $$self[7])
403 1 51 if $forked