blib/lib/Test/PostgreSQL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 44 | 2.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
216 | 0 | 0 | 0 | $ret =~ /(\d+)(?:\.|devel|beta)/u and $1 >= 9 |
342 | 0 | 0 | 0 | defined $self->uid and $self->uid == 0 |
346 | 0 | 0 | 0 | not defined $self->uid and $self->is_root |
370 | 10 | 0 | 0 | defined $self->pid and $self->_owner_pid == $$ |
546 | 0 | 0 | 0 | $self->pg_ctl and defined $self->base_dir |
560 | 0 | 0 | 0 | $timeout > 0 and waitpid($self->pid, 1) == 0 |
568 | 0 | 0 | 0 | $timeout > 0 and waitpid($self->pid, 1) == 0 |
621 | 0 | 0 | 0 | $ENV{'USER'} and $ENV{'USER'} eq "root" |
line | l | !l | condition |
---|---|---|---|
608 | 0 | 0 | $self->seed_scripts || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
388 | 0 | 0 | 0 | $args{'host'} //= $self->socket_dir |
390 | 0 | 0 | 0 | $args{'host'} ||= $self->host |
393 | 0 | 0 | 0 | $args{'port'} ||= $self->port |
394 | 0 | 0 | 0 | $args{'user'} ||= $self->dbowner |
395 | 0 | 0 | 0 | $args{'dbname'} ||= $self->dbname |
592 | 0 | 0 | 0 | $DBI::errstr =~ /the database system is starting up/u or $DBI::errstr =~ /Connection refused/u |