blib/lib/Test/PostgreSQL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 44 | 2.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
181 | 0 | 0 | 0 | $ret =~ /(\d+)(?:\.|devel|beta)/u and $1 >= 9 |
307 | 0 | 0 | 0 | defined $self->uid and $self->uid == 0 |
311 | 0 | 0 | 0 | not defined $self->uid and $self->is_root |
335 | 10 | 0 | 0 | defined $self->pid and $self->_owner_pid == $$ |
494 | 0 | 0 | 0 | $self->pg_ctl and defined $self->base_dir |
508 | 0 | 0 | 0 | $timeout > 0 and waitpid($self->pid, 1) == 0 |
516 | 0 | 0 | 0 | $timeout > 0 and waitpid($self->pid, 1) == 0 |
569 | 0 | 0 | 0 | $ENV{'USER'} and $ENV{'USER'} eq 'root' |
line | l | !l | condition |
---|---|---|---|
556 | 0 | 0 | $self->seed_scripts || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
352 | 0 | 0 | 0 | $args{'host'} //= $self->socket_dir |
354 | 0 | 0 | 0 | $args{'host'} ||= $self->host |
357 | 0 | 0 | 0 | $args{'port'} ||= $self->port |
358 | 0 | 0 | 0 | $args{'user'} ||= $self->dbowner |
359 | 0 | 0 | 0 | $args{'dbname'} ||= $self->dbname |
540 | 0 | 0 | 0 | $DBI::errstr =~ /the database system is starting up/u or $DBI::errstr =~ /Connection refused/u |