| blib/lib/DBR/Record/Helper.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 20 | 80.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 157 | 16 | 26 | 0 | defined $idx and exists $$record[$idx] |
| 199 | 8 | 4 | 18 | defined $ridx and exists $$record[$ridx] |
| 211 | 2 | 4 | 6 | defined $fidx and exists $$record[$fidx] |
| line | l | !l | condition |
|---|---|---|---|
| 278 | 2 | 4 | $$resultmap{$$row[$fidx]} || [()] |
| 285 | 1 | 1 | $$resultmap{$val} || [()] |
| 321 | 55 | 0 | $$self{'tablemap'}{$table_id} || (return $self->_error('Missing table for table_id ' . $table_id)) |
| 322 | 55 | 0 | $$self{'pkmap'}{$table_id} || (return $self->_error('Missing primary key')) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 219 | 4 | 2 | 0 | $fidx ||= $field->index |