line |
true |
false |
branch |
140
|
0 |
2 |
ref $_[0] ? : |
149
|
0 |
2 |
if (defined $opts->{'initfile'}) |
169
|
0 |
2 |
if ($self->{'initfile'} and -r $self->{'initfile'}) { } |
181
|
0 |
2 |
unless (exists $self->{'init'}) |
188
|
0 |
2 |
if ($self->{'initfile'}) |
206
|
4 |
0 |
$file->{'path'} ? : |
207
|
0 |
4 |
unless open my $fh, '<', $filename |
211
|
68 |
28 |
if ($line =~ /^(cpu.*?)\s+(.*)$/) |
221
|
68 |
0 |
if defined $iowait |
222
|
68 |
0 |
if defined $irq |
223
|
68 |
0 |
if defined $softirq |
224
|
68 |
0 |
if defined $steal |
244
|
0 |
272 |
unless (defined $icpu->{$k}) |
248
|
0 |
272 |
unless ($v =~ /^\d+\z/ and $dcpu->{$k} =~ /^\d+\z/) |
258
|
46 |
226 |
if ($dcpu->{$k} > 0) { } |
|
0 |
226 |
elsif ($dcpu->{$k} < 0) { } |