Condition Coverage

blib/lib/PAGI/Server/Protocol/HTTP2.pm
Criterion Covered Total %
condition 21 31 67.7


and 3 conditions

line !l l&&!r l&&r condition
77 0 3 45 defined $bytes and length $bytes >= 24
241 0 81 0 $stream and $stream->{'client_end_stream'}
245 0 0 81 $stream and $weak_self->{'on_request'}
317 0 20 0 $stream and $stream->{'client_end_stream'}

or 2 conditions

line l !l condition
107 91 17 $args{'max_concurrent_streams'} // 100
91 17 $args{'initial_window_size'} // 65535
91 17 $args{'max_frame_size'} // 16384
91 17 $args{'enable_push'} // 0
91 17 $args{'enable_connect_protocol'} // 1
93 15 $args{'max_header_list_size'} // 65536
92 16 $args{'h2_rst_rate_limit'} // {"burst", 1000, "rate", 33}
482 70 0 $error_code //= 0

or 3 conditions

line l !l&&r !l&&!r condition
195 0 82 0 not defined $type or $type == Net::HTTP2::nghttp2::NGHTTP2_HEADERS()