Branch Coverage

blib/lib/File/Permissions/Unix.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
61 0 0 unless (defined $mode)
74 0 0 unless ($self->{'mode'} =~ /^[01246][01234567][01234567][01234567]$/)
102 0 0 if ($self->error)
107 0 0 unless (defined $file)
114 0 0 unless (CORE::chmod oct $self->{'mode'}, $file)
135 0 0 if ($self->error)
160 0 0 if ($self->error)
165 0 0 unless ($mode =~ /^[01246][01234567][01234567][01234567]$/)
194 0 0 if ($self->error)
199 0 0 unless (defined $file)
207 0 0 unless (defined $mode)