Condition Coverage

blib/lib/Mojolicious/Plugin/SwaggerUI.pm
Criterion Covered Total %
condition 4 10 40.0


and 3 conditions

line !l l&&!r l&&r condition
28 1 0 0 defined $config->{'favicon'} && $app->static->file($config->{'favicon'})

or 2 conditions

line l !l condition
23 1 0 $config->{'url'} // '/v1'
24 0 1 $config->{'title'} // 'Swagger UI'

or 3 conditions

line l !l&&r !l&&!r condition
13 1 0 0 $config->{'route'} // $app->routes->any('/swagger-ui')