line |
true |
false |
branch |
25
|
0 |
0 |
unless $count |
53
|
0 |
0 |
unless $$adp{$$sum{'encl_id'}} == $$pd{'Enclosure Device ID'} and $$sum{'encl_pos'} == $$pd{'Enclosure position'} and $$sum{'slot'} == $$pd{'Slot Number'} |
64
|
0 |
0 |
if ($$sum{'Vendor Id'} ne 'ATA') |
75
|
0 |
0 |
if ($$pd{'Inquiry Data'} =~ /($$sum{'Product Id'}(?:[^ ]*))/) |
85
|
0 |
0 |
if ($model =~ /^(\S+)\s+(\S+)$/) |
92
|
0 |
0 |
defined $vendor ? : |
107
|
0 |
0 |
$params{'adp'} ? : |
113
|
0 |
0 |
unless $handle |
120
|
0 |
0 |
if ($line =~ /Enclosure (\d+):/) |
124
|
0 |
0 |
if ($line =~ /Device ID\s+:\s+(\d+)/) |
136
|
0 |
0 |
$params{'adp'} ? : |
142
|
0 |
0 |
unless $handle |
146
|
0 |
0 |
if $line =~ /^\s+PD\s+$/ |
153
|
0 |
0 |
if $line =~ /^Storage$/ |
156
|
0 |
0 |
if $line =~ /Connector\s*:/ |
158
|
0 |
0 |
if ($line =~ /Connector\s*:\s*(\d+)(?:)?: Slot (\d+)/) { } |
|
0 |
0 |
elsif ($line =~ /^\s*(.+[^ ])\s*:\s*(.+[^ ])/) { } |
173
|
0 |
0 |
unless defined $drive{$i}{'slot'} |
182
|
0 |
0 |
$params{'adp'} ? : |
188
|
0 |
0 |
unless $handle |
194
|
0 |
0 |
unless $line =~ /^([^:]+)\s*:\s*(.+[^ ])/ |
197
|
0 |
0 |
if $key =~ /Enclosure Device ID/ |