Condition Coverage

blib/lib/Mojolicious/Plugin/OpenAPI/Security.pm
Criterion Covered Total %
condition 11 16 68.7


and 3 conditions

line !l l&&!r l&&r condition
24 24 2 2 $c->req->method eq "OPTIONS" and $c->match->stack->[-1]{'openapi.default_options'}

or 2 conditions

line l !l condition
19 3 0 $openapi->validator->get('/security') || []
26 26 0 $c->openapi->spec || {}

or 3 conditions

line l !l&&r !l&&!r condition
47 7 0 6 $sync_mode or $c->continue
59 1 10 0 $c->stash('status') || $status
82 0 21 17 $res{$name} //= $_[1]