Branch Coverage

blib/lib/XAS/Lib/RPC/JSON/Server.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
52 0 0 if (ref $request eq 'ARRAY') { }
124 0 0 if ($ref) { }
126 0 0 if ($ex->isa('XAS::Exception')) { }
131 0 0 if ($type =~ /server\.rpc_method$/) { }
0 0 elsif ($type =~ /server\.rpc_version$/) { }
0 0 elsif ($type =~ /server\.rpc_format$/) { }
0 0 elsif ($type =~ /server\.rpc_notify$/) { }
190 0 0 if ($request->{'jsonrpc'} ne '2.0')
199 0 0 unless (defined $request->{'id'})
208 0 0 if ($self->methods->has($request->{'method'})) { }