Condition Coverage

blib/lib/DBIx/QuickORM/Dialect/MySQL.pm
Criterion Covered Total %
condition 1 48 2.0


and 3 conditions

line !l l&&!r l&&r condition
288 0 0 0 $res->{'EXTRA'} and $res->{'EXTRA'} eq "auto_increment"

or 2 conditions

line l !l condition
178 0 0 $TEMP_TYPES{$type} // 0
179 0 0 $TABLE_TYPES{$type} // "DBIx::QuickORM::Schema::Table"
227 0 0 $keys{$row->{'con'}} //= {"type", lc $row->{'type'}}
229 0 0 $item->{'columns'} //= []
233 0 0 $item->{'link'} //= [[$table, $item->{'columns'}], [$row->{'ftab'}, []]]
291 0 0 $col->{'affinity'} //= "string"
292 0 0 $col->{'affinity'} //= "numeric"
293 0 0 $col->{'affinity'} //= "string"
339 0 0 $out{$name} //= {"name", $name, "unique", $nu ? 0 : 1, "type", $type, "columns", []}

or 3 conditions

line l !l&&r !l&&!r condition
31 0 0 0 $p{'dbh'} // $s->dbh
32 0 0 0 $p{'dbh'} // $s->dbh
33 0 0 0 $p{'dbh'} // $s->dbh
34 0 0 0 $p{'dbh'} // $s->dbh
35 0 0 0 $p{'dbh'} // $s->dbh
36 0 0 0 $p{'dbh'} // $s->dbh
42 1 0 0 $mariadb or $mysql
241 0 0 0 $type eq "unique" or $type eq "primary key"
290 0 0 0 $col->{'affinity'} //= affinity_from_type($res->{'DATA_TYPE'})