Branch Coverage

blib/lib/Catmandu/Store/DBI.pm
Criterion Covered Total %
branch 9 24 37.5


line true false branch
57 0 5 if ($driver =~ /pg/i) { }
5 0 elsif ($driver =~ /sqlite/i) { }
0 0 elsif ($driver =~ /mysql/i) { }
96 0 102 unless defined $dbh
101 97 5 if (defined $self->{'last_ping_t'})
103 97 0 if time - $self->{'last_ping_t'} < 1
108 5 0 if $dbh->ping
113 0 0 unless $dbh->{'AutoCommit'}
125 0 0 if defined $dbh
134 0 1 if ($self->_in_transaction)
148 1 0 unless (eval {
160 0 0 if $self->{'_dbh'}