| blib/lib/DBIx/QuickORM/Connection/RowData.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 36 | 82 | 43.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 54 | 0 | 0 | 0 | $pending and keys %$pending |
| 83 | 0 | 0 | 111 | $src_obj and builtin::blessed($src_obj) |
| 0 | 0 | 111 | $src_obj and builtin::blessed($src_obj) and $src_obj->DOES("DBIx::QuickORM::Role::Source") | |
| 96 | 0 | 0 | 111 | $con_obj and builtin::blessed($con_obj) |
| 0 | 0 | 111 | $con_obj and builtin::blessed($con_obj) and $con_obj->isa("DBIx::QuickORM::Connection") | |
| 147 | 64 | 0 | 0 | defined $state_res and not $state_res |
| 169 | 1 | 0 | 0 | @$stack and not $state->{'transaction'} |
| 205 | 53 | 0 | 11 | exists $merge->{'desync'} and not $merge->{'desync'} |
| 216 | 63 | 1 | 0 | $into->{'pending'} and not keys %{$$into{"pending"};} |
| line | l | !l | condition |
|---|---|---|---|
| 34 | 0 | 0 | $_[0]{'invalid'} //= "Unknown" |
| 74 | 111 | 0 | builtin::reftype($src) // "" |
| 87 | 111 | 0 | builtin::reftype($con) // "" |
| 101 | 111 | 0 | $self->{'stack'} //= [] |
| 112 | 11 | 42 | $txn->result // (last) |
| 129 | 9 | 4 | $self->{'invalid'} //= "Likely inserted during a transaction that was rolled back" |
| 196 | 43 | 0 | $into->{'stored'} // {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 50 | 0 | 0 | 0 | $self->active("no_fatal", 1) // @old_stack |
| 121 | 0 | 7 | 0 | $connection //= $self->connection |
| 150 | 2 | 0 | 62 | $row_txn || $state_txn |
| 0 | 62 | 2 | $merge ||= !($row_txn || $state_txn) | |
| 151 | 62 | 2 | 0 | $merge ||= $state_txn == $row_txn |
| 183 | 24 | 13 | 0 | $source //= $self->source |
| 184 | 24 | 13 | 0 | $connection //= $self->connection |
| 226 | 37 | 0 | 0 | $source //= $self->source |
| 227 | 37 | 0 | 0 | $connection //= $self->connection |
| 235 | 32 | 0 | 0 | $ae or $be |
| 243 | 32 | 0 | 0 | $ad or $bd |
| line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
|---|---|---|---|---|---|
| 234 | 32 | 0 | 5 | 0 | $ae xor $be |
| 242 | 32 | 0 | 0 | 0 | $ad xor $bd |