Condition Coverage

blib/lib/Mojolicious/Plugin/OpenAPI/Parameters.pm
Criterion Covered Total %
condition 13 16 81.2


and 3 conditions

line !l l&&!r l&&r condition
49 43 0 1 $value && $value->size

or 2 conditions

line l !l condition
11 2 57 $config->{'renderer'} || \&Mojolicious::Plugin::OpenAPI::Parameters::_helper_build_response_body
125 43 10 $c->req->headers->content_type || ''

or 3 conditions

line l !l&&r !l&&!r condition
130 0 2 0 $res->{'value'} //= $c->req->body_params->to_hash
134 34 7 10 $c->req->json // decode_json($c->req->body)
2 41 10 $res->{'value'} //= $c->req->json // decode_json($c->req->body)