| blib/lib/Prancer/Plugin/Database.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 9 | 18 | 50.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 26 | 0 | 6 | if ref $class | 
| 33 | 1 | 5 | if defined $$instance | 
| 39 | 0 | 5 | unless (defined $config and ref $config and ref $config eq 'HASH') | 
| 47 | 0 | 7 | unless (defined $subconfig and ref $subconfig and ref $subconfig eq 'HASH' and $$subconfig{'driver'}) | 
| 59 | 0 | 7 | unless $module->can('handle') | 
| 64 | 0 | 0 | defined $_ ? : | 
| 76 | 0 | 0 | defined $_[0] && $_[0] eq 'Prancer::Plugin::Database' ? : | 
| 13 | 0 | ref $_[0] && $_[0]->isa('Prancer::Plugin::Database') ? : | |
| 91 | 1 | 12 | unless (exists $$self{'_handles'}{$connection}) |