Branch Coverage

blib/lib/Test/DBIC/Pg.pm
Criterion Covered Total %
branch 1 18 5.5


line true false branch
70 0 2 if ($self->_did_create and not $Test::DBIC::Pg::LeaveCreatedDatabases)
101 0 0 unless ($schema)
109 0 0 unless (defined $_tdbc_cache)
130 0 0 unless ($rows)
167 0 0 unless $ENV{'PGHOST'}
173 0 0 if /dbname=(.+?)(?=;|$)/
175 0 0 if ($wants_deploy)
193 0 0 $dsn =~ /(?<=host=)(?<host>[-.\w]+?)(?=;|$)/ ? :
199 0 0 $dsn =~ /(?<db_attr>dbname|database|db)(?==)/ ? :