| line |
true |
false |
branch |
|
101
|
0 |
21 |
if @_ % 2 |
|
106
|
9 |
12 |
unless defined $alias and length $alias |
|
115
|
0 |
21 |
if scalar keys %params |
|
163
|
0 |
18 |
$$heap{'bind_addr'} ? : |
|
|
18 |
3 |
unless $$heap{'cm'} |
|
198
|
1 |
59 |
unless (defined $scheme and exists $supported_schemes{$scheme}) |
|
213
|
0 |
1 |
if (ref $response_event eq 'POE::Component::Client::HTTP::Request') { } |
|
223
|
0 |
59 |
unless (defined $host and length $host) |
|
235
|
0 |
0 |
if (ref $response_event eq 'POE::Component::Client::HTTP::Request') { } |
|
243
|
0 |
59 |
if ($$heap{'is_shut_down'}) |
|
256
|
0 |
0 |
if (ref $response_event eq 'POE::Component::Client::HTTP::Request') { } |
|
264
|
6 |
53 |
if (defined $proxy_override) |
|
276
|
59 |
0 |
if ($$heap{'factory'}->timeout) |
|
297
|
0 |
59 |
if ($@) |
|
316
|
0 |
56 |
if ($$heap{'is_shut_down'}) |
|
323
|
53 |
3 |
if (defined $connection) { } |
|
327
|
0 |
53 |
unless (defined $request) |
|
353
|
53 |
0 |
if ($request->scheme eq 'http') { } |
|
360
|
53 |
0 |
if (defined $peer_addr) { } |
|
365
|
0 |
53 |
if ($error) { } |
|
415
|
0 |
3 |
unless (defined $request) |
|
428
|
3 |
0 |
if ($request->wheel) |
|
445
|
3 |
0 |
unless ($$request[4] & 136) |
|
448
|
1 |
2 |
if ($$request[4] & 96) |
|
455
|
2 |
0 |
if $$request[4] |
|
467
|
0 |
55 |
unless (defined $request_id) |
|
479
|
3 |
52 |
if (ref $$request[3]->content eq 'CODE') |
|
484
|
2 |
1 |
if ($buf) |
|
521
|
0 |
19 |
unless $request_id |
|
534
|
0 |
19 |
if $$request[4] & 8 |
|
538
|
0 |
19 |
if ($errnum) |
|
539
|
0 |
0 |
if ($operation eq 'connect') |
|
544
|
0 |
0 |
unless ($$request[4] & 128) |
|
551
|
16 |
3 |
if ($$request[4] & 96 and not $$request[4] & 128) |
|
561
|
2 |
1 |
if ($$request[4] & 128) |
|
567
|
1 |
0 |
unless (defined $$request[5]) |
|
574
|
1 |
0 |
if ($text =~ /\S/) |
|
628
|
8 |
121 |
unless defined $request_id |
|
631
|
0 |
121 |
unless defined $request |
|
640
|
0 |
121 |
if ($$request[4] & 8) |
|
648
|
50 |
71 |
if ($$request[4] & 4) |
|
649
|
50 |
0 |
if (defined $input) { } |
|
689
|
8 |
42 |
if ($$request[3]->method eq 'HEAD' or $input->code =~ /^(?:1|[23]04)/ or defined $input->content_length and $input->content_length == 0) { } |
|
697
|
2 |
6 |
if (_try_redirect($request_id, $input, $request)) |
|
700
|
2 |
0 |
if (defined $old_request) |
|
716
|
2 |
6 |
if (defined $$heap{'factory'}->max_response_size and defined $input->content_length and $input->content_length > $$heap{'factory'}->max_response_size) |
|
736
|
2 |
38 |
if (_try_redirect($request_id, $input, $request)) |
|
739
|
2 |
0 |
if (defined $old_request) |
|
757
|
4 |
34 |
if (defined $te) |
|
766
|
2 |
2 |
if (@te) { } |
|
777
|
1 |
37 |
if (defined $ce) |
|
786
|
1 |
0 |
if (@ce) { } |
|
794
|
0 |
38 |
if (@filters > 1) { } |
|
|
3 |
35 |
elsif (@filters) { } |
|
812
|
67 |
4 |
if ($$request[4] & 32) |
|
813
|
0 |
67 |
if (ref $input and UNIVERSAL::isa($input, 'HTTP::Response')) { } |
|
823
|
18 |
53 |
if ($$request[4] & 64 and not $$request[4] & 128) |
|
864
|
4 |
44 |
if (my $newrequest = $request->check_redirect) |
|
870
|
1 |
3 |
if ($$request[11]) |
|
909
|
41 |
0 |
defined $request->wheel ? : |
|
933
|
17 |
24 |
unless defined $request |
|
939
|
24 |
0 |
if (my $wheel = $request->wheel) |
|
945
|
24 |
0 |
if ($$request[2]) |
|
946
|
24 |
0 |
if (defined(my $response = $$request[5])) |
|
948
|
14 |
10 |
if (defined $connection_header and $connection_header =~ /\bclose\b/) |
|
964
|
0 |
2 |
unless defined $request_id |
|
975
|
0 |
6 |
unless defined $request |
|
981
|
3 |
3 |
if ($request->wheel) |
|
987
|
3 |
3 |
if ($$request[2]) { } |
|
998
|
6 |
0 |
unless ($$request[4] & 128) |
|
1018
|
19 |
0 |
if (defined $$heap{'cm'}) |