blib/lib/Mojolicious/Plugin/JSONRPC2.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 9 | 88.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
37 | 3 | 1 | 5 | ref $server and $server->isa('JSON::RPC2::Server') |
line | l | !l | condition |
---|---|---|---|
45 | 12 | 3 | $c->req->headers->content_type // '' |
48 | 10 | 0 | $c->req->headers->accept // '' |
55 | 1 | 7 | $c->stash('jsonrpc2.timeout') || 300 |