blib/lib/Mojolicious/Plugin/Database.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 8 | 62.5 |
line | true | false | branch |
---|---|---|---|
15 | 0 | 1 | unless $$conf{'dsn'} |
31 | 0 | 1 | unless ref $$conf{'databases'} eq 'HASH' |
35 | 0 | 2 | unless defined $$dbconf{'dsn'} |
49 | 1 | 1 | if (defined $$conf{'databases'}) { } |