| line |
true |
false |
branch |
|
21
|
0 |
21 |
@params == 1 && (ref $params[0] || '') eq 'HASH' ? : |
|
40
|
0 |
21 |
if @bad_params |
|
43
|
0 |
21 |
if $params{'url'} and $params{'request'} |
|
44
|
21 |
0 |
if ($params{'url'}) { } |
|
|
0 |
0 |
elsif ($params{'request'}) { } |
|
49
|
0 |
0 |
unless builtin::blessed($params{'request'}) and $params{'request'}->isa("HTTP::Request") |
|
55
|
0 |
21 |
if ($params{'ua'}) |
|
56
|
0 |
0 |
unless builtin::blessed($params{'ua'}) and $params{'ua'}->isa("LWP::UserAgent") |
|
57
|
0 |
0 |
if $params{'no_follow_redirects'} |
|
67
|
0 |
23 |
unless defined $code |
|
69
|
3 |
20 |
if defined $op and $op eq "!" |
|
71
|
7 |
16 |
if ($op) { } |
|
74
|
6 |
15 |
if @and |
|
81
|
21 |
0 |
unless ($params{'ua'}) |
|
83
|
0 |
21 |
if $params{'no_follow_redirects'} |
|
95
|
1 |
26 |
unless ref $self |
|
114
|
16 |
10 |
if $results[0]{'status'} eq "OK" |
|
136
|
0 |
26 |
if $@ |
|
138
|
17 |
9 |
$success ? : |
|
141
|
1 |
25 |
if $proxy_error |
|
145
|
16 |
10 |
$status eq 'OK' ? : |
|
148
|
1 |
25 |
if $proxy_error |
|
149
|
9 |
17 |
unless $status eq "OK" or $proxy_error |
|
152
|
2 |
24 |
if ($client_warning and $client_warning eq "Internal response") |
|
163
|
12 |
4 |
unless $self->{'content_regex'} |
|
167
|
2 |
2 |
$content =~ /$regex/ ? : |
|
168
|
2 |
2 |
$status eq 'OK' ? : |
|
181
|
2 |
24 |
if defined $response_time_threshold and $elapsed_time > $response_time_threshold |
|
184
|
1 |
25 |
$elapsed_time == 1 ? : |