| blib/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 37 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 207 | 0 | 0 | 0 | $data_type =~ /^(?:numeric|decimal)\z/i and my $size = $info->{'size'} |
| 0 | 0 | 0 | $DBD::Pg::VERSION >= 3.005002 || $self->dbh->{'pg_server_version'} < 90100 and my $values = $raw->{$col}{'pg_enum_values'} | |
| 227 | 0 | 0 | 0 | defined $precision && $precision =~ /^\d/ |
| 228 | 0 | 0 | 0 | defined $precision && $precision =~ /^\d/ |
| 264 | 0 | 0 | 0 | not $precision and lc $data_type eq "bit" |
| 306 | 0 | 0 | 0 | $typetype and $typetype eq "e" |
| 348 | 0 | 0 | 0 | $data_type =~ /^bool/i and exists $info->{'default_value'} |
| line | l | !l | condition |
|---|---|---|---|
| 26 | 0 | 0 | $self->{'db_schema'} ||= ["public"] |
| 95 | 0 | 0 | $rels{$fk}{'attrs'} ||= {"on_delete", $pg_rules{$delete_rule}, "on_update", $pg_rules{$update_rule}, "is_deferrable", $is_deferrable} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 117 | 0 | 0 | 0 | $self->{'_cache'}{'pg_attr_sth'} ||= $self->dbh->prepare("SELECT attname FROM pg_catalog.pg_attribute\n WHERE attrelid = ? AND attnum = ?") |
| 122 | 0 | 0 | 0 | $self->{'_cache'}{'pg_uniq_sth'} ||= $self->dbh->prepare("SELECT x.indrelid, i.relname, x.indkey\n FROM\n pg_catalog.pg_index x\n JOIN pg_catalog.pg_class c ON c.oid = x.indrelid\n JOIN pg_catalog.pg_class i ON i.oid = x.indexrelid\n JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace\n WHERE\n x.indisunique = 't' AND\n x.indpred IS NULL AND\n c.relkind = 'r' AND\n i.relkind = 'i' AND\n n.nspname = ? AND\n c.relname = ?\n ORDER BY i.relname") |
| 207 | 0 | 0 | 0 | $DBD::Pg::VERSION >= 3.005002 || $self->dbh->{'pg_server_version'} < 90100 |
| 227 | 0 | 0 | 0 | not defined $precision && $precision =~ /^\d/ or $precision == 6 |