Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/MacOS/Storages.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
11 0 0 if $params{'no_category'}{'storage'}
50 0 0 unless $bus
55 0 0 unless ref $device eq 'HASH'
56 0 0 if (_isStorage($device)) { }
62 0 0 unless ref $subdevice eq 'HASH'
63 0 0 if _isStorage($subdevice)
87 0 0 $bus_name eq 'FireWire' ? :
97 0 0 if (not $$device{'Protocol'}) { }
0 0 elsif ($$device{'Protocol'} eq 'ATAPI' or $$device{'Drive Type'}) { }
103 0 0 if ($$storage{'DISKSIZE'})
108 0 0 if ($$storage{'DISKSIZE'} =~ s/\s*TB//) { }
0 0 elsif ($$storage{'DISKSIZE'} =~ s/\s+GB$//) { }
115 0 0 if ($$storage{'MODEL'})