line |
true |
false |
branch |
115
|
0 |
1 |
ref $_[0] ? : |
131
|
0 |
1 |
if (defined $$opts{'initfile'}) |
140
|
0 |
1 |
if ($$opts{'blocksize'}) |
150
|
0 |
2 |
if ($$self{'initfile'} and -r $$self{'initfile'}) { } |
163
|
0 |
1 |
unless (exists $$self{'init'}) |
170
|
0 |
1 |
if ($$self{'initfile'}) |
237
|
3 |
0 |
$$file{'path'} ? : |
238
|
3 |
0 |
$$file{'path'} ? : |
240
|
3 |
0 |
if (open $fh, '<', $file_diskstats) { } |
|
0 |
0 |
elsif (open $fh, '<', $file_partitions) { } |
244
|
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+)$/) { } |
289
|
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+$/ |
306
|
0 |
3 |
unless (-e $file_diskstats and scalar %stats) |
323
|
0 |
31 |
unless (exists $$istat{$dev}) |
332
|
62 |
186 |
if $k =~ /^major\z|^minor\z/ |
334
|
0 |
186 |
unless (defined $$idev{$k}) |
338
|
0 |
186 |
unless ($v =~ /^\d+\z/ and $$ldev{$k} =~ /^\d+\z/) |
342
|
170 |
16 |
if ($$ldev{$k} == $$idev{$k} or $$idev{$k} > $$ldev{$k}) { } |
|
16 |
0 |
elsif ($delta > 0) { } |