Branch Coverage

blib/lib/Hal/Cdroms.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
114 0 0 if _GetProperty($device, 'DeviceIsMounted')
120 0 0 if (eval { do { &$f(); 1 } }) { }
138 0 0 unless $o->get_mount_point($hal_path) or $o->mount($hal_path)
159 0 0 unless _try($o, sub { $mountpoint = $real_device->FilesystemMount($fstype, []); } )
174 0 0 unless ($mntpoint)
179 0 0 if (my $wanted = $dev && _rdev($dev))
181 0 0 if system('mount', $fstab_dev) == 0
193 0 0 unless open my $F, '<', '/etc/fstab'
221 0 0 if unmount_hal($o, $hal_path)
251 0 0 if $o->list
256 0 0 unless member($msg->get_member, 'DeviceChanged', 'DeviceAdded') and $path = ($msg->get_args_list)[0]
275 0 0 unless $msg->get_member eq 'PropertyModified'
278 0 0 unless grep {$$_[0] eq 'volume.is_mounted';} @$modified_properties
283 0 0 if eval { do { _GetProperty(_get_device($o, $hal_path), 'DeviceIsMounted') } }
298 0 0 if ($val = &$check_found($msg))
302 0 0 if ($timeout)
321 0 0 if $e eq $_