blib/lib/Paranoid/Log/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
68 | 0 | 12 | if defined $hostname |
71 | 12 | 0 | if (-x "/bin/hostname") |
72 | 12 | 0 | if (open $fd, "-|", "/bin/hostname") |
79 | 12 | 0 | if (defined $hostname and length $hostname) { } |
100 | 0 | 512 | defined $utime ? : |
129 | 4 | 24 | exists $record{'options'}{'mode'} ? : |
130 | 2 | 26 | if exists $record{'options'}{'perm'} |
132 | 16 | 12 | if (defined $record{'options'}{'file'} and length $record{'options'}{'file'}) { } |
172 | 512 | 0 | if ($record{'options'}{'syslog'}) |