Condition Coverage

blib/lib/Protocol/HTTP2/Stream.pm
Criterion Covered Total %
condition 15 27 55.5


and 3 conditions

line !l l&&!r l&&r condition
89 23 5 22 exists $$s{'cb'} and exists $$s{'cb'}{$$s{'state'}}
97 12 0 10 $$self{'active_peer_streams'} and $stream_id % 2 ^ $$self{'type'} == 1
163 12 0 5 exists $$s{'frame_cb'} and exists $$s{'frame_cb'}{&DATA}
230 12 0 12 $$self{'type'} == 1 && !$$s{'promised_sid'}
243 19 0 5 exists $$s{'frame_cb'} and exists $$s{'frame_cb'}{&HEADERS}
289 50 0 0 $h eq 'te' and $v ne 'trailers'
366 0 0 0 length $$s{'blocked_data'} and $self->stream_fcw_send($stream_id) != 0

or 3 conditions

line l !l&&r !l&&!r condition
30 0 0 18 $stream_id < $$self{'last_peer_stream'} || $stream_id % 2 == ($$self{'type'} == 1)
420 0 1 2 $$s{$sid}{'stream_dep'} != $stream_dep or $sid == $stream_id