Condition Coverage

blib/lib/JSON/RPC2/AnyEvent/Server.pm
Criterion Covered Total %
condition 11 12 91.6


and 3 conditions

line !l l&&!r l&&r condition
71 1 0 10 exists $json->{'method'} and not ref $json->{'method'}

or 2 conditions

line l !l condition
22 5 3 &reftype($spec) // ''
73 8 1 &reftype($json->{'params'}) // ''
1 1 &reftype($json->{'params'}) // ''

or 3 conditions

line l !l&&r !l&&!r condition
73 7 1 1 (&reftype($json->{'params'}) // '') eq 'ARRAY' or (&reftype($json->{'params'}) // '') eq 'HASH'