Branch Coverage

blib/lib/DBIx/Otogiri.pm
Criterion Covered Total %
branch 34 40 85.0


line true false branch
20 1 14 if ($self->{'dburl'})
30 1 14 defined $self->strict ? :
39 2 2 if ($class_name)
53 6 18 if ($self->{'deflate'})
61 8 11 $self->{'inflate'} ? :
62 15 4 if (wantarray) { }
76 2 11 unless wantarray
83 0 11 unless $binds_aref
86 1 10 $row_class ? :
87 11 0 $rtn ? :
95 1 15 $row_class ? :
96 4 12 $self->{'inflate'} ? :
107 3 17 if (defined wantarray)
123 1 2 if (ref $param eq "HASH")
144 0 0 if ($driver_name eq "Pg" and not defined $table and not exists $attr_href->{'sequence'})
173 2 73 if (not defined $self->owner_pid or $self->owner_pid != $$)
176 3 72 unless ($dbh->FETCH("Active") and $dbh->ping)
185 5 1 unless defined $self->{'dbh'}{'private_txt_manager'}
187 1 0 if (my $info = $self->{'dbh'}{'private_txt_manager'}->in_transaction)
199 15 0 if ($self->{'dbh'} and $self->{'dbh'}->FETCH("Active") and defined $self->owner_pid and $self->owner_pid == $$)