| line |
true |
false |
branch |
|
76
|
0 |
17 |
if (not defined $id or $id =~ /^\s*+$/imsx) |
|
80
|
1 |
16 |
if (not defined $host or $host =~ /^\s*+$/imsx) |
|
84
|
1 |
15 |
unless (defined $port and $port =~ /^[1-9][0-9]*+$/imsx) |
|
88
|
1 |
14 |
if (not defined $methods or ref $methods ne "ARRAY") |
|
92
|
1 |
13 |
if (@{$methods;} == 0) |
|
97
|
1 |
22 |
unless ($method =~ /^(?>socks[45]|https?)$/msx) |
|
226
|
1 |
1 |
if ($self->can_use_socks and $preferred_method eq 'socks') { } |
|
|
1 |
0 |
elsif ($self->can_use_http and $preferred_method eq 'http') { } |
|
|
0 |
0 |
elsif ($self->can_use_socks) { } |
|
|
0 |
0 |
elsif ($self->can_use_http) { } |