Branch Coverage

blib/lib/Linux/Info/DiskUsage.pm
Criterion Covered Total %
branch 10 18 55.5


line true false branch
95 0 2 if (defined $opts_ref)
96 0 0 unless ref $opts_ref eq 'ARRAY'
133 14 14 if ($self->{'has_inode'})
135 14 0 if (exists $ref->{'files'}) { }
168 0 70 unless defined $fs_type
177 0 2 unless -d $mnt and (stat _)[12] == 0
180 0 2 unless open my $fh, '<', $file
186 0 70 if (@entry != 6)
194 28 42 if $self->_is_valid($entry[2])