Condition Coverage

blib/lib/Protocol/HTTP2/Stream.pm
Criterion Covered Total %
condition 17 27 62.9


and 3 conditions

line !l l&&!r l&&r condition
89 27 11 28 exists $s->{'cb'} and exists $s->{'cb'}{$s->{'state'}}
99 15 0 13 $self->{'active_peer_streams'} and $stream_id % 2 ^ $self->{'type'} == 1
163 18 0 5 exists $s->{'frame_cb'} and exists $s->{'frame_cb'}{&DATA}
230 15 0 15 $self->{'type'} == 1 && !$s->{'promised_sid'}
243 25 0 5 exists $s->{'frame_cb'} and exists $s->{'frame_cb'}{&HEADERS}
289 53 0 0 $h eq 'te' and $v ne 'trailers'
366 2 0 1 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 21 $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