Branch Coverage

blib/lib/Protocol/DBus/Client.pm
Criterion Covered Total %
branch 14 38 36.8


line true false branch
65 0 0 unless (@addrs)
105 2 0 if ($self->_connect and $self->{'_authn'}->go)
117 2 0 unless ($self->{'_connection_name'})
119 4 0 if (my $msg = $self->SUPER::get_message)
120 2 2 if $self->{'_connection_name'}
130 0 0 $self->{'_connection_name'} ? :
138 1 2 unless ($self->{'_connected'})
140 0 1 if (connect $self->{'_socket'}, $self->{'_address'}) { }
1 0 elsif (not $!{'EINPROGRESS'}) { }
149 0 2 unless ($self->{'_connected'})
161 0 0 if ($got > 0)
163 0 0 unless (defined $errno)
169 0 0 if (0 + $!) { }
198 0 0 if ($self->{'_connection_name'})
202 0 0 if $self->{'_sent_connect'} and not $self->{'_connected'}
204 0 0 if ($self->{'_sent_hello'})
242 0 2 unless $self->{'_connection_name'}
244 2 0 if ($self->{'_pending_received_messages'} and @{$self->{'_pending_received_messages'};})
283 1 2 if (my $address = $opts{'address'}) { }