Condition Coverage

blib/lib/Module/Build/Database/PostgreSQL.pm
Criterion Covered Total %
condition 0 47 0.0


and 3 conditions

line !l l&&!r l&&r condition
281 0 0 0 -d $thisdir and -w $thisdir
421 0 0 0 @lines > 0 and not -s $outfile

or 2 conditions

line l !l condition
476 0 0 $ENV{'PGUSER'} || ''
477 0 0 $ENV{'PGHOST'} || ''
478 0 0 $ENV{'PGPORT'} || ''
665 0 0 $ENV{'PGHOST'} || 'localhost'

or 3 conditions

line l !l&&r !l&&!r condition
352 0 0 0 $ENV{'MBD_DONT_STOP_TEST_DB'} or %{$self->scratch_database;}
353 0 0 0 shift() || $self->_tmp_db_dir
360 0 0 0 $ENV{'MBD_DONT_STOP_TEST_DB'} or %{$self->scratch_database;}
361 0 0 0 shift() || $self->_tmp_db_dir
377 0 0 0 shift() || $self->base_dir . '/db/dist/base.sql'
385 0 0 0 shift() || $self->base_dir . '/db/dist/base_data.sql'
396 0 0 0 $args{'outfile'} || $self->base_dir . '/db/dist/base.sql'
416 0 0 0 $_ =~ /^--/ || $_ =~ /^CREATE SCHEMA $database_schema;$/ || $_ =~ /^SET (search_path|lock_timeout)/
431 0 0 0 $args{'outfile'} || $self->base_dir . '/db/dist/base_data.sql'
480 0 0 0 shift() || $self->database_options('name')
530 0 0 0 shift() || $self->database_options('name')