Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/AIX/Networks.pm
Criterion Covered Total %
branch 5 22 22.7


line true false branch
12 0 0 if $params{'no_category'}{'network'}
31 0 0 if isSameNetwork($default, $interface->{'IPADDRESS'}, $interface->{'IPMASK'})
61 0 0 unless $addresses{$interface->{'DESCRIPTION'}}
72 0 0 unless $handle
75 0 0 if $line =~ /^netaddr \s+ ($FusionInventory::Agent::Task::Inventory::AIX::Networks::ip_address_pattern)/x
77 0 0 if $line =~ /^netmask \s+ ($FusionInventory::Agent::Task::Inventory::AIX::Networks::ip_address_pattern)/x
79 0 0 if $line =~ /^state \s+ (\w+)/x
91 0 0 unless $interface->{'IPADDRESS'}
101 0 7 unless $handle
106 17 97 if ($line =~ /^\s+ ent(\d+) \s+ \S+ \s+/x)
109 17 97 if ($line =~ /Network Address\.+($FusionInventory::Agent::Task::Inventory::AIX::Networks::alt_mac_address_pattern)/)