line |
true |
false |
branch |
26
|
2 |
1 |
if (ref $_[0] eq 'HASH') { } |
|
0 |
1 |
elsif (scalar @_ and scalar @_ % 2 == 0) { } |
128
|
0 |
21 |
unless $method =~ /^(get|patch|put|post|delete|options|head)$/i |
129
|
0 |
21 |
unless $url |
130
|
0 |
21 |
if $headers and ref $headers ne "HASH" |
136
|
0 |
21 |
if (defined $self->getTimeout) { } |
144
|
0 |
21 |
if (defined $content and length $content) { } |
162
|
0 |
21 |
if ($self->getCert) |
163
|
0 |
0 |
unless $url =~ /^https/ |
164
|
0 |
0 |
unless -f $self->getCert and -f $self->getKey |
171
|
0 |
21 |
if (my $ca = $self->getCa) |
172
|
0 |
0 |
unless -f $ca |
177
|
0 |
21 |
if ($self->getPkcs12) |
178
|
0 |
0 |
unless $url =~ /^https/ |
179
|
0 |
0 |
unless -f $self->getPkcs12 |
182
|
0 |
0 |
if ($self->getPkcs12password) |
187
|
0 |
21 |
$self->getFollow ? : |
220
|
0 |
1 |
unless $header |
233
|
0 |
0 |
if ($self->responseHeader('Content-type') =~ /html/) { } |
247
|
0 |
21 |
if $url =~ /^https?:/ |
250
|
21 |
0 |
if ($host) |
251
|
0 |
21 |
unless $url =~ m[^/] |
254
|
21 |
0 |
unless ($url =~ m[^\w+://]) |
255
|
0 |
21 |
$self->getCert ? : |
264
|
21 |
3 |
if $self->getUseragent |
276
|
2 |
1 |
if $self->can("setHost") |