Branch Coverage

FDPass.xs
Criterion Covered Total %
branch 10 20 50.0


line true false branch
112 0 1 if (!buf)
130 1 0 cmsg = CMSG_FIRSTHDR (&msg);
176 0 1 if (!buf)
193 0 1 if (recvmsg (socket, &msg, 0) <= 0)
202 1 0 struct cmsghdr *cmsg = CMSG_FIRSTHDR (&msg);
204 1 0 if (data == 0
205 1 0 && cmsg
206 1 0 && cmsg->cmsg_level == SOL_SOCKET
207 1 0 && cmsg->cmsg_type == SCM_RIGHTS
208 1 0 && cmsg->cmsg_len >= CMSG_LEN (sizeof (int)))