Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Generic/Ipmi.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
27 0 0 unless canRun('ipmitool')
41 0 0 unless $handle
51 0 0 if ($line =~ /^IP Address\s+:\s+($FusionInventory::Agent::Task::Inventory::Generic::Ipmi::ip_address_pattern)/)
52 0 0 unless $1 eq '0.0.0.0'
54 0 0 if ($line =~ /^Default Gateway IP\s+:\s+($FusionInventory::Agent::Task::Inventory::Generic::Ipmi::ip_address_pattern)/)
55 0 0 unless $1 eq '0.0.0.0'
57 0 0 if ($line =~ /^Subnet Mask\s+:\s+($FusionInventory::Agent::Task::Inventory::Generic::Ipmi::ip_address_pattern)/)
58 0 0 unless $1 eq '0.0.0.0'
60 0 0 if ($line =~ /^MAC Address\s+:\s+($FusionInventory::Agent::Task::Inventory::Generic::Ipmi::mac_address_pattern)/)
70 0 0 if $interface->{'IPADDRESS'}