| blib/lib/AnyEvent/Filesys/Watcher/Inotify2.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 18 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 0 | 18 | unless my $inotify = "Linux::Inotify2"->new |
| 80 | 7 | 30 | if $_->isDirectory |
| 93 | 5 | 5 | if $file eq $e->path |
| 101 | 0 | 5 | unless &$filter_cb($new_event) |
| 114 | 6 | 31 | if $e->mask & 6 |
| 115 | 15 | 22 | if $e->mask & 3648 |
| 118 | 16 | 21 | if $e->mask & 384 |
| 120 | 0 | 37 | unless $type |
| 138 | 74 | 10 | unless $event->isDirectory and $event->isCreated |