Branch Coverage

schmorp.h
Criterion Covered Total %
branch 18 58 31.0


line true false branch
128 0 0 for (signum = 1; signum < SIG_SIZE; ++signum)
129 0 0 if (strEQ (SvPV_nolen (sig), PL_sig_name [signum]))
134 0 0 if (signum > 0 && signum < SIG_SIZE)
0 0 if (signum > 0 && signum < SIG_SIZE)
145 0 0 if (signum < 0)
160 0 3 if (SvROK (fh))
166 3 0 if (SvTYPE (fh) == SVt_PVGV)
167 1 2 return PerlIO_fileno (wr ? IoOFP (sv_2io (fh)) : IoIFP (sv_2io (fh)));
169 0 0 if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL))
0 0 if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL))
0 0 if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL))
180 1 2 if (fd < 0)
204 0 46 if (!cv)
352 0 10 return fcntl (fd, F_SETFL, blocking ? 0 : O_NONBLOCK);
359 10 0 || fcntl (fd, F_SETFD, FD_CLOEXEC);
0 10 || fcntl (fd, F_SETFD, FD_CLOEXEC);
395 10 0 if (ep.fd [0] >= 0)
402 0 0 if (s_pipe (ep.fd))
405 0 0 if (s_fd_prepare (ep.fd [0])
406 0 0 || s_fd_prepare (ep.fd [1]))
429 0 0 if (epp->fd [1] != epp->fd [0])
449 0 44 if (write (epp->fd [1], &counter, epp->len) < 0
450 0 0 && errno == EINVAL
451 0 0 && epp->len != 8)
476 0 10 if (epp->fd [1] != epp->fd [0])
479 0 10 if (s_epipe_new (&epn))
482 1 9 if (epp->len)
484 0 1 if (dup2 (epn.fd [0], epp->fd [0]) < 0)
489 1 0 if (epn.fd [0] == epn.fd [1])