Branch Coverage

blib/lib/IO/Lambda/Inotify.pm
Criterion Covered Total %
branch 27 50 54.0


line true false branch
26 4 0 unless ($fh)
27 0 4 unless open $fh, '<&', $inotify->fileno
36 5 1 if ($$inotify{'io_lambda_condvar'})
56 2 6 unless $_[0] and ref $_[0] and $_[0]->isa('Linux::Inotify2')
57 5 1 if 4 == @_ and defined $_[3]
69 0 5 if ($DEBUG)
70 0 0 if ($event) { }
71 0 0 if $DEBUG
73 0 0 if $DEBUG
78 0 6 unless ($watch)
80 0 0 if $DEBUG
84 0 6 if $DEBUG
86 3 3 unless ($$inotify{'io_lambda_server'})
88 0 3 if $DEBUG
89 0 3 unless (open $fh, '<&', $inotify->fileno)
100 0 5 if $DEBUG
102 2 3 unless (--$$inotify{'io_lambda_refcnt'})
103 0 2 if $DEBUG
113 1 7 unless ($$watch{'inotify'})
114 0 1 if $DEBUG
124 1 4 unless (@queue)
130 0 4 if $DEBUG
131 4 0 ref $event ? :
141 0 2 unless ($INOTIFY)
143 0 0 if $DEBUG