Branch Coverage

blib/lib/Protocol/HTTP2/Server.pm
Criterion Covered Total %
branch 19 44 43.1


line true false branch
178 0 15 exists $opts{'settings'} ? :
181 13 2 if (exists $opts{'on_request'})
205 15 0 unless $self->{'con'}->upgrade
240 0 0 if @miss
250 0 0 exists $h{'headers'} ? :
0 0 exists $h{'data'} ? :
252 0 0 if exists $h{'data'}
308 5 8 if ($self->{'on_cancel'})
314 0 5 if $self->{'done'}
344 3 9 unless $self->{'done'} or not $self->{'con'}
351 0 13 if @miss
359 13 0 exists $h{'headers'} ? :
408 0 0 if @miss
411 0 0 if $h{'stream_id'} % 2 == 0
475 63 42 if ($frame)
503 0 68 if ($con->upgrade)
507 0 0 unless defined $len
508 0 0 unless $len
532 12 56 unless ($con->preface)
534 0 12 unless (defined $len)
538 0 12 unless $len
548 68 0 if $offset