Condition Coverage

blib/lib/Mojolicious/Plugin/GraphQL.pm
Criterion Covered Total %
condition 11 15 73.3


and 3 conditions

line !l l&&!r l&&r condition
83 1 0 3 ($c->req->headers->header('Accept') // '') =~ m[^text/html\b]u and not defined $c->req->query_params->param('raw')
157 0 0 2 $c->tx and $context->{'keepalive'}

or 2 conditions

line l !l condition
73 1 11 shift() // (return 'undefined')
83 3 1 $c->req->headers->header('Accept') // ''
249 5 1 $conf->{'endpoint'} || '/graphql'

or 3 conditions

line l !l&&r !l&&!r condition
251 2 4 0 $conf->{'handler'} || make_code_closure(@{$conf;}{'schema', 'root_value', 'resolver'})