| blib/lib/Mojolicious/Plugin/Service.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 14 | 35.7 |
| line | true | false | branch |
|---|---|---|---|
| 11 | 0 | 1 | if $app->config->{'service_config'} |
| 13 | 0 | 1 | if ($app->renderer->get_helper('dbi')) |
| 15 | 0 | 0 | if ($app->dbi->can('models')) |
| 20 | 0 | 1 | if ($app->renderer->get_helper('models')) |
| 27 | 0 | 1 | if ($e) { } |
| 1 | 0 | elsif ($services_class->isa('Mojolicious::Services')) { } | |
| 28 | 0 | 0 | ref $e ? : |