| blib/lib/Mojolicious/Plugin/GraphQL.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 11 | 15 | 73.3 | 
| 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') | 
| 156 | 0 | 0 | 2 | $c->tx and $context->{'keepalive'} | 
| line | l | !l | condition | 
|---|---|---|---|
| 73 | 1 | 11 | shift() // (return 'undefined') | 
| 83 | 3 | 1 | $c->req->headers->header('Accept') // '' | 
| 248 | 5 | 1 | $conf->{'endpoint'} || '/graphql' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 250 | 2 | 4 | 0 | $conf->{'handler'} || make_code_closure(@{$conf;}{'schema', 'root_value', 'resolver'}) |