blib/lib/FusionInventory/Agent/HTTP/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 26 | 61.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
19 | 37 | 21 | 1 | $params{'ca_cert_file'} and not -f $params{'ca_cert_file'} |
22 | 57 | 0 | 1 | $params{'ca_cert_dir'} and not -d $params{'ca_cert_dir'} |
62 | 26 | 7 | 35 | $scheme eq 'https' and not $$self{'ssl_set'} |
66 | 68 | 0 | 0 | $FusionInventory::Agent::HTTP::Client::OSNAME eq 'MSWin32' and $scheme eq 'https' |
77 | 15 | 0 | 15 | $$self{'user'} and $$self{'password'} |
96 | 15 | 0 | 0 | $FusionInventory::Agent::HTTP::Client::OSNAME eq 'MSWin32' and $scheme eq 'https' |
line | l | !l | condition |
---|---|---|---|
38 | 0 | 57 | $params{'timeout'} || 180 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
25 | 55 | 2 | 0 | $params{'logger'} || 'FusionInventory::Agent::Logger'->new |
86 | 15 | 0 | 0 | $url->port || ($scheme eq 'https' ? 443 : 80) |