Condition Coverage

blib/lib/FusionInventory/Agent.pm
Criterion Covered Total %
condition 12 54 22.2


and 3 conditions

line !l l&&!r l&&r condition
68 1 0 0 $config->{'debug'} && $config->{'debug'} == 1
1 0 0 $config->{'debug'} && $config->{'debug'} == 2
131 1 0 0 $config->{'daemon'} || $config->{'service'} and not $config->{'no-httpd'}
142 1 0 0 $self->{'config'}->isParamArrayAndFilled('no-task') and $self->{'config'}->isParamArrayAndFilled('tasks')
157 1 0 0 $config->{'debug'} && $config->{'debug'} == 1
1 0 0 $config->{'debug'} && $config->{'debug'} == 2
270 0 0 0 $self->getTargets and @targets
272 0 0 0 $self->{'config'}{'lazy'} and $time < $target->getNextRunDate
591 0 3 0 defined $self->{'config'} and UNIVERSAL::isa($self->{'config'}, 'FusionInventory::Agent::Config')
626 5 0 1 defined $task and $task eq $CONTINUE_WORD
747 0 0 0 $self->{'config'}{'conf-reload-interval'} > 0 && $time - $self->{'lastConfigLoad'} > $self->{'config'}{'conf-reload-interval'}

or 3 conditions

line l !l&&r !l&&!r condition
131 0 0 1 $config->{'daemon'} || $config->{'service'}
139 0 0 1 $self->{'config'}{'daemon'} or $self->{'config'}{'service'}
231 0 0 0 $self->{'config'}{'daemon'} or $self->{'config'}{'service'}
301 0 0 0 $self->{'config'}{'daemon'} or $self->{'config'}{'service'}
362 0 0 0 $self->{'config'}{'daemon'} or $self->{'config'}{'service'}
454 0 0 29 $self->{'config'}{'daemon'} or $self->{'config'}{'service'}
680 0 0 0 $config->{'pidfile'} || $self->{'vardir'} . '/fusioninventory.pid'