Branch Coverage

blib/lib/DBI/Easy/DBH.pm
Criterion Covered Total %
branch 17 54 31.4


line true false branch
15 2 59 if (ref $statement eq 'DBI::st') { }
0 59 elsif (ref $statement) { }
36 0 73 if (ref $v eq 'ARRAY')
37 0 0 unless exists $DBI::Easy::BIND_TYPES{$$v[1]}
65 0 0 defined $params ? :
0 21 unless ref $params
80 16 5 if (not ref $statement and $statement =~ /^\s*insert/io and defined $rows_affected)
81 0 16 if (defined $seq) { }
16 0 elsif ($self->dbh_vendor ne 'oracle' and defined $self->_pk_) { }
101 0 21 if $self->_dbh_error($@)
111 0 0 defined $params ? :
0 16 unless ref $params
123 0 16 unless $sth->execute
130 0 16 if $self->_dbh_error($@)
140 0 0 defined $params ? :
0 0 unless ref $params
160 0 0 if $self->_dbh_error($@)
170 0 0 defined $params ? :
0 0 unless ref $params
189 0 0 if $self->_dbh_error($@)
199 0 0 defined $params ? :
0 7 unless ref $params
211 0 7 if $self->_dbh_error($@)
278 0 1 if $self->_dbh_error($@)
305 0 23 if $self->_dbh_error($@)
329 0 0 unless (defined &$fetch_handler($row))
336 0 0 if $self->_dbh_error($@)