Branch Coverage

blib/lib/Monitoring/Livestatus/UNIX.pm
Criterion Covered Total %
branch 5 22 22.7


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'})
71 0 0 unless (defined $sock and $sock->connected)
73 0 0 if ($self->{'errors_are_fatal'})
82 0 0 if $remaining
84 0 0 if ($@)
90 0 0 if (defined $self->{'query_timeout'})
104 0 0 unless defined $sock