blib/lib/JSON/RPC/Legacy/Server.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 32 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
150 | 0 | 0 | 0 | exists $opt{'version'} and $opt{'version'} ne '1.1' |
196 | 0 | 0 | 0 | $$obj{'params'} and ref $$obj{'params'} eq 'ARRAY' |
270 | 0 | 0 | 0 | $classname and $pkg ne $classname |
271 | 0 | 0 | 0 | $JSONRPC_Procedure_Able and 'JSON::RPC::Legacy::Procedure'->can($method) |
283 | 0 | 0 | 0 | $classname and $pkg ne $classname |
284 | 0 | 0 | 0 | $JSONRPC_Procedure_Able and 'JSON::RPC::Legacy::Procedure'->can($method) |
317 | 0 | 0 | 0 | $$procedure{'return_type'} and $$procedure{'return_type'} eq 'Private' |
line | l | !l | condition |
---|---|---|---|
148 | 0 | 0 | $opt{'status_code'} || 200 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
231 | 0 | 0 | 0 | $$obj{'version'} or defined $$obj{'id'} |
313 | 0 | 0 | 0 | $code or $code = $pkg->can($method) |
314 | 0 | 0 | 0 | $system_call or not $JSONRPC_Procedure_Able |