Condition Coverage

blib/lib/App/Sqitch/Engine/pg.pm
Criterion Covered Total %
condition 13 19 68.4


and 3 conditions

line !l l&&!r l&&r condition
442 2 2 4 $DBI::state and $DBI::state eq "42P01"
465 4 6 4 $DBI::state && $DBI::state eq '42703'

or 2 conditions

line l !l condition
224 12 0 $maj || 0
406 0 0 $dbh->selectcol_arrayref('DELETE FROM tags WHERE change_id = ? RETURNING tag', undef, $change->id) || []

or 3 conditions

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
244 2 2 2 $version < 90300 or $psql_maj < 9