Branch Coverage

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


line true false branch
109 0 2 if (defined $opts_ref)
110 0 0 unless ref $opts_ref eq 'ARRAY'
153 16 16 if ($self->{'has_inode'})
155 16 0 if (exists $ref->{'files'}) { }
187 0 74 unless defined $fs_type
196 0 2 unless -d $mnt and (stat _)[12] == 0
199 0 2 unless open my $fh, '<', $file
207 0 74 if (@entry != 6)
216 32 42 if $self->_is_valid($entry[2])