| blib/lib/Paranoid/Log/Syslog.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 16 | 68.7 |
| line | true | false | branch |
|---|---|---|---|
| 50 | 3 | 5 | unless (exists $loggers{$name}) |
| 53 | 2 | 1 | unless (defined $options{'ident'} and length $options{'ident'}) |
| 58 | 0 | 3 | unless defined $options{'facility'} |
| 129 | 3 | 0 | exists $trans{$f} ? : |
| 170 | 5 | 0 | if (defined $record{'message'} and length $record{'message'}) |
| 173 | 0 | 5 | if ($options{'pid'} != $$) |
| 182 | 4 | 1 | if (defined $llogger and $llogger ne $record{'name'}) |
| 188 | 5 | 0 | unless (defined $llogger) |