line |
true |
false |
branch |
32
|
0 |
20 |
if ($VERSION =~ /^\d\.\d\.99(\d\d)/) |
63
|
0 |
0 |
$$config{'debug'} && $$config{'debug'} == 2 ? : |
|
0 |
0 |
$$config{'debug'} && $$config{'debug'} == 1 ? : |
87
|
0 |
0 |
unless $$self{'deviceid'} |
92
|
0 |
0 |
if ($$config{'local'}) |
106
|
0 |
0 |
if ($$config{'server'}) |
120
|
0 |
0 |
unless ($$self{'targets'}) |
129
|
0 |
0 |
unless (@tasks) |
141
|
0 |
0 |
if ($$config{'daemon'}) |
145
|
0 |
0 |
if ($self->_isAlreadyRunning($pidfile)) |
149
|
0 |
0 |
unless ($$config{'no-fork'}) |
152
|
0 |
0 |
if ($FusionInventory::Agent::EVAL_ERROR) |
158
|
0 |
0 |
substr($$self{'libdir'}, 0, 1) eq '/' ? : |
170
|
0 |
0 |
if ($$config{'daemon'} || $$config{'service'} and not $$config{'no-httpd'}) |
172
|
0 |
0 |
if ($FusionInventory::Agent::EVAL_ERROR) { } |
191
|
0 |
0 |
if $$self{'config'}{'daemon'} or $$self{'config'}{'service'} |
200
|
0 |
0 |
if ($$self{'config'}{'daemon'} or $$self{'config'}{'service'}) { } |
206
|
0 |
0 |
if $time < $target->getNextRunDate |
211
|
0 |
0 |
if $FusionInventory::Agent::EVAL_ERROR |
216
|
0 |
0 |
if $$self{'server'} |
223
|
0 |
0 |
if ($$self{'config'}{'lazy'} and $time < $target->getNextRunDate) |
234
|
0 |
0 |
if $FusionInventory::Agent::EVAL_ERROR |
242
|
0 |
0 |
if $$self{'config'}{'daemon'} or $$self{'config'}{'service'} |
244
|
0 |
0 |
if $$self{'current_task'} |
253
|
0 |
0 |
if ($target->isa('FusionInventory::Agent::Target::Server')) |
274
|
0 |
0 |
unless $response |
278
|
0 |
0 |
if (defined $$content{'PROLOG_FREQ'}) |
287
|
0 |
0 |
if $FusionInventory::Agent::EVAL_ERROR |
297
|
0 |
0 |
if ($$self{'config'}{'daemon'} or $$self{'config'}{'service'}) { } |
299
|
0 |
0 |
if (my $pid = fork) { } |
302
|
0 |
0 |
if $$self{'server'} |
307
|
0 |
0 |
unless defined $pid |
335
|
0 |
0 |
unless $task->isEnabled($response) |
374
|
0 |
10 |
unless $file =~ m[($subdirectory/(\S+)\.pm)$] |
378
|
0 |
10 |
if $disabled{lc $name} |
381
|
0 |
10 |
if ($$self{'config'}{'daemon'} or $$self{'config'}{'service'}) { } |
387
|
0 |
0 |
if (my $pid = fork) { } |
395
|
0 |
0 |
unless defined $pid |
399
|
0 |
0 |
if $version |
409
|
3 |
7 |
unless $version |
422
|
2 |
8 |
unless ($module->require) |
423
|
0 |
2 |
if $logger |
427
|
1 |
7 |
unless ($module->isa('FusionInventory::Agent::Task')) |
428
|
0 |
1 |
if $logger |
445
|
0 |
0 |
if ($FusionInventory::Agent::EVAL_ERROR) |
462
|
0 |
0 |
if $$data{'deviceid'} |