Branch Coverage

blib/lib/Filesys/POSIX/Bits/System.pm
Criterion Covered Total %
branch 68 76 89.4


line true false branch
54 1 21 if ($access == $Filesys::POSIX::Bits::System::O_RDWR) { }
3 18 elsif ($access == $Filesys::POSIX::Bits::System::O_WRONLY) { }
18 0 elsif ($access == $Filesys::POSIX::Bits::System::O_RDONLY) { }
67 4 18 if $value & $Filesys::POSIX::Bits::System::O_APPEND
68 4 18 if $value & $Filesys::POSIX::Bits::System::O_CREAT
69 1 21 if $value & $Filesys::POSIX::Bits::System::O_EXCL
70 0 22 if $value & $Filesys::POSIX::Bits::System::O_EXLOCK
71 1 21 if $value & $Filesys::POSIX::Bits::System::O_NOFOLLOW
72 7 15 if $value & $Filesys::POSIX::Bits::System::O_NONBLOCK
73 0 22 if $value & $Filesys::POSIX::Bits::System::O_SHLOCK
74 2 20 if $value & $Filesys::POSIX::Bits::System::O_TRUNC
76 0 22 if $value & $Filesys::POSIX::Bits::System::O_EVTONLY
101 10 12 if ($type)
103 1 9 if $type == $Filesys::POSIX::Bits::System::S_IFIFO
104 1 9 if $type == $Filesys::POSIX::Bits::System::S_IFCHR
105 1 9 if $type == $Filesys::POSIX::Bits::System::S_IFDIR
106 1 9 if $type == $Filesys::POSIX::Bits::System::S_IFBLK
107 4 6 if $type == $Filesys::POSIX::Bits::System::S_IFREG
108 1 9 if $type == $Filesys::POSIX::Bits::System::S_IFLNK
109 1 9 if $type == $Filesys::POSIX::Bits::System::S_IFSOCK
110 0 10 if $type == $Filesys::POSIX::Bits::System::S_IFWHT
111 0 10 unless $name
117 4 18 if $value & $Filesys::POSIX::Bits::System::S_IRUSR
118 4 18 if $value & $Filesys::POSIX::Bits::System::S_IWUSR
119 1 21 if $value & $Filesys::POSIX::Bits::System::S_IXUSR
120 4 18 if $value & $Filesys::POSIX::Bits::System::S_IRGRP
121 1 21 if $value & $Filesys::POSIX::Bits::System::S_IWGRP
122 1 21 if $value & $Filesys::POSIX::Bits::System::S_IXGRP
123 4 18 if $value & $Filesys::POSIX::Bits::System::S_IROTH
124 1 21 if $value & $Filesys::POSIX::Bits::System::S_IWOTH
125 1 21 if $value & $Filesys::POSIX::Bits::System::S_IXOTH
128 1 21 if $value & $Filesys::POSIX::Bits::System::S_ISUID
129 1 21 if $value & $Filesys::POSIX::Bits::System::S_ISGID
130 1 21 if $value & $Filesys::POSIX::Bits::System::S_ISVTX
149 2 2 if ($value == $Filesys::POSIX::Bits::System::SEEK_SET) { }
1 1 elsif ($value == $Filesys::POSIX::Bits::System::SEEK_CUR) { }
1 0 elsif ($value == $Filesys::POSIX::Bits::System::SEEK_END) { }
173 0 29 if $@