Branch Coverage

blib/lib/Filesys/POSIX/Snapshot/Inode.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
42 89 371 if exists $opts{$attribute}
49 1 45 if ($inode->link)
57 15 15 if ($inode->dir and $opts{'dev'}{'flags'}{'immediate_dir_copy'})
72 34 43 if $item eq '.' or $item eq '..'
116 1 9 unless $self->dir
118 2 7 unless ($self->{'directory'})
128 2 2 unless ($self->{'bucket'})
129 1 1 if ($self->file and $flags & ($Filesys::POSIX::Snapshot::Inode::O_WRONLY | $Filesys::POSIX::Snapshot::Inode::O_RDWR))
134 3 1 if ($self->{'bucket'})