blib/lib/DBIx/QuickDB/Driver/PostgreSQL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 32 | 12.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
112 | 7 | 0 | 0 | $check{'initdb'} and -x $check{'initdb'} |
113 | 7 | 0 | 0 | $check{'createdb'} and -x $check{'createdb'} |
117 | 7 | 0 | 0 | $check{'postgres'} and -x $check{'postgres'} |
121 | 7 | 0 | 0 | $check{'psql'} and -x $check{'psql'} |
157 | 0 | 0 | 0 | $vars->{'PGPORT'} and $vars->{'PGPORT'} eq $self->port |
line | l | !l | condition |
---|---|---|---|
132 | 0 | 0 | $self->{'port'} ||= '5432' |
138 | 0 | 0 | $self->{'env_vars'} ||= {} |
145 | 0 | 0 | $self->{'config'} ||= {} |
156 | 0 | 0 | $self->env_vars || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
49 | 0 | 0 | 0 | $binary ||= $POSTGRES |
136 | 0 | 0 | 0 | $self->{'socket'} ||= "$dir/.s.PGSQL.$port" |
142 | 0 | 0 | 0 | $self->{$_} ||= $defaults{$_} |