Branch Coverage

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


line true false branch
22 0 0 scalar @_ == 5 ? :
42 0 0 @{$self->{'_connect_info'};} > 3 ? :
44 0 0 if ('DBI'->VERSION > 1.613 and not exists $attr->{'AutoInactiveDestroy'})
48 0 0 unless (exists $attr->{'RaiseError'} or exists $attr->{'HandleError'})
52 0 0 if ($dbh->FETCH('RaiseError') and not exists $attr->{'PrintError'})
65 0 0 unless $self->_seems_connected
70 0 0 unless $self->{'no_ping'}
76 0 0 unless my $dbh = $self->{'_dbh'}
78 0 0 if ($self->{'_pid'} != $$)
85 0 0 unless ($dbh->FETCH('Active') and $self->_ping($dbh))
97 0 0 unless $self->_seems_connected
103 0 0 unless my $dbh = delete $self->{'_dbh'}
112 0 0 if (my $on_connect_do = $self->{$mode})
113 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') { }
129 0 0 if $result_class
135 0 0 if defined $flag
141 0 0 if defined $callback
147 0 0 if defined $enable
153 0 0 if $prepare_method
161 0 0 if (ref $args[0] eq 'HASH') { }
165 0 0 ref $args[0] eq 'ARRAY' ? :
174 0 0 unless $bind
176 0 0 if (my $error = $@)
181 0 0 $result_class ? :
190 0 0 unless exists $named_bind{$1}
191 0 0 if (ref $named_bind{$1} and ref $named_bind{$1} eq 'ARRAY') { }
206 0 0 unless $self->trace_query
210 0 0 if $caller[0]->isa('DBIx::Handler')
211 0 0 if $self->trace_ignore_if->(@caller)
227 0 0 $wantarray ? :
229 0 0 if (my $error = $@)
233 0 0 $wantarray ? :
247 0 0 unless $self->{'txn_manager'}
255 0 0 unless $info
275 0 0 $wantarray ? :
278 0 0 if (my $error = $@) { }
283 0 0 if $@
286 0 0 $wantarray ? :