Branch Coverage

blib/lib/Protocol/HTTP2/Server.pm
Criterion Covered Total %
branch 18 44 40.9


line true false branch
178 0 14 exists $opts{'settings'} ? :
181 12 2 if (exists $opts{'on_request'})
204 14 0 unless $$self{'con'}->upgrade
240 0 0 if @miss
248 0 0 exists $h{'headers'} ? :
0 0 exists $h{'data'} ? :
252 0 0 if exists $h{'data'}
308 5 5 if ($$self{'on_cancel'})
314 0 5 if $$self{'done'}
343 0 9 unless $$self{'done'} or not $$self{'con'}
351 0 10 if @miss
359 10 0 exists $h{'headers'} ? :
408 0 0 if @miss
409 0 0 if $h{'stream_id'} % 2 == 0
475 54 35 if ($frame)
503 0 55 if ($con->upgrade)
507 0 0 unless defined $len
508 0 0 unless $len
532 11 44 unless ($con->preface)
534 0 11 unless (defined $len)
538 0 11 unless $len
548 55 0 if $offset