blib/lib/JSON/RPC2/Server.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 12 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
128 | 25 | 20 | 5 | ref $$request{'params'} ne 'ARRAY' and ref $$request{'params'} ne 'HASH' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
100 | 4 | 4 | 67 | not defined $$request{'jsonrpc'} or ref $$request{'jsonrpc'} |
8 | 5 | 62 | not defined $$request{'jsonrpc'} or ref $$request{'jsonrpc'} or $$request{'jsonrpc'} ne '2.0' | |
115 | 1 | 4 | 53 | not defined $$request{'method'} or ref $$request{'method'} |