| line |
true |
false |
branch |
|
101
|
2 |
30 |
unless not defined $params or ref $params eq 'HASH' |
|
106
|
28 |
2 |
unless defined $agent |
|
107
|
1 |
29 |
unless ref $agent |
|
108
|
1 |
29 |
unless (ref $agent eq 'ARRAY') |
|
113
|
0 |
29 |
unless defined $v |
|
115
|
28 |
1 |
unless @$agent |
|
128
|
28 |
1 |
unless defined $protocol and length $protocol |
|
139
|
24 |
5 |
unless defined $proxy |
|
140
|
29 |
0 |
unless defined $no_proxy |
|
144
|
5 |
24 |
if defined $proxy |
|
146
|
0 |
27 |
if (defined $no_proxy) |
|
147
|
0 |
0 |
unless (ref $no_proxy eq 'ARRAY') |
|
152
|
18 |
9 |
unless defined $timeout and $timeout > 0 |
|
184
|
0 |
312 |
if (defined $timeout) |
|
234
|
0 |
59 |
if (defined $$self[5] and length $$self[5]) |
|
253
|
55 |
4 |
unless defined $http_request->protocol and length $http_request->protocol |
|
259
|
55 |
4 |
unless (defined $http_request->user_agent) |
|
264
|
0 |
59 |
if (defined $self->from) |
|
266
|
0 |
0 |
unless (defined $req_from and length $req_from) |
|
275
|
0 |
6 |
if (length $http_request->content and not ref $http_request->content and not $http_request->content_length) |
|
285
|
4 |
55 |
if (ref $response_event eq 'POE::Component::Client::HTTP::Request') { } |
|
294
|
1 |
58 |
if (defined $progress_event) |
|
295
|
0 |
1 |
if (ref $progress_event) { } |
|
313
|
0 |
59 |
if (defined $$self[4]) |
|
328
|
59 |
0 |
if ($http_request->uri->scheme eq 'http') |
|
332
|
8 |
51 |
if (defined $proxy) |
|
338
|
0 |
8 |
if not defined $host or _in_no_proxy($host, $$self[6]) |
|
353
|
4 |
55 |
if (defined $last_request) |
|
366
|
0 |
0 |
if $host =~ /\Q$no_proxy_domain\E$/i |
|
398
|
0 |
53 |
if $block_size < 1 |
|
415
|
0 |
112 |
if (defined $$self[4]) |
|
434
|
0 |
48 |
if (defined $count) |
|
461
|
2 |
9 |
if (ref $proxy eq 'ARRAY') { } |
|
462
|
1 |
1 |
unless @$proxy == 2 |
|
469
|
1 |
8 |
unless /^(.+):(\d+)$/ |
|
472
|
8 |
0 |
if (@proxies) { } |