Branch Coverage

filehandles.xs
Criterion Covered Total %
branch 44 70 62.8


line true false branch
22 259 0 if (gv
23 216 43 && gv != PL_stdingv
24 173 43 && gv != PL_stderrgv
25 173 0 && gv != PL_defgv
26 130 43 && gv != PL_argvgv
27 130 0 && gv != PL_argvoutgv
28 87 43 && gv != gv_fetchpv("STDOUT", TRUE, SVt_PVIO)
29 44 43 && gv != gv_fetchpv("DATA", TRUE, SVt_PVIO)
31 0 44 croak("Use of bareword filehandle in %s", OP_DESC(op));
37 240 0 if (argop && argop->op_type == OP_GV)
225 15 if (argop && argop->op_type == OP_GV)
39 15 0 else if (argop && argop->op_type == OP_CONST &&
12 3 else if (argop && argop->op_type == OP_CONST &&
12 0 else if (argop && argop->op_type == OP_CONST &&
51 91 1 if (!hint || !SvOK(*hint))
0 91 if (!hint || !SvOK(*hint))
0 0 if (!hint || !SvOK(*hint))
0 0 if (!hint || !SvOK(*hint))
54 78 13 if (op->op_flags & OPf_KIDS)
65 26 0 if (!hint || !SvOK(*hint))
0 26 if (!hint || !SvOK(*hint))
0 0 if (!hint || !SvOK(*hint))
0 0 if (!hint || !SvOK(*hint))
68 22 4 if (op->op_flags & OPf_REF)
77 24 161 int num_args = user_data ? *(int*)user_data : 1;
79 185 0 if (!hint || !SvOK(*hint))
0 185 if (!hint || !SvOK(*hint))
0 0 if (!hint || !SvOK(*hint))
0 0 if (!hint || !SvOK(*hint))
83 185 0 if (child && (child->op_type == OP_PUSHMARK || child->op_type == OP_NULL)) {
143 42 if (child && (child->op_type == OP_PUSHMARK || child->op_type == OP_NULL)) {
143 0 if (child && (child->op_type == OP_PUSHMARK || child->op_type == OP_NULL)) {
84 203 115 while(num_args-- && (child = OpSIBLING(child)))
162 41 while(num_args-- && (child = OpSIBLING(child)))
162 41 while(num_args-- && (child = OpSIBLING(child)))