Condition Coverage

blib/lib/FusionInventory/Agent/HTTP/Client.pm
Criterion Covered Total %
condition 16 26 61.5


and 3 conditions

line !l l&&!r l&&r condition
20 55 17 1 $params{'ca_cert_file'} and not -f $params{'ca_cert_file'}
23 71 0 1 $params{'ca_cert_dir'} and not -d $params{'ca_cert_dir'}
62 26 4 32 $scheme eq 'https' and not $self->{'ssl_set'}
66 62 0 0 $FusionInventory::Agent::HTTP::Client::OSNAME eq 'MSWin32' and $scheme eq 'https'
77 15 15 0 $self->{'user'} and $self->{'password'}
96 15 0 0 $FusionInventory::Agent::HTTP::Client::OSNAME eq 'MSWin32' and $scheme eq 'https'

or 2 conditions

line l !l condition
41 0 71 $params{'timeout'} || 180

or 3 conditions

line l !l&&r !l&&!r condition
34 69 2 0 $params{'logger'} || 'FusionInventory::Agent::Logger'->new
86 15 0 0 $url->port || ($scheme eq 'https' ? 443 : 80)