Branch Coverage

blib/lib/Linux/Inotify2.pm
Criterion Covered Total %
branch 13 32 40.6


line true false branch
124 0 1 unless $fd >= 0
126 0 1 unless open my $fh, "<&=", $fd
199 0 1 unless $wd >= 0
286 1 1 if exists $self->{'ignore'}{$_->{'wd'}}
291 0 1 unless (my $w = $_->{'w'} = $self->{'w'}{$_->{'wd'}})
293 0 0 if ($_->{'mask'} & 16384)
294 0 0 if ($self->{'on_overflow'}) { }
303 0 1 if $w->{'cb'}
304 1 0 if $_->{'mask'} & 2147525632
309 1 1 wantarray ? :
328 0 0 if @_ >= 2
346 0 0 if $w->{'cb'}
435 0 0 length $_[0]{'name'} ? :
487 0 0 if @_ > 1
495 1 1 unless my $inotify = delete $self->{'inotify'}
501 1 0 &Linux::Inotify2::inotify_rm_watch($inotify->{'fd'}, $self->{'wd'}) ? :