Branch Coverage

blib/lib/Udev/FFI/Monitor.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
39 0 0 if (0 != udev_monitor_set_receive_buffer_size($self->{'_monitor'}, $bytes))
54 0 0 if 1 == $self->{'_is_started'}
56 0 0 if (0 != udev_monitor_filter_add_match_subsystem_devtype($self->{'_monitor'}, $subsystem, $devtype))
70 0 0 if 1 == $self->{'_is_started'}
72 0 0 if (0 != udev_monitor_filter_add_match_tag($self->{'_monitor'}, $tag))
84 0 0 if (0 != udev_monitor_filter_update($self->{'_monitor'}))
96 0 0 if (0 != udev_monitor_filter_remove($self->{'_monitor'}))
109 0 0 if $self->{'_is_started'}
111 0 0 if (0 != udev_monitor_enable_receiving($self->{'_monitor'}))
118 0 0 unless (open $fdh, '<&=', $fd)
135 0 0 unless ($self->{'_is_started'})
139 0 0 if ($self->{'_select'}->can_read($timeout))