Branch Coverage

blib/lib/CMS/Drupal.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
18 0 13 if defined $self->{'_dbh'}
23 0 13 exists $ENV{'DRUPAL_TEST_CREDS'} && !exists $ENV{'DRUPAL_IGNORE_TEST_CREDS'} ? :
26 1 12 unless exists $args->{'database'}
27 1 11 unless exists $args->{'driver'}
40 0 20 unless exists $types{$_}
46 0 1 if exists $args->{'host'}
47 0 1 if exists $args->{'port'}
48 0 1 exists $args->{'username'} ? :
49 0 1 exists $args->{'password'} ? :