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
424 0 0 0 @lines > 0 and not -s $outfile

or 2 conditions

line l !l condition
479 0 0 $ENV{'PGUSER'} || ''
480 0 0 $ENV{'PGHOST'} || ''
481 0 0 $ENV{'PGPORT'} || ''
668 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'
415 0 0 0 $_ =~ /^--/ || $_ =~ /^CREATE SCHEMA $database_schema;$/ || $_ =~ /^SET (search_path|lock_timeout)/
434 0 0 0 $args{'outfile'} || $self->base_dir . '/db/dist/base_data.sql'
483 0 0 0 shift() || $self->database_options('name')
533 0 0 0 shift() || $self->database_options('name')