Branch Coverage

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


line true false branch
97 0 2 if (defined $opts_ref)
98 0 0 unless ref $opts_ref eq 'ARRAY'
139 16 16 if ($self->{'has_inode'})
141 16 0 if (exists $ref->{'files'}) { }
173 0 74 unless defined $fs_type
182 0 2 unless -d $mnt and (stat _)[12] == 0
185 0 2 unless open my $fh, '<', $file
193 0 74 if (@entry != 6)
202 32 42 if $self->_is_valid($entry[2])