blib/lib/Paranoid/Log/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
68 | 0 | 6 | if defined $hostname |
71 | 6 | 0 | if (-x '/bin/hostname') |
72 | 6 | 0 | if (open $fd, '-|', '/bin/hostname') |
79 | 6 | 0 | if (defined $hostname and length $hostname) { } |
100 | 0 | 256 | defined $utime ? : |
130 | 2 | 12 | exists $record{'options'}{'mode'} ? : |
131 | 1 | 13 | if exists $record{'options'}{'perm'} |
133 | 8 | 6 | if (defined $record{'options'}{'file'} and length $record{'options'}{'file'}) { } |
175 | 256 | 0 | if ($record{'options'}{'syslog'}) |