Branch Coverage

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


line true false branch
93 0 0 unless $drive and _get_property($drive, 'Drive', 'Removable')
94 0 0 unless member(_get_property($device, 'Block', 'IdType'), 'iso9660', 'udf')
106 0 0 if $drive_path eq '/'
118 0 0 if @{$mounts;}
124 0 0 unless eval { do { _get_property($device, 'Filesystem', 'MountPoints') } }
129 0 0 $_ ? :
135 0 0 if (eval { do { &$f(); 1 } }) { }
153 0 0 unless $o->get_mount_point($udisks_path) or $o->mount($udisks_path)
172 0 0 unless _try($o, sub { $mountpoint = $device->Mount(undef); } )
216 0 0 if $o->list
220 0 0 unless $msg->get_member eq 'InterfacesAdded'
222 0 0 unless $udisks_path =~ /block_devices/
223 0 0 unless _is_cdrom($o, $udisks_path)
242 0 0 unless member($msg->get_member, 'InterfacesAdded', 'PropertiesChanged')
243 0 0 $msg->get_member eq 'InterfacesAdded' ? :
244 0 0 unless $udisks_path =~ /block_devices/
245 0 0 unless _is_cdrom($o, $udisks_path)
246 0 0 unless @{_get_mount_points($o, $udisks_path);} > 0
262 0 0 if (my $val = &$check_found($msg))
268 0 0 if ($timeout)
285 0 0 if $e eq $_