Branch Coverage

blib/lib/DBIx/Handler.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
16 0 0 scalar @_ == 5 ? :
35 0 0 @{$self->{'_connect_info'};} > 3 ? :
37 0 0 if ('DBI'->VERSION > 1.613 and not exists $attr->{'AutoInactiveDestroy'})
41 0 0 unless (exists $attr->{'RaiseError'} or exists $attr->{'HandleError'})
45 0 0 if ($dbh->FETCH('RaiseError') and not exists $attr->{'PrintError'})
58 0 0 unless $self->_seems_connected
63 0 0 unless $self->{'no_ping'}
69 0 0 unless my $dbh = $self->{'_dbh'}
71 0 0 if ($self->{'_pid'} != $$)
78 0 0 unless ($dbh->FETCH('Active') and $self->_ping($dbh))
90 0 0 unless $self->_seems_connected
96 0 0 unless my $dbh = delete $self->{'_dbh'}
105 0 0 if (my $on_connect_do = $self->{$mode})
106 0 0 if (not ref $on_connect_do) { }
0 0 elsif (ref $on_connect_do eq 'CODE') { }
0 0 elsif (ref $on_connect_do eq 'ARRAY') { }
122 0 0 if $result_class
128 0 0 if defined $flag
134 0 0 if defined $callback
140 0 0 if defined $enable
148 0 0 if (ref $args[0] eq 'HASH') { }
152 0 0 ref $args[0] eq 'ARRAY' ? :
160 0 0 unless $bind
162 0 0 if (my $error = $@)
167 0 0 $result_class ? :
176 0 0 unless exists $named_bind{$1}
177 0 0 if (ref $named_bind{$1} and ref $named_bind{$1} eq 'ARRAY') { }
192 0 0 unless $self->trace_query
196 0 0 if $caller[0]->isa('DBIx::Handler')
197 0 0 if $self->trace_ignore_if->(@caller)
213 0 0 $wantarray ? :
215 0 0 if (my $error = $@)
219 0 0 $wantarray ? :
233 0 0 unless $self->{'txn_manager'}
241 0 0 unless $info
261 0 0 $wantarray ? :
264 0 0 if (my $error = $@) { }
269 0 0 if $@
272 0 0 $wantarray ? :