Branch Coverage

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


line true false branch
10 0 0 if $params{'no_category'}{'storage'}
25 0 0 if (-l "/dev/rdsk/$$storage{'NAME'}s2")
29 0 0 $rdisk_path =~ /->.*scsi@/ ? :
0 0 $rdisk_path =~ /->.*fp@/ ? :
0 0 $rdisk_path =~ /->.*scsi_vhci/ ? :
44 0 0 unless $handle
50 0 0 if ($line =~ /^(\S+)\s+Soft/)
53 0 0 if ($line =~ /^ Vendor: \s (\S+) \s+ Product: \s (\S.*?\S) \s+ Revision: \s (\S+) \s+ Serial \s No: \s (\S*) /x)
62 0 0 if $4
64 0 0 if ($line =~ /<(\d+) bytes/)
67 0 0 if ($line =~ /^Illegal/)
70 0 0 if ($$storage{'SERIALNUMBER'})
71 0 0 $$storage{'DESCRIPTION'} ? :
78 0 0 if ($$storage{'FIRMWARE'})
79 0 0 $$storage{'DESCRIPTION'} ? :
84 0 0 if ($$storage{'MANUFACTURER'})
86 0 0 if ($$storage{'MANUFACTURER'} eq 'ATA' and $$storage{'MODEL'} =~ /^(Hitachi|Seagate|INTEL) (.+)/i)