Branch Coverage

Types.xs
Criterion Covered Total %
branch 90 146 61.6


line true false branch
110 0 1129 PUSHMARK(SP);
111 0 1129 EXTEND(SP, 3);
131 1099 26 FREETMPS;
143 1096 0 if (!(oi = ptable_fetch(lt_op_padxv_map, o))) {
198 1129 0 if (val) {
223 11 0 if (!(oi = ptable_fetch(lt_op_padrange_map, o))) {
240 11 0 if (val) {
295 1104 0 if (lt_padxv_map_fetch(PL_op, &oi)) {
311 11 0 if (lt_padrange_map_fetch(PL_op, &roi)) {
318 25 11 for (i = 0, p = roi.padxv_start; i < count && p; ++i, p = p->op_next) {
25 0 for (i = 0, p = roi.padxv_start; i < count && p; ++i, p = p->op_next) {
320 6 25 while (p->op_type == OP_NULL)
322 25 0 if (p->op_type == OP_PADSV && lt_padxv_map_fetch(p, &oi))
25 0 if (p->op_type == OP_PADSV && lt_padxv_map_fetch(p, &oi))
352 1112 7564 if (stash && (code = lt_hint())) {
1103 9 if (stash && (code = lt_hint())) {
354 1103 0 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
1103 0 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
0 1103 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
0 0 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
1103 0 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
0 1103 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
1103 0 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
1103 0 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
0 1103 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
0 0 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
1103 0 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
0 1103 SV *orig_pkg = newSVpvn(HvNAME_get(stash), HvNAMELEN_get(stash));
367 0 1103 PUSHMARK(SP);
368 0 1103 EXTEND(SP, 2);
376 1 1099 if (items > 2)
378 3 1096 if (items == 0) {
380 0 3 FREETMPS;
385 1086 10 if (items > 1) {
387 1 1085 if (SvOK(rsv)) {
1 0 if (SvOK(rsv)) {
0 1 if (SvOK(rsv)) {
393 1 1095 if (SvOK(rsv)) {
1 0 if (SvOK(rsv)) {
0 1 if (SvOK(rsv)) {
400 1096 0 FREETMPS;
403 1 1095 if (!type_pkg) {
408 11 1085 if (!type_meth) {
441 119 34 for (i = 0, p = start; i < count && p; ++i, p = p->op_next) {
119 0 for (i = 0, p = start; i < count && p; ++i, p = p->op_next) {
442 85 34 if (p->op_type == OP_PADSV) {
447 11 74 if (ptable_fetch(lt_op_padxv_map, p)) {
464 96741 5687 for (; o; o = o->op_next) {
465 1 96740 if (xsh_peep_seen(o, seen))
470 9998 205 if (o->op_ppaddr != lt_pp_padsv && o->op_private & OPpLVAL_INTRO) {
2215 7783 if (o->op_ppaddr != lt_pp_padsv && o->op_private & OPpLVAL_INTRO) {
474 1080 1135 if (oi) {
485 139 14 if (o->op_ppaddr != lt_pp_padrange && o->op_private & OPpLVAL_INTRO
119 20 if (o->op_ppaddr != lt_pp_padrange && o->op_private & OPpLVAL_INTRO
486 28 91 && !(o->op_flags & OPf_SPECIAL)) {
491 28 0 OP *kid = OpSIBLING(o);
492 0 28 if (kid->op_type == OP_NULL && kid->op_flags & OPf_KIDS) {
0 0 if (kid->op_type == OP_NULL && kid->op_flags & OPf_KIDS) {
494 0 0 if (kid->op_type == OP_NULL)
495 0 0 kid = OpSIBLING(kid);
502 560 0 if (cBINOPo->op_first && cBINOPo->op_first->op_flags & OPf_KIDS
560 0 if (cBINOPo->op_first && cBINOPo->op_first->op_flags & OPf_KIDS
503 560 0 && (op = cUNOPx(cBINOPo->op_first)->op_first)
504 91 469 && op->op_type == OP_PADRANGE
505 91 0 && op->op_ppaddr != lt_pp_padrange
506 91 0 && op->op_private & OPpLVAL_INTRO
507 91 0 && op->op_flags & OPf_SPECIAL) {
509 91 0 if (start->op_type == OP_PUSHMARK)
510 91 0 start = OpSIBLING(start);
606 0 1039 if (!SvOK(code))
0 0 if (!SvOK(code))
0 0 if (!SvOK(code))
608 1039 0 else if (SvROK(code))