Branch Coverage

blib/lib/Protocol/HTTP2/Client.pm
Criterion Covered Total %
branch 27 38 71.0


line true false branch
170 1 14 exists $opts{'settings'} ? :
177 0 15 if (exists $opts{'on_push'})
192 0 0 if ($res and ref $cb eq 'CODE') { }
223 7 15 unless $$self{'active_streams'} > 0
308 0 15 if @miss
316 1 14 if ($con->upgrade and not exists $$self{'sent_upgrade'}) { }
319 1 0 exists $h{'headers'} ? :
327 14 0 unless ($con->preface)
337 12 2 exists $h{'headers'} ? :
356 8 7 if exists $h{'on_done'}
363 5 0 if $res
366 5 10 if exists $h{'on_headers'}
373 0 5 if $res
376 5 10 if exists $h{'on_data'}
424 67 42 if $frame
444 1 59 if ($con->upgrade)
446 1 0 unless defined $len
447 1 0 unless $len
457 59 0 if $offset