| blib/lib/DBIx/QuickORM/Dialect/SQLite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 29 | 49 | 59.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 144 | 28 | 0 | 2 | $pk and @$pk |
| 212 | 13 | 48 | 26 | $has_autoinc and $res->{'pk'} |
| line | l | !l | condition |
|---|---|---|---|
| 92 | 30 | 0 | $TABLE_TYPES{lc $type} // "DBIx::QuickORM::Schema::Table" |
| 134 | 4 | 25 | $index{$row->{'grp'}} //= {} |
| 136 | 4 | 25 | $idx->{'cols'} //= [] |
| 160 | 1 | 7 | $index{$row->{'id'}} //= {} |
| 162 | 1 | 7 | $idx->{'columns'} //= [] |
| 165 | 1 | 7 | $idx->{'fcolumns'} //= [] |
| 219 | 87 | 0 | affinity_from_type($type) // "string" |
| 250 | 4 | 25 | $out{$name} //= {"name", $name, "columns", [], "unique", $u ? 1 : 0} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 38 | 0 | 23 | 0 | $p{'dbh'} // $s->dbh |
| 39 | 0 | 15 | 0 | $p{'dbh'} // $s->dbh |
| 40 | 0 | 8 | 0 | $p{'dbh'} // $s->dbh |
| 41 | 0 | 4 | 0 | $p{'dbh'} // $s->dbh |
| 42 | 0 | 3 | 0 | $p{'dbh'} // $s->dbh |
| 43 | 0 | 1 | 0 | $p{'dbh'} // $s->dbh |
| 53 | 0 | 2 | 0 | $db->dbi_driver // $self_or_class->dbi_driver |
| 164 | 1 | 7 | 0 | $idx->{'ftable'} //= $row->{'table'} |
| 219 | 0 | 87 | 0 | $col->{'affinity'} //= affinity_from_type($type) // "string" |