Branch Coverage

blib/lib/AnyEvent/DBI.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
189 0 0 unless my($client, $server) = &AnyEvent::Util::portable_socketpair()
204 0 0 $fork ? :
0 0 unless $fork = $fork ? $fork->fork : 'AnyEvent::Fork'->new
223 0 0 if ($len > 0) { }
0 0 elsif (defined $len) { }
0 0 elsif ($! != 11) { }
228 0 0 unless $self
232 0 0 if (defined $res->[0]) { }
239 0 0 if $self
244 0 0 if ($self and not @{$self->{'queue'};})
260 0 0 if ($self->{'timeout'} and $self->{'last_activity'}) { }
261 0 0 if (&AE::now() > $self->{'last_activity'} + $self->{'timeout'}) { }
283 0 0 unless my $len = syswrite($client, $self->{'wbuf'})
291 0 0 unless $self
300 0 0 unless $self
301 0 0 if $self->{'on_connect'}
317 0 0 if (my $pid = delete $self->{'child_pid'})
338 0 0 if ($fatal)
354 0 0 if ($self->{'on_error'}) { }
390 0 0 unless ($self->{'fh'})
400 0 0 if ($self->{'timeout'} and not $self->{'tw'})
407 0 0 unless ($self->{'ww'})
413 0 0 if length $self->{'wbuf'}