blib/lib/File/Permissions/Unix.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 24 | 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 (-e $file) |
121 | 0 | 0 | unless (CORE::chmod oct $$self{'mode'}, $file) |
142 | 0 | 0 | if ($self->error) |
167 | 0 | 0 | if ($self->error) |
172 | 0 | 0 | unless ($mode =~ /^[01246][01234567][01234567][01234567]$/) |
201 | 0 | 0 | if ($self->error) |
206 | 0 | 0 | unless (defined $file) |
213 | 0 | 0 | unless (-e $file) |