Branch Coverage

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


line true false branch
178 0 18 exists $opts{'settings'} ? :
181 16 2 if (exists $opts{'on_request'})
205 18 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 29 if ($self->{'on_cancel'})
314 0 5 if $self->{'done'}
344 24 9 unless $self->{'done'} or not $self->{'con'}
351 0 34 if @miss
359 34 0 exists $h{'headers'} ? :
408 0 0 if @miss
411 0 0 if $h{'stream_id'} % 2 == 0
475 111 80 if ($frame)
503 0 101 if ($con->upgrade)
507 0 0 unless defined $len
508 0 0 unless $len
532 15 86 unless ($con->preface)
534 0 15 unless (defined $len)
538 0 15 unless $len
548 101 0 if $offset