Branch Coverage

filehandles.xs
Criterion Covered Total %
branch 44 70 62.8


line true false branch
22 558 0 if (gv
23 459 99 && gv != PL_stdingv
24 362 97 && gv != PL_stderrgv
25 362 0 && gv != PL_defgv
26 265 97 && gv != PL_argvgv
27 265 0 && gv != PL_argvoutgv
28 168 97 && gv != gv_fetchpv("STDOUT", TRUE, SVt_PVIO)
29 71 97 && gv != gv_fetchpv("DATA", TRUE, SVt_PVIO)
31 0 71 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 377 0 if (!hint || !SvOK(*hint))
0 377 if (!hint || !SvOK(*hint))
0 0 if (!hint || !SvOK(*hint))
0 0 if (!hint || !SvOK(*hint))
68 321 56 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)))