| blib/lib/FusionInventory/Agent/Task/Deploy/P2P.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 22 | 59.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 151 | 0 | 9 | 45 | defined $ipIntervalBefore and $ipIntervalBefore->size > $beforeCount + 1 |
| 160 | 0 | 54 | 171 | defined $ipIntervalBefore and $beforeCount-- > 0 |
| 166 | 9 | 45 | 153 | defined ++$ipIntervalAfter and $afterCount-- > 0 |
| line | l | !l | condition |
|---|---|---|---|
| 25 | 0 | 9 | $params{'max_workers'} || 10 |
| 0 | 9 | $params{'cache_timeout'} || 600 | |
| 0 | 9 | $params{'scan_timeout'} || 5 | |
| 0 | 9 | $params{'max_peers'} || 512 | |
| 0 | 9 | $params{'max_size'} || 5000 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 25 | 9 | 0 | 0 | $params{'logger'} || 'FusionInventory::Agent::Logger'->new |