Branch Coverage

blib/lib/Filesys/POSIX/Real/Directory.pm
Criterion Covered Total %
branch 25 50 50.0


line true false branch
32 14 11 $inode->{'parent'} ? :
39 0 2 unless my $mtime = (lstat $self->{'path'})[9]
41 0 2 unless $mtime > $self->{'mtime'}
60 15 0 if (scalar @st == 0 and $!{'ENOENT'})
65 0 25 unless @st
67 7 18 if (exists $self->{'members'}{$name}) { }
82 2 54 if exists $self->{'detached'}{$name}
84 14 40 if exists $self->{'overlays'}{$name}
86 23 17 unless exists $self->{'members'}{$name}
111 0 10 if exists $self->{'detached'}{$name}
112 0 10 if exists $self->{'overlays'}{$name}
121 0 0 if (exists $self->{'detached'}{$name})
125 0 0 if (exists $self->{'overlays'}{$name})
129 0 0 unless my $member = $self->{'members'}{$name}
132 0 0 if ($member->dir) { }
139 0 0 if ($!)
140 0 0 unless $!{'ENOENT'}
155 0 1 if exists $self->{'detached'}{$name}
160 0 1 unless exists $self->{$table}{$name}
189 0 7 unless opendir $self->{'dh'}, $self->{'path'}
200 0 0 if ($self->{'dh'})
212 34 0 if ($self->{'dh'})
216 29 5 if (defined $item) { }
224 0 34 if (wantarray)
234 6 7 if ($self->{'dh'})