| blib/lib/Log/Dispatch/FileRotate/Mutex.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 18 | 55.5 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 0 | 0 | if $HAS_THREADS |
| 33 | 0 | 0 | if ($self->{$pid}) |
| 61 | 222 | 6 | exists $self->{$pid} ? : |
| 67 | 0 | 6 | unless (defined $fh) |
| 104 | 3 | 3 | unless (defined $self->{'permissions'}) |
| 112 | 3 | 0 | if ($current_mode ne $self->{'permissions'}) |
| 115 | 0 | 3 | unless chmod $self->{'permissions'}, $self->{'_path'} |
| 125 | 226 | 2 | if ($self->{$pid}) |
| 133 | 0 | 456 | $HAS_THREADS ? : |