Branch Coverage

blib/lib/Udev/FFI.pm
Criterion Covered Total %
branch 5 30 16.6


line true false branch
32 1 0 unless ($full_path)
34 0 1 if (-f $_)
41 1 0 unless ($full_path)
50 0 0 unless ($success)
54 0 0 unless ($stdout_buf->[0] =~ /^(\d+)\s*$/)
69 0 1 if (0 == 'Udev::FFI::FFIFunctions'->load_lib)
75 0 1 unless (defined $self->{'_context'})
93 0 0 if (defined $device)
108 0 0 if (defined $device)
123 0 0 if (defined $device)
137 0 0 if (defined $device)
150 0 0 if (defined $device)
163 0 0 if ($source ne 'udev' and $source ne 'kernel')
169 0 0 unless (defined $monitor)
183 0 0 unless (defined $enumerate)