Condition Coverage

blib/lib/MojoX/JSONRPC2/HTTP.pm
Criterion Covered Total %
condition 17 18 94.4


and 3 conditions

line !l l&&!r l&&r condition
36 8 6 4 @params && ref $params[-1] eq 'CODE'
81 15 1 1 $res->error and not $res->error->{'code'}
1 2 2 $res->is_success && $res->body =~ /\A\s*\z/ms
11 2 3 $is_notify and not $res->is_success && $res->body =~ /\A\s*\z/ms
97 13 3 1 $failed and $call

or 3 conditions

line l !l&&r !l&&!r condition
81 2 11 0 $is_notify || $res->is_success && $res->body =~ /\A\s*[{\[]/ms