Branch Coverage

blib/lib/Mojolicious/Plugin/Database.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
13 0 1 unless $conf->{'dsn'}
19 1 0 if $conf->{'on_connect'}
40 0 1 unless ref $conf->{'databases'} eq 'HASH'
44 0 2 unless defined $dbconf->{'dsn'}
48 1 1 if $dbconf->{'on_connect'}
60 1 1 if (defined $conf->{'databases'}) { }