line |
true |
false |
branch |
133
|
0 |
1 |
ref $_[0] ? : |
150
|
0 |
1 |
if (defined $opts->{'initfile'}) |
158
|
0 |
1 |
if ($opts->{'blocksize'}) |
168
|
0 |
2 |
if ($self->{'initfile'} and -r $self->{'initfile'}) { } |
182
|
0 |
1 |
unless (exists $self->{'init'}) |
189
|
0 |
1 |
if ($self->{'initfile'}) |
257
|
3 |
0 |
$file->{'path'} ? : |
259
|
3 |
0 |
$file->{'path'} ? : |
261
|
3 |
0 |
if (open $fh, '<', $file_diskstats) { } |
|
0 |
0 |
elsif (open $fh, '<', $file_partitions) { } |
266
|
93 |
0 |
if ($line =~ /^\s+(\d+)\s+(\d+)\s+(.+?)\s+(\d+)\s+\d+\s+(\d+)\s+\d+\s+(\d+)\s+\d+\s+(\d+)\s+\d+\s+\d+\s+\d+\s+\d+$/) { } |
|
0 |
0 |
elsif ($line =~ /^\s+(\d+)\s+(\d+)\s+(.+?)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/) { } |
319
|
0 |
0 |
unless $line =~ /^\s+(\d+)\s+(\d+)\s+\d+\s+(.+?)\s+(\d+)\s+\d+\s+(\d+)\s+\d+\s+(\d+)\s+\d+\s+(\d+)\s+\d+\s+\d+\s+\d+\s+\d+$/ |
338
|
0 |
3 |
unless (-e $file_diskstats and scalar %stats) |
356
|
0 |
31 |
unless (exists $istat->{$dev}) |
365
|
62 |
186 |
if $k =~ /^major\z|^minor\z/ |
367
|
0 |
186 |
unless (defined $idev->{$k}) |
371
|
0 |
186 |
unless ($v =~ /^\d+\z/ and $ldev->{$k} =~ /^\d+\z/) |
375
|
178 |
8 |
if ($ldev->{$k} == $idev->{$k} or $idev->{$k} > $ldev->{$k}) { } |
|
8 |
0 |
elsif ($delta > 0) { } |