Branch Coverage

blib/lib/DBIx/QuickORM/Dialect/PostgreSQL.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
97 0 0 if $params{'autofill'}->skip("table", $tname)
138 0 0 if (my($type, $columns) = $spec =~ /^(UNIQUE|PRIMARY KEY) \(([^\)]+)\)$/gi)
141 0 0 if $type eq "PRIMARY KEY"
147 0 0 if (my($type, $columns, $ftable, $fcolumns) = $spec =~ /(FOREIGN KEY) \(([^\)]+)\) REFERENCES\s+(\S+)\(([^\)]+)\)/gi)
166 0 0 unless $table
181 0 0 if $params{'autofill'}->skip("column", ($table, $res->{'column_name'}))
193 0 0 if grep {$self->_col_field_to_bool($res->{$_});} grep({/identity/;} keys %$res)
194 0 0 if $res->{'column_default'} and $res->{'column_default'} =~ /^nextval\(/
197 0 0 if grep {$self->_col_field_to_bool($res->{$_});} grep({/character/;} keys %$res)
198 0 0 if grep {$self->_col_field_to_bool($res->{$_});} grep({/numeric/;} keys %$res)
216 0 0 unless defined $val
217 0 0 unless $val
219 0 0 if $val eq "no"
220 0 0 if $val eq "undef"
221 0 0 if $val eq "never"
244 0 0 unless $def =~ /CREATE(?: (UNIQUE))? INDEX \Q$name\E ON \S+ USING ([^\(]+) \((.+)\)$/
247 0 0 $unique ? :