| blib/lib/Lchmod.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 20 | 85.0 |
| line | true | false | branch |
|---|---|---|---|
| 10 | 16 | 0 | if $LCHMOD_AVAILABLE |
| 16 | 3 | 2 | if (@_) { } |
| 21 | 2 | 1 | if grep /^lchmod$/, @_ |
| 22 | 2 | 1 | if grep /^LCHMOD_AVAILABLE$/, @_ |
| 59 | 1 | 13 | unless (LCHMOD_AVAILABLE()) |
| 68 | 6 | 11 | if (-l $path) { } |
| 76 | 2 | 15 | unless $current_mode |
| 79 | 9 | 6 | if $current_mode eq $normalized_mode |
| 95 | 1 | 0 | $^O =~ /linux/i ? : |
| 0 | 1 | $posix ne 'POSIX::ENOSYS' ? : |