Condition Coverage

blib/lib/Protocol/HTTP2/Client.pm
Criterion Covered Total %
condition 6 14 42.8


and 3 conditions

line !l l&&!r l&&r condition
200 0 0 0 $res and ref $cb eq 'CODE'
352 38 0 1 $con->upgrade and not exists $self->{'sent_upgrade'}
387 31 0 0 exists $h{'on_error'} and $con->stream_reset($stream_id)

or 2 conditions

line l !l condition
229 70 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
233 50 0 20 $self->{'active_streams'} > 0 or $self->{'keepalive'}