line |
true |
false |
branch |
122
|
0 |
2 |
ref $_[0] ? : |
131
|
0 |
2 |
if (defined $$opts{'initfile'}) |
152
|
0 |
2 |
if ($$self{'initfile'} and -r $$self{'initfile'}) { } |
163
|
0 |
2 |
unless (exists $$self{'init'}) |
170
|
0 |
2 |
if ($$self{'initfile'}) |
187
|
4 |
0 |
$$file{'path'} ? : |
188
|
0 |
4 |
unless open my $fh, '<', $filename |
191
|
68 |
28 |
if ($line =~ /^(cpu.*?)\s+(.*)$/) |
198
|
68 |
0 |
if defined $iowait |
199
|
68 |
0 |
if defined $irq |
200
|
68 |
0 |
if defined $softirq |
201
|
68 |
0 |
if defined $steal |
221
|
0 |
272 |
unless (defined $$icpu{$k}) |
225
|
0 |
272 |
unless ($v =~ /^\d+\z/ and $$dcpu{$k} =~ /^\d+\z/) |
235
|
132 |
140 |
if ($$dcpu{$k} > 0) { } |
|
0 |
140 |
elsif ($$dcpu{$k} < 0) { } |