Branch Coverage

blib/lib/AnyEvent/Inotify/Simple.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
59 0 5 unless my $inotify = "Linux::Inotify2"->new
134 0 12 unless defined $entry
135 1 11 if $self->is_filtered($entry)
137 11 0 if (-d $entry) { }
172 16 17 $event->IN_ISDIR ? :
175 0 33 if ($event->IN_DELETE_SELF or $event->IN_MOVE_SELF)
181 8 25 if ($self->is_filtered($event_file))
192 21 179 if ($event->$type)
198 2 23 if ($event->IN_MOVED_FROM)
203 2 23 if ($event->IN_MOVED_TO)
208 0 25 if (not $handled)
220 0 14 if $file->is_absolute
234 0 2 unless $from
238 1 1 if $abs and -d $abs
253 0 0 unless $self->inotify
255 0 0 unless $w