Condition Coverage

blib/lib/DBIx/Connector.pm
Criterion Covered Total %
condition 28 39 71.7


and 2 conditions

line l !l condition
96 0 1 0 require Carp and Carp::croak(qq[Invalid mode: "$_[0]"])

and 3 conditions

line !l l&&!r l&&r condition
27 60 0 1 $INC{'Apache/DBI.pm'} and $ENV{'MOD_PERL'}
38 0 37 23 "DBI"->VERSION > "1.613" and @args < 4 || !exists $args[3]{'AutoInactiveDestroy'}
117 229 1 2 defined $self->{'_tid'} and $self->{'_tid'} != "threads"->tid

or 3 conditions

line l !l&&r !l&&!r condition
38 52 6 2 @args < 4 || !exists $args[3]{'AutoInactiveDestroy'}
42 6 1 1 exists $args[3]{'RaiseError'} || exists $args[3]{'HandleError'}
52 1 7 @args < 4 or not exists $args[3]{'RaiseError'} || exists $args[3]{'HandleError'}
49 35 25 0 $self->{'driver_name'} ||= $dbh->{'Driver'}{'Name'}
59 0 2 0 $self->{'driver_name'} ||= ("DBI"->parse_dsn($self->dsn))[1]
64 25 2 0 $self->{'driver_name'} || $self->driver_name
202 27 0 $self->{'driver'} ||= "DBIx::Connector::Driver"->new($self->{'driver_name'} || $self->driver_name)
167 2 0 13 $self->{'_in_run'} or not $dbh->FETCH("AutoCommit")
277 0 15 24 not $dbh or $dbh->FETCH("AutoCommit")