Condition Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Linux/Storages.pm
Criterion Covered Total %
condition 0 33 0.0


and 3 conditions

line !l l&&!r l&&r condition
58 0 0 0 $$device{'SERIALNUMBER'} and $$device{'FIRMWARE'}
64 0 0 0 $$info{'serial'} and not $$device{'SERIALNUMBER'}
67 0 0 0 $$info{'firmware'} and not $$device{'FIRMWARE'}
142 0 0 0 $description and $description =~ /usb/i
145 0 0 0 $manufacturer and $manufacturer =~ /ATA/
0 0 0 $serialnumber and $serialnumber =~ /ATA/
0 0 0 $description and $description =~ /ATA/

or 3 conditions

line l !l&&r !l&&!r condition
86 0 0 0 not $$device{'MANUFACTURER'} or $$device{'MANUFACTURER'} eq 'ATA'
92 0 0 0 $$device{'DISKSIZE'} or $$device{'TYPE'} =~ /^cd/
145 0 0 0 $manufacturer and $manufacturer =~ /ATA/ or $serialnumber and $serialnumber =~ /ATA/
0 0 0 $manufacturer and $manufacturer =~ /ATA/ or $serialnumber and $serialnumber =~ /ATA/ or $description and $description =~ /ATA/