line |
true |
false |
branch |
87
|
0 |
0 |
unless $$infos{'4'} |
91
|
0 |
0 |
if $$info{'Status'} and $$info{'Status'} =~ /Unpopulated|Disabled/i |
100
|
0 |
0 |
if $manufacturer and $manufacturer eq '000000000000' and ($version and $version eq '00000000000000000000000000000000') |
117
|
0 |
0 |
if ($$cpu{'ID'}) |
128
|
0 |
0 |
if ($$info{'Version'}) |
129
|
0 |
0 |
if ($$info{'Version'} =~ /([\d\.]+)MHz$/) { } |
|
0 |
0 |
elsif ($$info{'Version'} =~ /([\d\.]+)GHz$/) { } |
135
|
0 |
0 |
if (not $$cpu{'SPEED'} and $$info{'Max Speed'}) |
138
|
0 |
0 |
if ($$info{'Max Speed'} =~ /^\s*(\d{3,4})\s*Mhz/i) { } |
|
0 |
0 |
elsif ($$info{'Max Speed'} =~ /^\s*(\d+)\s*Ghz/i) { } |
144
|
0 |
0 |
if (not $$cpu{'SPEED'} and $$info{'Current Speed'}) |
145
|
0 |
0 |
if ($$info{'Current Speed'} =~ /^\s*(\d{3,4})\s*Mhz/i) { } |
|
0 |
0 |
elsif ($$info{'Current Speed'} =~ /^\s*(\d+)\s*Ghz/i) { } |
152
|
0 |
0 |
if ($$info{'External Clock'}) |
153
|
0 |
0 |
if ($$info{'External Clock'} =~ /^\s*(\d+)\s*Mhz/i) { } |
|
0 |
0 |
elsif ($$info{'External Clock'} =~ /^\s*(\d+)\s*Ghz/i) { } |
169
|
0 |
0 |
$params{'device'} ? : |
173
|
0 |
0 |
unless $handle |
177
|
0 |
0 |
if $line =~ /Model Number:\s+(\S.+\S)/ |
178
|
0 |
0 |
if $line =~ /Firmware Revision:\s+(\S+)/ |
179
|
0 |
0 |
if $line =~ /Serial Number:\s+(\S*)/ |
180
|
0 |
0 |
if $line =~ /1000:\s+(\d*)\sMBytes/ |
181
|
0 |
0 |
if $line =~ /Transport:.+(SCSI|SATA|USB)/ |
182
|
0 |
0 |
if $line =~ /WWN Device Identifier:\s+(\S+)/ |
241
|
0 |
0 |
unless $PCIVendors |
243
|
0 |
0 |
unless $params{'id'} |
250
|
0 |
0 |
unless $PCIClasses |
252
|
0 |
0 |
unless $params{'id'} |
259
|
0 |
0 |
unless $USBVendors |
261
|
0 |
0 |
unless $params{'id'} |
268
|
0 |
0 |
unless $USBClasses |
270
|
0 |
0 |
unless $params{'id'} |
277
|
0 |
0 |
unless $EDIDVendors |
279
|
0 |
0 |
unless $params{'id'} |
301
|
0 |
0 |
unless $handle |
307
|
0 |
0 |
if ($line =~ /^\t (\S{4}) \s+ (.*)/x) { } |
|
0 |
0 |
elsif ($line =~ /^\t\t (\S{4}) \s+ (\S{4}) \s+ (.*)/x) { } |
|
0 |
0 |
elsif ($line =~ /^(\S{4}) \s+ (.*)/x) { } |
|
0 |
0 |
elsif ($line =~ /^C \s+ (\S{2}) \s+ (.*)/x) { } |
|
0 |
0 |
elsif ($line =~ /^\t (\S{2}) \s+ (.*)/x) { } |
339
|
0 |
0 |
unless $handle |
342
|
0 |
0 |
unless $line =~ /^([A-Z]{3}) __ (.*)$/ |