blib/lib/Test/PostgreSQL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 44 | 2.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
162 | 0 | 0 | 0 | $ret =~ /(\d+)(?:\.|devel)/u and $1 >= 9 |
274 | 0 | 0 | 0 | defined $self->uid and $self->uid == 0 |
278 | 0 | 0 | 0 | not defined $self->uid and $self->is_root |
302 | 10 | 0 | 0 | defined $self->pid and $self->_owner_pid == $$ |
458 | 0 | 0 | 0 | $self->pg_ctl and defined $self->base_dir |
472 | 0 | 0 | 0 | $timeout > 0 and waitpid($self->pid, 1) == 0 |
480 | 0 | 0 | 0 | $timeout > 0 and waitpid($self->pid, 1) == 0 |
533 | 0 | 0 | 0 | $ENV{'USER'} and $ENV{'USER'} eq 'root' |
line | l | !l | condition |
---|---|---|---|
520 | 0 | 0 | $self->seed_scripts || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
319 | 0 | 0 | 0 | $args{'host'} //= $self->socket_dir |
321 | 0 | 0 | 0 | $args{'host'} ||= $self->host |
324 | 0 | 0 | 0 | $args{'port'} ||= $self->port |
325 | 0 | 0 | 0 | $args{'user'} ||= $self->dbowner |
326 | 0 | 0 | 0 | $args{'dbname'} ||= $self->dbname |
504 | 0 | 0 | 0 | $DBI::errstr =~ /the database system is starting up/u or $DBI::errstr =~ /Connection refused/u |