Branch Coverage

schmorp.h
Criterion Covered Total %
branch 5 90 5.5


line true false branch
126 0 0 SvGETMAGIC (sig);
0 0 SvGETMAGIC (sig);
128 0 0 for (signum = 1; signum < SIG_SIZE; ++signum)
129 0 0 if (strEQ (SvPV_nolen (sig), PL_sig_name [signum]))
0 0 if (strEQ (SvPV_nolen (sig), PL_sig_name [signum]))
132 0 0 signum = SvIV (sig);
134 0 0 if (signum > 0 && signum < SIG_SIZE)
0 0 if (signum > 0 && signum < SIG_SIZE)
145 0 0 if (signum < 0)
148 0 0 croak ("%s: invalid signal name or number", SvPV_nolen (sig));
158 0 0 SvGETMAGIC (fh);
0 0 SvGETMAGIC (fh);
160 0 0 if (SvROK (fh))
163 0 0 SvGETMAGIC (fh);
0 0 SvGETMAGIC (fh);
166 0 0 if (SvTYPE (fh) == SVt_PVGV)
167 0 0 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))
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))
0 0 if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL))
170 0 0 return SvIV (fh);
180 0 0 if (fd < 0)
183 0 0 croak ("%s: illegal fh argument, either not an OS file or read/write mode mismatch", SvPV_nolen (fh));
204 0 0 if (!cv)
207 0 0 croak ("%s: callback must be a CODE reference or another callable object", SvPV_nolen (cb_sv));
352 0 2 return fcntl (fd, F_SETFL, blocking ? 0 : O_NONBLOCK);
359 2 0 || fcntl (fd, F_SETFD, FD_CLOEXEC);
0 2 || fcntl (fd, F_SETFD, FD_CLOEXEC);
395 2 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 2 if (write (epp->fd [1], &counter, epp->len) < 0
450 0 0 && errno == EINVAL
451 0 0 && epp->len != 8)
476 0 0 if (epp->fd [1] != epp->fd [0])
479 0 0 if (s_epipe_new (&epn))
482 0 0 if (epp->len)
484 0 0 if (dup2 (epn.fd [0], epp->fd [0]) < 0)
489 0 0 if (epn.fd [0] == epn.fd [1])