line |
true |
false |
branch |
64
|
0 |
0 |
$FusionInventory::Agent::Config::OSNAME eq 'MSWin32' ? : |
|
0 |
0 |
$params{'options'}{'config'} ? : |
|
3 |
0 |
$params{'options'}{'conf-file'} ? : |
71
|
0 |
3 |
if ($backend eq 'registry') |
72
|
0 |
0 |
unless $FusionInventory::Agent::Config::OSNAME eq 'MSWin32' |
78
|
3 |
0 |
if ($backend eq 'file') |
86
|
0 |
0 |
if ($backend eq 'none') |
119
|
0 |
0 |
unless my $machKey = $Registry->Open('LMachine', {'Access', Win32::TieRegistry::KEY_READ()}) |
126
|
0 |
0 |
unless $rawKey =~ m[^/(\S+)] |
134
|
0 |
0 |
if (exists $$default{$key}) { } |
144
|
3 |
0 |
$$params{'file'} ? : |
147
|
3 |
0 |
if ($file) { } |
148
|
0 |
3 |
unless -f $file |
149
|
0 |
3 |
unless -r $file |
155
|
0 |
3 |
unless (open $handle, '<', $file) |
162
|
3 |
5 |
if ($line =~ /([\w-]+)\s*=\s*(.+)/) |
171
|
3 |
0 |
if (exists $$default{$key}) { } |
194
|
3 |
0 |
unless defined $$self{$old} |
196
|
0 |
0 |
if $old =~ /^no-/ and not $$self{$old} |
204
|
0 |
0 |
if ($$handler{'new'}) |
205
|
0 |
0 |
if (ref $$handler{'new'} eq 'HASH') { } |
|
0 |
0 |
elsif (ref $$handler{'new'} eq 'ARRAY') { } |
209
|
0 |
0 |
if ($value =~ /^\+(\S+)/) { } |
211
|
0 |
0 |
$$self{$key} ? : |
234
|
0 |
3 |
if ($$self{'logfile'}) |
239
|
0 |
3 |
if ($$self{'ca-cert-file'} and $$self{'ca-cert-dir'}) |
244
|
0 |
3 |
if ($$self{'logger'} =~ /file/i and not $$self{'logfile'}) |
258
|
6 |
12 |
if ($$self{$option}) { } |
266
|
0 |
3 |
if $$self{'ca-cert-file'} |
268
|
0 |
3 |
if $$self{'ca-cert-dir'} |
270
|
0 |
3 |
if $$self{'logfile'} |