blib/lib/POE/Component/Client/HTTP/RequestFactory.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 40 | 65.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
128 | 27 | 1 | 1 | defined $protocol and length $protocol |
152 | 18 | 0 | 9 | defined $timeout and $timeout > 0 |
234 | 59 | 0 | 0 | defined $$self[5] and length $$self[5] |
253 | 55 | 0 | 4 | defined $http_request->protocol and length $http_request->protocol |
266 | 0 | 0 | 0 | defined $req_from and length $req_from |
275 | 53 | 1 | 5 | length $http_request->content and not ref $http_request->content |
54 | 5 | 0 | length $http_request->content and not ref $http_request->content and not $http_request->content_length |
line | l | !l | condition |
---|---|---|---|
134 | 7 | 22 | delete $$params{'FollowRedirects'} || 0 |
397 | 3 | 50 | $$self[1] || 4096 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
101 | 1 | 29 | 2 | not defined $params or ref $params eq 'HASH' |
139 | 0 | 0 | 24 | $ENV{'HTTP_PROXY'} || $ENV{'http_proxy'} |
140 | 0 | 0 | 29 | $ENV{'NO_PROXY'} || $ENV{'no_proxy'} |
329 | 6 | 2 | 51 | $proxy ||= $$self[7] |
338 | 0 | 0 | 8 | not defined $host or _in_no_proxy($host, $$self[6]) |