Branch Coverage

blib/lib/ObjectDB/DBHPool/Connection.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
25 0 0 unless defined $self->{'check_timeout'}
34 0 0 if (not $self->{'dbh'}) { }
0 0 elsif (not $self->_check_connection) { }
64 0 0 unless $self->_is_check_needed
70 0 0 unless $dbh and $dbh->{'Active'}
72 0 0 if int $dbh->ping
80 0 0 if not $self->{'dbh'}{'Active'} or $self->_is_check_timeout_elapsed
88 0 0 if ($self->{'check_timeout'} and time - $self->{'last_check'} > $self->{'check_timeout'})
102 0 0 unless $dbh
104 0 0 if ($self->{'do'})
105 0 0 ref $self->{'do'} eq 'ARRAY' ? :