Branch Coverage

blib/lib/Metabrik/System/Mount.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
41 0 0 unless $self->brik_help_run_undef_arg('is_device_mounted', $device)
45 0 0 unless my $lines = $self->read('/etc/mtab')
53 0 0 unless $self->brik_help_run_undef_arg('is_directory_mounted', $directory)
59 0 0 unless my $lines = $self->read('/etc/mtab')
67 0 0 unless $self->brik_help_run_undef_arg('get_device_mounted_directory', $device)
71 0 0 unless my $lines = $self->read('/etc/mtab')
75 0 0 if (/^\s*$device\s+(\S+)\s+/)
90 0 0 unless $self->brik_help_run_undef_arg('umount_directory', $directory)
95 0 0 unless (defined $is_mounted)
99 0 0 unless ($is_mounted)
111 0 0 unless $self->brik_help_run_undef_arg('umount_device', $device)
114 0 0 unless (defined $is_mounted)
118 0 0 unless ($is_mounted)
122 0 0 unless my $directory = $self->get_device_mounted_directory($device)