blib/lib/Protocol/HTTP2/Connection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 38 | 81 | 46.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
201 | 134 | 0 | 0 | not defined $prev_state and $type == 3 |
134 | 0 | 0 | not defined $prev_state and $type == 3 and $act eq 'send' | |
212 | 73 | 60 | 1 | ($type == 1 || $type == 5) && !($flags & 4) |
243 | 1 | 0 | 33 | $type == 1 and $cln2srv |
1 | 0 | 0 | $type == 5 and $srv2cln | |
1 | 0 | 0 | $type == 3 and $act eq 'send' | |
270 | 9 | 4 | 0 | $flags & 1 and $type == 0 || $type == 1 |
282 | 0 | 0 | 0 | $type == 1 and $srv2cln |
0 | 0 | 0 | $type != 2 and $cln2srv | |
297 | 53 | 0 | 18 | $flags & 1 and $srv2cln |
0 | 53 | 0 | not grep({$type == $_;} 8, 2) and $cln2srv | |
313 | 0 | 5 | 0 | $type != 8 and $cln2srv |
0 | 5 | 0 | $type != 2 and ($type != 8 and $cln2srv) | |
377 | 8 | 21 | 1 | $l != 0 and $size == 0 |
384 | 15 | 4 | 10 | $end && $l == $size |
401 | 0 | 0 | 0 | @_ and not $self->{'shutdown'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
190 | 130 | 0 | 134 | $stream_id == 0 or $type == 4 |
130 | 0 | 134 | $stream_id == 0 or $type == 4 or $type == 7 | |
0 | 0 | 134 | $stream_id == 0 or $type == 4 or $type == 7 or $self->upgrade | |
0 | 0 | 134 | $stream_id == 0 or $type == 4 or $type == 7 or $self->upgrade or not $self->preface | |
198 | 0 | 134 | 0 | $promised_sid or $stream_id |
205 | 36 | 0 | 98 | $self->{'type'} == 2 && $act eq 'send' || $self->{'type'} == 1 && $act eq 'recv' |
209 | 27 | 0 | 107 | $self->{'type'} == 2 && $act eq 'recv' || $self->{'type'} == 1 && $act eq 'send' |
235 | 0 | 1 | 0 | $promised_sid || $stream_id |
236 | 0 | 1 | 0 | $promised_sid || $stream_id |
270 | 4 | 0 | 0 | $type == 0 || $type == 1 |
297 | 10 | 0 | 71 | $type == 3 or $flags & 1 and $srv2cln |