Branch Coverage

blib/lib/Sys/Filesystem/Linux.pm
Criterion Covered Total %
branch 7 18 38.8


line true false branch
66 0 9 if ref(my $class = shift())
72 9 0 -r '/proc/mounts' ? :
74 2 7 if $args{'canondev'}
79 9 0 if (my $fstab = 'IO::File'->new($args{'fstab'}, 'r')) { }
83 9 0 if /^\s*#/ or /^\s*$/
86 0 0 if $vals[0] =~ /^\s*LABEL=(.+)\s*$/
87 0 0 if $args{'canondev'} and -l $vals[0]
92 0 0 if defined $special_fs{$vals[2]}
103 0 9 unless ($self->readMntTab($args{'mtab'}, \@keys, [0, 1, 2], \%special_fs))