| blib/lib/PAGI/Server/Protocol/HTTP2.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 19 | 29 | 65.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 64 | 0 | 3 | 39 | defined $bytes and length $bytes >= 24 |
| 220 | 0 | 75 | 0 | $stream and $stream->{'client_end_stream'} |
| 224 | 0 | 0 | 75 | $stream and $weak_self->{'on_request'} |
| 296 | 0 | 23 | 0 | $stream and $stream->{'client_end_stream'} |
| line | l | !l | condition |
|---|---|---|---|
| 92 | 89 | 14 | $args{'max_concurrent_streams'} // 100 |
| 89 | 14 | $args{'initial_window_size'} // 65535 | |
| 89 | 14 | $args{'max_frame_size'} // 16384 | |
| 89 | 14 | $args{'enable_push'} // 0 | |
| 89 | 14 | $args{'enable_connect_protocol'} // 1 | |
| 91 | 12 | $args{'max_header_list_size'} // 65536 | |
| 458 | 65 | 0 | $error_code //= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 174 | 0 | 76 | 0 | not defined $type or $type == Net::HTTP2::nghttp2::NGHTTP2_HEADERS() |