Branch Coverage

blib/lib/Net/HTTP2/Client/Connection.pm
Criterion Covered Total %
branch 10 32 31.2


line true false branch
95 0 2 if (my(@extra) = sort(keys %raw_opts))
103 0 2 if (my $tls_verify = delete $opts{'tls_verify'})
105 0 0 unless (defined $val)
224 0 2 if ($opts{'headers'})
228 0 0 if ('ARRAY' eq ref $val) { }
239 0 2 if (defined $opts{'content'})
243 0 2 if (my $data_cr = $opts{'on_data'})
282 0 2 if $self->{'port'} != 443
363 0 2 if (${^GLOBAL_PHASE} and ${^GLOBAL_PHASE} eq "DESTRUCT")
364 0 0 if ($self->{'pid'} == $$)
382 0 0 if ($rejectors->count) { }
395 0 0 if ($rejectors->count) { }
0 0 elsif (not $self->{'_close_called'}) { }
406 0 4 if ($cb) { }
413 0 0 if (@frames)
439 1 1 unless $promise_class->can("new")