| blib/lib/Mojolicious/Plugin/SwaggerUI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 10 | 40.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 28 | 1 | 0 | 0 | defined $config->{'favicon'} && $app->static->file($config->{'favicon'}) |
| line | l | !l | condition |
|---|---|---|---|
| 23 | 1 | 0 | $config->{'url'} // '/v1' |
| 24 | 0 | 1 | $config->{'title'} // 'Swagger UI' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 13 | 1 | 0 | 0 | $config->{'route'} // $app->routes->any('/swagger-ui') |