line |
true |
false |
branch |
36
|
0 |
3 |
unless $handle |
49
|
293 |
2540 |
if ($line =~ /^(\s*)Node \s 0x[a-f\d]+/x) |
50
|
293 |
0 |
defined $1 ? : |
55
|
46 |
247 |
if ($level > $parent_level) { } |
|
30 |
217 |
elsif ($level < $parent_level) { } |
73
|
293 |
2247 |
if ($line =~ /^\s* name: \s+ '(\S.*)'$/x) |
81
|
1877 |
370 |
if ($line =~ /^\s* (\S[^:]+): \s+ (\S.*)$/x) |
86
|
47 |
1830 |
if ($raw_value =~ /^'[^']+'(?: \+ '[^']+')+$/) { } |
|
552 |
1278 |
elsif ($raw_value =~ /^'([^']+)'$/) { } |
138
|
3 |
18 |
if ($section eq 'Physical Memory Configuration') |
143
|
0 |
12 |
unless $line =~ qr/
(\d+ \s [MG]B) \s+
\S+
$/x |
155
|
9 |
9 |
if ($section eq 'Memory Configuration') |
160
|
5 |
4 |
if $next_line =~ /^\s*$/ |
162
|
4 |
5 |
if ($next_line =~ /^Segment Table/) { } |
|
2 |
3 |
elsif ($next_line =~ /Memory\s+Available\s+Memory\s+DIMM\s+# of/) { } |
165
|
4 |
22 |
if $next_line =~ /^Bank Table/ |
173
|
0 |
18 |
unless $line =~ qr/
\d+ \s+
\S+ \s+
\S+ \s+
(\d+ [MG]B)
/x |
190
|
0 |
4 |
unless $line =~ qr/
\d+ [MG]B \s+
\S+ \s+
(\d+ [MG]B) \s+
(\d+) \s+
/x |
207
|
0 |
96 |
unless $line =~ qr/
(\d+ [MG]B) \s+
\S+ \s+
(\d+ [MG]B) \s+
\S+ \s+
/x |
216
|
96 |
0 |
$dimmsize && $dimmsize != $logicalsize ? : |
228
|
9 |
0 |
if ($section eq 'Memory Device Sockets') |
233
|
186 |
78 |
unless $line =~ qr/^
(\w+) \s+
in \s use \s+
\d \s+
\w+ (?:\s \w+)*
/x |
259
|
7 |
14 |
if ($section eq 'IO Devices') |
263
|
35 |
27 |
unless $line =~ /^
(\S+) \s+
([A-Z]+) \s+
(\S+)
/x |
277
|
5 |
9 |
if ($section eq 'IO Cards') |
281
|
10 |
15 |
unless $line =~ /^
\S+ \s+
([A-Z]+) \s+
\S+ \s+
\S+ \s+
(\d) \s+
\S+ \s+
\S+ \s+
\S+ \s+
\S+ \s+
(\S+)
/x |
302
|
9 |
0 |
if ($section eq 'Upgradeable Slots') |
317
|
15 |
9 |
$status eq 'available' ? : |
|
9 |
24 |
$status eq 'in use' ? : |
349
|
33 |
514 |
if $line =~ /^$/ |
352
|
283 |
231 |
if @item |