Branch Coverage

blib/lib/Net/HTTP2/nghttp2/Session.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
25 0 303 unless $callbacks->{$cb}
30 1 100 if defined $max_send_header_block_length
35 3 98 if (defined $stream_reset_burst or defined $stream_reset_rate)
36 2 1 unless defined $stream_reset_burst and defined $stream_reset_rate
43 2 97 %options ? :
48 3 96 if (%$settings)
85 8 16 if defined $authority
96 108 12 unless %settings
121 1 1 if (defined $body and not ref $body) { }
1 0 elsif (ref $body eq 'CODE') { }
0 0 elsif ($data_cb) { }
127 0 1 if $sent
159 0 0 unless my $path = delete $args{'path'}
169 0 0 if defined $authority