Branch Coverage

blib/lib/FusionInventory/Agent/Task/Deploy/P2P.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
25 0 0 unless $ipLimit
31 0 0 if $ip_bytes[0] == 127
32 0 0 if $ip_bytes[0] == 169
49 0 0 if $ipStart eq $ipEnd
51 0 0 if ($ipInterval->size > 5000)
60 0 0 if ($after or $$address{'ip'} eq $ipInterval->ip) { }
0 0 elsif (@newIPs > $ipLimit / 2) { }
68 0 0 if $logger
80 0 0 unless @$deck
94 0 0 if $cache{'date'} + 600 > time
99 0 0 if ($FusionInventory::Agent::Task::Deploy::P2P::OSNAME eq 'linux') { }
0 0 elsif ($FusionInventory::Agent::Task::Deploy::P2P::OSNAME eq 'MSWin32') { }
113 0 0 unless $$interface{'IPADDRESS'}
114 0 0 unless $$interface{'IPMASK'}
115 0 0 unless lc $$interface{'STATUS'} eq 'up'
116 0 0 if $$interface{'IPADDRESS'} =~ /^127\./
126 0 0 unless (@addresses)
160 0 0 unless $ipToTest
171 0 0 if (@ipToTestList and @ipFound < 30) { }
184 0 0 unless ($addr)