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

or 2 conditions

line l !l condition
467 0 0 $ENV{'PGUSER'} || ''
468 0 0 $ENV{'PGHOST'} || ''
469 0 0 $ENV{'PGPORT'} || ''
656 0 0 $ENV{'PGHOST'} || 'localhost'

or 3 conditions

line l !l&&r !l&&!r condition
340 0 0 0 $ENV{'MBD_DONT_STOP_TEST_DB'} or %{$self->scratch_database;}
341 0 0 0 shift() || $self->_tmp_db_dir
348 0 0 0 $ENV{'MBD_DONT_STOP_TEST_DB'} or %{$self->scratch_database;}
349 0 0 0 shift() || $self->_tmp_db_dir
365 0 0 0 shift() || $self->base_dir . '/db/dist/base.sql'
373 0 0 0 shift() || $self->base_dir . '/db/dist/base_data.sql'
384 0 0 0 $args{'outfile'} || $self->base_dir . '/db/dist/base.sql'
403 0 0 0 $_ =~ /^--/ || $_ =~ /^CREATE SCHEMA $database_schema;$/ || $_ =~ /^SET (search_path|lock_timeout)/
422 0 0 0 $args{'outfile'} || $self->base_dir . '/db/dist/base_data.sql'
471 0 0 0 shift() || $self->database_options('name')
521 0 0 0 shift() || $self->database_options('name')