blib/lib/Monitoring/Livestatus/UNIX.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 20 | 25.0 |
line | true | false | branch |
---|---|---|---|
32 | 1 | 9 | if scalar @args == 1 |
34 | 2 | 8 | unless defined $options{'name'} |
39 | 0 | 10 | if ref $self->{'peer'} ne '' |
54 | 0 | 0 | unless (-S $self->{'peer'}) |
56 | 0 | 0 | if ($self->{'errors_are_fatal'}) |
70 | 0 | 0 | unless (defined $sock and $sock->connected) |
72 | 0 | 0 | if ($self->{'errors_are_fatal'}) |
81 | 0 | 0 | if ($@) |
87 | 0 | 0 | if (defined $self->{'query_timeout'}) |
101 | 0 | 0 | unless defined $sock |