blib/lib/Linux/Inotify2.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 20 | 50.0 |
line | true | false | branch |
---|---|---|---|
127 | 0 | 1 | unless $fd >= 0 |
197 | 0 | 1 | unless $wd >= 0 |
270 | 1 | 1 | unless my $w = $$_{'w'} = $$self{'w'}{$$_{'wd'}} |
273 | 0 | 1 | if exists $$self{'ignore'}{$$_{'wd'}} |
280 | 0 | 1 | if $$w{'cb'} |
281 | 1 | 0 | if $$_{'mask'} & 2147525632 |
364 | 0 | 0 | length $_[0]{'name'} ? : |
418 | 0 | 0 | if @_ > 1 |
425 | 1 | 1 | unless my $inotify = delete $$self{'inotify'} |
431 | 1 | 0 | &Linux::Inotify2::inotify_rm_watch($$inotify{'fd'}, $$self{'wd'}) ? : |