Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Generic/Storages/3ware.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
54 0 0 if ($FusionInventory::Agent::Task::Inventory::Generic::Storages::3ware::OSNAME eq 'Linux')
56 0 0 unless @devices
63 0 0 if ($$device{'SERIALNUMBER'} eq 'AMCC_' . $sn or $$device{'MODEL'} eq 'Logical_Disk_' . $$unit{'index'})
86 0 0 unless $handle
90 0 0 unless $line =~ /^(c\d+)\s+([\w-]+)/
105 0 0 unless $handle
109 0 0 unless $line =~ /^(u(\d+))/
124 0 0 unless $handle
128 0 0 unless $line =~ /(p\d+)/
144 0 0 unless $handle
148 0 0 if ($line =~ /Model\s=\s(.*)/) { }
0 0 elsif ($line =~ /Serial\s=\s(.*)/) { }
0 0 elsif ($line =~ /Capacity\s=\s(\S+)\sGB.*/) { }
0 0 elsif ($line =~ /Firmware Version\s=\s(.*)/) { }
170 0 0 $$card{'model'} =~ /^[789]/ ? :
0 0 $$card{'model'} =~ /^[56]/ ? :