Branch Coverage

blib/lib/File/Find/Rule/Permissions.pm
Criterion Covered Total %
branch 50 52 96.1


line true false branch
115 0 0 unless exists $File::Find::Rule::Permissions::UIDsByUsername{$member}
128 2 55 ref $_[0] eq 'HASH' ? :
135 2 8192 unless (exists $criteria{'isReadable'} or exists $criteria{'isWriteable'} or exists $criteria{'isExecutable'})
144 1 27655 unless exists $criteria{'user'}
145 10248 17408 if ($criteria{'user'} =~ /^\d+$/) { }
157 7168 20488 $userid == $file_uid ? :
9216 18440 $File::Find::Rule::Permissions::UIDinGID{$file_gid}{$userid} ? :
161 7168 20488 $userid == $file_uid ? :
9216 18440 $File::Find::Rule::Permissions::UIDinGID{$file_gid}{$userid} ? :
165 7168 20488 $userid == $file_uid ? :
9216 18440 $File::Find::Rule::Permissions::UIDinGID{$file_gid}{$userid} ? :
169 11272 16384 if ($userid != $file_uid and not $File::Find::Rule::Permissions::UIDinGID{$file_gid}{$userid})
177 7176 20480 if $userid == 0
178 6274 21382 if $userid == 0 and $mode & 73
184 7176 20480 if (exists $criteria{'isReadable'} and $criteria{'isReadable'}) { }
4096 32768 elsif (exists $criteria{'isReadable'} and not $criteria{'isReadable'}) { }
185 2560 4616 unless $isReadable
187 2560 1536 if $isReadable
189 4608 17928 if (exists $criteria{'isWriteable'} and $criteria{'isWriteable'}) { }
4608 26640 elsif (exists $criteria{'isWriteable'} and not $criteria{'isWriteable'}) { }
190 1792 2816 unless $isWriteable
192 2816 1792 if $isWriteable
194 4096 13832 if (exists $criteria{'isExecutable'} and $criteria{'isExecutable'}) { }
4096 19472 elsif (exists $criteria{'isExecutable'} and not $criteria{'isExecutable'}) { }
195 1664 2432 unless $isExecutable
197 2432 1664 if $isExecutable