Condition Coverage

blib/lib/Protocol/HTTP2/Stream.pm
Criterion Covered Total %
condition 21 36 58.3


and 3 conditions

line !l l&&!r l&&r condition
106 48 32 70 exists $s->{'cb'} and exists $s->{'cb'}{$s->{'state'}}
116 36 0 34 $self->{'active_peer_streams'} and $stream_id % 2 ^ $self->{'type'} == 1
171 18 0 5 exists $s->{'frame_cb'} and exists $s->{'frame_cb'}{&DATA}
202 36 0 36 $self->{'type'} == 1 && !$s->{'promised_sid'}
219 67 0 5 exists $s->{'frame_cb'} and exists $s->{'frame_cb'}{&HEADERS}
280 53 0 0 $h eq 'te' and $v ne 'trailers'
365 2 0 1 length $s->{'blocked_data'} and $self->stream_fcw_send($stream_id) > 0
376 0 7 0 exists $self->{'streams'}{$stream_id} and $stream_dep == 0 || exists $self->{'streams'}{$stream_dep}
0 0 7 exists $self->{'streams'}{$stream_id} and $stream_dep == 0 || exists $self->{'streams'}{$stream_dep} and $stream_id != $stream_dep

or 3 conditions

line l !l&&r !l&&!r condition
47 0 0 42 $stream_id < $self->{'last_peer_stream'} || $stream_id % 2 == ($self->{'type'} == 1)
376 3 0 4 $stream_dep == 0 || exists $self->{'streams'}{$stream_dep}
404 0 1 2 $s->{$sid}{'stream_dep'} != $stream_dep or $sid == $stream_id