Branch Coverage

Inotify2.xs
Criterion Covered Total %
branch 12 20 60.0


line true false branch
51 48 2 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ > const_iv; civ--)
67 0 1 fcntl (fd, F_SETFL, blocking ? 0 : O_NONBLOCK);
76 1 1 if (got < 0)
77 0 1 if (errno != EAGAIN && errno != EINTR)
0 0 if (errno != EAGAIN && errno != EINTR)
85 2 1 while (cur < end)
1 1 while (cur < end)
90 0 2 while (ev->len > 0 && !ev->name [ev->len - 1])
0 0 while (ev->len > 0 && !ev->name [ev->len - 1])
99 0 2 XPUSHs (sv_2mortal (newRV_noinc ((SV *)hv)));