Condition Coverage

blib/lib/DBIx/DataModel/Schema.pm
Criterion Covered Total %
condition 28 42 66.6


and 2 conditions

line l !l condition
179 0 9 $should_install &&= 0

and 3 conditions

line !l l&&!r l&&r condition
149 33 0 3 &does($dbh, "ARRAY") and not keys %dbh_options
183 21 1 2 $prev_handler && $HE_policy eq 'combine'
228 0 0 4 $DBI::err and $dbi_errstr ne $DBI::errstr
285 0 2 0 my $local_state = $self->localize_state("dbh") and delete $self->{'dbh'}, $self->dbh(@new_dbh)
351 5 0 0 $dbh->isa("DBIx::RetryOverDisconnects::db") and $dbh->is_trans_disconnect
415 0 0 1 ref $debug and $debug->can("debug")

or 2 conditions

line l !l condition
179 12 22 $prev_handler || -1
9 25 $dbh->{'private_dbix_datamodel_handle_error'} || -2
208 362 4 $self->{'dbh'} || []
280 12 13 $self->{'transaction_dbhs'} ||= []
373 3 17 delete $self->{'after_commit_callbacks'} || []

or 3 conditions

line l !l&&r !l&&!r condition
64 4 15 0 $self->{'sql_abstract'} ||= $metadm->sql_abstract_class->new($metadm->sql_abstract_args)
154 25 11 0 not $self->{'dbh'} or $self->{'dbh'}[0]{'AutoCommit'}
167 17 0 17 $dbh->{'ShowErrorStatement'} or not $self->auto_show_error_statement
220 32 0 12 $pkg =~ /^DBIx::DataModel/ or $pkg =~ /^SQL::Abstract/