| line |
true |
false |
branch |
|
11
|
0 |
0 |
unless defined $key |
|
12
|
0 |
0 |
unless defined $val |
|
25
|
0 |
0 |
unless defined $key |
|
26
|
0 |
0 |
unless defined $val |
|
42
|
0 |
0 |
unless $opt->{'ua_debug'} |
|
43
|
0 |
0 |
$is_blocking ? : |
|
45
|
0 |
0 |
if ($opt->{'ua_debug_req_body'}) { } |
|
47
|
0 |
0 |
if (defined $req_content_type and $req_content_type =~ m[^multipart/form-data; boundary=(.+?)$]) { } |
|
51
|
0 |
0 |
if ($filename_pos != -1) |
|
53
|
0 |
0 |
if ($binary_start_pos != -1) |
|
55
|
0 |
0 |
if $binary_end_pos != -1 |
|
69
|
0 |
0 |
if ($opt->{'ua_debug_res_body'}) { } |
|
71
|
0 |
0 |
if (defined $res_content_type and $res_content_type =~ m[^(image|video|auido)/|^application/octet-stream]) { } |
|
96
|
0 |
0 |
if (ref $_[1] eq 'HASH') |
|
97
|
0 |
0 |
if defined $_[1]{'json'} |
|
98
|
0 |
0 |
if defined $_[1]{'blocking'} |
|
99
|
0 |
0 |
if defined $_[1]{'ua_retry_times'} |
|
100
|
0 |
0 |
if defined $_[1]{'ua_debug'} |
|
101
|
0 |
0 |
if defined $_[1]{'ua_debug_res_body'} |
|
102
|
0 |
0 |
if defined $_[1]{'ua_debug_req_body'} |
|
103
|
0 |
0 |
if defined $_[1]{'ua_connect_timeout'} |
|
104
|
0 |
0 |
if defined $_[1]{'ua_request_timeout'} |
|
105
|
0 |
0 |
if defined $_[1]{'ua_inactivity_timeout'} |
|
107
|
0 |
0 |
if (ref $_[-1] eq 'CODE' and not $opt{'blocking'}) { } |
|
112
|
0 |
0 |
if $opt{'ua_debug'} |
|
114
|
0 |
0 |
if (defined $tx and $tx->res->is_success) { } |
|
|
0 |
0 |
elsif (defined $tx) { } |
|
115
|
0 |
0 |
$opt{'json'} ? : |
|
126
|
0 |
0 |
if ref $_[-1] eq 'CODE' |
|
132
|
0 |
0 |
if $self->ua->ioloop->is_running |
|
134
|
0 |
0 |
if ($opt{'ua_connect_timeout'} or $opt{'ua_request_timeout'} or $opt{'ua_inactivity_timeout'}) { } |
|
138
|
0 |
0 |
if $opt{'ua_connect_timeout'} |
|
139
|
0 |
0 |
if $opt{'ua_request_timeout'} |
|
140
|
0 |
0 |
if $opt{'ua_inactivity_timeout'} |
|
149
|
0 |
0 |
if $opt{'ua_debug'} |
|
151
|
0 |
0 |
if (defined $tx and $tx->res->is_success) { } |
|
|
0 |
0 |
elsif (defined $tx) { } |
|
152
|
0 |
0 |
$opt{'json'} ? : |
|
153
|
0 |
0 |
if defined $cb |
|
154
|
0 |
0 |
wantarray ? : |
|
162
|
0 |
0 |
if defined $cb |
|
163
|
0 |
0 |
wantarray ? : |
|
169
|
0 |
0 |
unless $self->keep_cookie |
|
172
|
0 |
0 |
unless -f $cookie_path |
|
174
|
0 |
0 |
if ($@) { } |
|
184
|
0 |
0 |
if ($domain and $domain ne $self->domain) |
|
193
|
0 |
0 |
unless $self->keep_cookie |
|
196
|
0 |
0 |
if $@ |
|
205
|
0 |
0 |
if (@tmp == 1 and ref $tmp[0] eq 'ARRAY') { } |
|
212
|
0 |
0 |
defined $c ? : |