Branch Coverage

blib/lib/JSON/RPC/Spec.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
51 2 45 unless (length $self->_content)
66 3 42 if ($err)
71 19 23 if (ref $req eq 'ARRAY') { }
80 2 40 unless (scalar @{$req;})
90 40 8 if $res
92 6 34 unless @response
93 13 21 if $self->_is_batch
113 3 25 unless $result
120 1 14 unless (defined $pattern)
123 1 13 if (ref $cb ne 'CODE')