Branch Coverage

blib/lib/Filesys/POSIX/Real/Directory.pm
Criterion Covered Total %
branch 23 42 54.7


line true false branch
23 10 9 $$inode{'parent'} ? :
38 0 1 unless my $mtime = (lstat $$self{'path'})[9]
40 0 1 unless $mtime > $$self{'mtime'}
58 16 19 if (scalar @st == 0 and $!{'ENOENT'})
63 0 19 unless @st
65 2 17 if (exists $$self{'members'}{$name}) { }
80 22 29 if exists $$self{'overlays'}{$name}
82 18 11 unless exists $$self{'members'}{$name}
104 0 8 if exists $$self{'overlays'}{$name}
113 0 0 if (exists $$self{'overlays'}{$name})
119 0 0 unless my $member = $$self{'members'}{$name}
122 0 0 if ($member->dir) { }
129 0 0 if ($!)
130 0 0 unless $!{'ENOENT'}
146 1 1 unless exists $$self{$table}{$name}
175 0 7 unless opendir $$self{'dh'}, $$self{'path'}
186 0 0 if ($$self{'dh'})
197 45 0 if ($$self{'dh'})
201 37 8 if (defined $item) { }
208 0 45 if (wantarray)
218 6 7 if ($$self{'dh'})