Condition Coverage

blib/lib/Test/Postgresql58.pm
Criterion Covered Total %
condition 2 26 7.6


and 3 conditions

line !l l&&!r l&&r condition
63 0 6 0 not defined $self->uid and $ENV{'USER'} eq 'root'
101 6 0 0 defined $self->pid and $$ == $self->_owner_pid
240 0 0 0 $timeout > 0 and waitpid($self->pid, 1) <= 0
248 0 0 0 $timeout > 0 and waitpid($self->pid, 1) <= 0

or 2 conditions

line l !l condition
115 0 0 $args{'host'} ||= '127.0.0.1'
117 0 0 $args{'user'} ||= 'postgres'
118 0 0 $args{'dbname'} ||= 'test'
236 0 0 $sig ||= 15

or 3 conditions

line l !l&&r !l&&!r condition
116 0 0 0 $args{'port'} ||= $self->port
161 0 0 0 $DBI::errstr =~ /the database system is starting up/ or $DBI::errstr =~ /Connection refused/