Branch Coverage

blib/lib/JRPC.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
143 0 0 unless ($m =~ /\./)
145 0 0 if (my $f = $dotn2func{$m})
149 0 0 unless ($mcp)
150 0 0 unless (@pp)
152 0 0 if (my $f = join('::', @pp)->can($mcp))
164 0 0 if (my $f = $urlm2func{$uri}{$m})
167 0 0 unless ($pp[0])
168 0 0 unless ($pp[$#pp])
171 0 0 unless (@pp and $pp[0])
176 0 0 unless ($f)
207 0 0 if ($@)
210 0 0 if (ref $j eq 'ARRAY')
219 0 0 unless ($$j{'method'})
220 0 0 unless (exists $$j{'params'})
221 0 0 if ($msgvalid < 2)
222 0 0 unless ($$j{'id'})
223 0 0 if ($$j{'jsonrpc'} ne '2.0')
229 0 0 if ($@)
279 0 0 unless ($client)
280 0 0 unless ($url)
281 0 0 unless ($meth)
282 0 0 unless ($p)
285 0 0 unless ($req)
287 0 0 unless ($resp->is_success)
294 0 0 if (my $f = $c{'cb'})
312 0 0 unless ($class =~ /^[\w:]+$/)