| blib/lib/App/Sqitch/Engine/pg.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 22 | 59.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 443 | 2 | 2 | 4 | $DBI::state and $DBI::state eq "42P01" |
| 467 | 4 | 6 | 4 | $DBI::state && $DBI::state eq '42703' |
| 471 | 0 | 0 | 0 | $DBI::state && $DBI::state eq '23505' |
| line | l | !l | condition |
|---|---|---|---|
| 225 | 12 | 0 | $maj || 0 |
| 407 | 0 | 0 | $dbh->selectcol_arrayref('DELETE FROM tags WHERE change_id = ? RETURNING tag', undef, $change->id) || [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 26 | 0 | 0 | 26 | not $self->target->name =~ /:/ or $self->target->uri->dbname |
| 36 | 4 | 14 | 0 | $ENV{'PGDATABASE'} || $self->username || $ENV{'PGUSER'} || $self->sqitch->sysuser |
| 245 | 2 | 2 | 2 | $version < 90300 or $psql_maj < 9 |