Condition Coverage

blib/lib/JSON/RPC2/TwoWay.pm
Criterion Covered Total %
condition 19 28 67.8


and 3 conditions

line !l l&&!r l&&r condition
63 4 1 1 $opts{'non_blocking'} and $opts{'notification'}
95 3 3 1 ref $r->{'params'} ne "ARRAY" and ref $r->{'params'} ne "HASH"
101 1 0 1 $c->state && $m->{'state'} eq $c->state
2 1 1 $m->{'state'} and not $c->state && $m->{'state'} eq $c->state
113 0 0 0 not $cb and $id
125 1 0 2 not $cb and $id

or 2 conditions

line l !l condition
101 1 0 $m->{'state'} // "undef"
131 11 0 "error: $code " . $message // ""

or 3 conditions

line l !l&&r !l&&!r condition
31 0 1 0 $opt{'json'} // "JSON::MaybeXS"->new("utf8", 1)
92 5 2 1 $id or $m->{'notification'}