| blib/lib/DBIx/QuickORM/Connection.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 31 | 75 | 41.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 94 | 0 | 0 | 0 | $self->{'in_async'} and not $self->{'in_async'}->done |
| 162 | 0 | 240 | 0 | $self->pid_check && $self->async_check |
| 232 | 3 | 3 | 21 | @_ && ref $_[0] eq 'CODE' |
| 236 | 27 | 0 | 0 | $self->{'in_async'} and not $self->{'in_async'}->done |
| 294 | 27 | 0 | 0 | $self->{'in_async'} and not $self->{'in_async'}->done |
| 296 | 26 | 1 | 0 | $txnx->in_destroy and not $txns->[-1] |
| 0 | 27 | 0 | @$txns and ($txnx->in_destroy and not $txns->[-1]) | |
| 302 | 3 | 6 | 18 | $ok && !$rolled_back |
| 372 | 0 | 0 | 0 | @_ == 1 and ref $_[0] eq "CODE" |
| 425 | 0 | 0 | 0 | $self->{'dbh'} and $self->{'dbh'}->ping |
| 474 | 0 | 79 | 0 | builtin::blessed($in) || !ref($in) and $in->isa('DBIx::QuickORM::Handle') || $in->DOES('DBIx::QuickORM::Role::Handle') |
| 508 | 0 | 0 | 0 | builtin::blessed($from) and $from->isa("DBIx::QuickORM::Handle") |
| line | l | !l | condition |
|---|---|---|---|
| 39 | 0 | 23 | $self->{'_savepoint_counter'} //= 1 |
| 40 | 0 | 23 | $self->{'_txn_counter'} //= 1 |
| 48 | 0 | 23 | $self->{'default_internal_txn'} //= 1 |
| 53 | 0 | 23 | $orm->default_handle_class // "DBIx::QuickORM::Handle" |
| 61 | 0 | 23 | $self->{'manager'} // "DBIx::QuickORM::RowManager::Cached" |
| 240 | 27 | 0 | $self->{'asides'} // {} |
| 245 | 27 | 0 | $self->{'forks'} // {} |
| 398 | 0 | 0 | $count ||= 1 |
| 414 | 0 | 0 | shift() || 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 53 | 0 | 23 | 0 | $self->{'default_handle_class'} //= $orm->default_handle_class // "DBIx::QuickORM::Handle" |
| 55 | 0 | 23 | 0 | $self->{'default_sql_builder'} //= do { |
| 234 | 21 | 3 | 3 | $cb //= $params{'action'} |
| 296 | 0 | 27 | 0 | @$txns and ($txnx->in_destroy and not $txns->[-1]) or $txns->[-1] == $txnx |
| 346 | 0 | 2 | 7 | $self->current_txn // $self->dialect->in_txn |
| 474 | 17 | 62 | 0 | builtin::blessed($in) || !ref($in) |
| 0 | 0 | 79 | $in->isa('DBIx::QuickORM::Handle') || $in->DOES('DBIx::QuickORM::Role::Handle') |