| blib/lib/DBIx/DataModel/Schema.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 27 | 55.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 120 | 22 | 0 | 3 | &does($dbh, "ARRAY") and not keys %dbh_options |
| 226 | 0 | 2 | 0 | my $local_state = $self->localize_state("dbh") and delete $self->{'dbh'}, $self->dbh(@new_dbh) |
| 292 | 5 | 0 | 0 | $dbh->isa("DBIx::RetryOverDisconnects::db") and $dbh->is_trans_disconnect |
| 356 | 0 | 0 | 0 | ref $debug and $debug->can("debug") |
| line | l | !l | condition |
|---|---|---|---|
| 153 | 326 | 4 | $self->{'dbh'} || [] |
| 221 | 12 | 13 | $self->{'transaction_dbhs'} ||= [] |
| 314 | 3 | 17 | delete $self->{'after_commit_callbacks'} || [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 64 | 4 | 12 | 0 | $self->{'sql_abstract'} ||= "SQL::Abstract::More"->new |
| 67 | 0 | 16 | 0 | $self->{'resultAs_classes'} ||= &mro::get_linear_isa($class) |
| 125 | 22 | 3 | 0 | not $self->{'dbh'} or $self->{'dbh'}[0]{'AutoCommit'} |