Branch Coverage

blib/lib/GQRX/Remote.pm
Criterion Covered Total %
branch 18 40 45.0


line true false branch
43 0 2 if ($self->{'exit_on_error'})
63 1 1 if ($self->{'_connection'})
73 0 2 unless ($connection)
87 2 2 if ($self->{'_connection'} and $self->{'_connection'}->connected)
100 0 7 unless ($self->{'_connection'}->connected)
107 0 7 if (not defined $buf) { }
123 1 7 if (not $self->{'_connection'}) { }
0 7 elsif (not $self->{'_connection'}->connected) { }
142 0 1 if (not defined $response) { }
0 1 elsif ($response ne 'RPRT 0') { }
165 0 2 if (not defined $response) { }
1 1 elsif ($response ne 'RPRT 0') { }
202 0 1 if (not defined $response) { }
0 1 elsif ($response ne 'RPRT 0') { }
226 0 0 if (not defined $response) { }
0 0 elsif ($response ne 'RPRT 0') { }
242 0 0 if (not defined $response) { }
0 0 elsif ($response ne 'RPRT 0') { }
258 0 0 if (not defined $response) { }
0 0 elsif ($response ne 'RPRT 0') { }