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