blib/lib/Prancer/Plugin/Database.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 25 | 36.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 0 | 0 | 5 | defined $config and ref $config |
0 | 0 | 5 | defined $config and ref $config and ref $config eq 'HASH' | |
47 | 0 | 0 | 7 | defined $subconfig and ref $subconfig |
0 | 0 | 7 | defined $subconfig and ref $subconfig and ref $subconfig eq 'HASH' | |
0 | 0 | 7 | defined $subconfig and ref $subconfig and ref $subconfig eq 'HASH' and $$subconfig{'driver'} | |
76 | 0 | 0 | 13 | ref $_[0] && $_[0]->isa('Prancer::Plugin::Database') |
0 | 0 | 0 | defined $_[0] && $_[0] eq 'Prancer::Plugin::Database' |
line | l | !l | condition |
---|---|---|---|
38 | 5 | 0 | $self->config && $self->config->get('database') || {} |
89 | 5 | 8 | shift() || 'default' |