blib/lib/Net/HTTP2/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 14 | 35.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
65 | 1 | 0 | 0 | defined $query and length $query |
122 | 1 | 0 | 0 | defined $query and length $query |
line | l | !l | condition |
---|---|---|---|
145 | 2 | 0 | $port or "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
145 | 0 | 2 | 0 | $host_port_conn_hr->{$host}{$port or ""} ||= $conn_ns->new($host, $port == 443 ? () : ("port", $port)) |
160 | 0 | 1 | 0 | $self->{'_conn_ns'} ||= do { my $ns = "Net::HTTP2::Client::Connection::" . $self->_CLIENT_IO; local $@; Carp::croak($@) unless eval "require $ns"; $ns } |