line |
true |
false |
branch |
20
|
1 |
72 |
if $params{'ca_cert_file'} and not -f $params{'ca_cert_file'} |
23
|
1 |
71 |
if $params{'ca_cert_dir'} and not -d $params{'ca_cert_dir'} |
46
|
10 |
61 |
if ($params{'proxy'}) { } |
62
|
32 |
30 |
if $scheme eq 'https' and not $self->{'ssl_set'} |
66
|
0 |
62 |
if ($FusionInventory::Agent::HTTP::Client::OSNAME eq 'MSWin32' and $scheme eq 'https') |
74
|
37 |
25 |
unless ($result->is_success) |
76
|
30 |
7 |
if ($result->code == 401) { } |
77
|
15 |
15 |
if ($self->{'user'} and $self->{'password'}) { } |
96
|
0 |
15 |
if ($FusionInventory::Agent::HTTP::Client::OSNAME eq 'MSWin32' and $scheme eq 'https') |
102
|
0 |
15 |
unless ($result->is_success) |
130
|
16 |
16 |
if ($self->{'no_ssl_check'}) { } |
135
|
16 |
0 |
if $self->{'ua'}->can('ssl_opts') |
141
|
0 |
16 |
if $FusionInventory::Agent::HTTP::Client::EVAL_ERROR |
147
|
0 |
16 |
if ($self->{'logger'}{'verbosity'} > 5) |
151
|
16 |
0 |
if ($LWP::VERSION >= 6) { } |
153
|
16 |
0 |
if $self->{'ca_cert_file'} |
155
|
0 |
16 |
if $self->{'ca_cert_dir'} |
158
|
0 |
0 |
if $IO::Socket::SSL::VERSION < 1.14 |
177
|
0 |
0 |
$self->{'no_ssl_check'} ? : |