Branch Coverage

xs/record_string.c
Criterion Covered Total %
branch 46 82 56.1


line true false branch
17 0 4 if(items == 0)
23 4 0 if(SvROK(self))
26 0 4 if(!SvOK(self))
0 0 if(!SvOK(self))
0 0 if(!SvOK(self))
29 4 0 ptr1 = (char*) SvPV_nolen(self);
32 1 3 if(items > 1)
37 3 0 if(GIMME_V == G_VOID)
0 3 if(GIMME_V == G_VOID)
40 1 2 if(*ptr2 != NULL)
58 0 35 if(items == 0)
64 35 0 if(SvROK(self))
67 0 35 if(!SvOK(self))
0 0 if(!SvOK(self))
0 0 if(!SvOK(self))
70 35 0 ptr1 = (char*) SvPV_nolen(self);
73 22 13 if(items > 1)
75 2 20 if(SvREADONLY(self))
82 10 10 if(SvOK(arg))
10 0 if(SvOK(arg))
0 10 if(SvOK(arg))
84 9 1 arg_ptr = SvPV(arg, len);
89 10 0 else if(*ptr2 != NULL)
97 24 9 if(GIMME_V == G_VOID)
20 13 if(GIMME_V == G_VOID)
100 12 1 if(*ptr2 != NULL)
119 0 27 if(items == 0)
125 27 0 if(SvROK(self))
128 0 27 if(!SvOK(self))
0 0 if(!SvOK(self))
0 0 if(!SvOK(self))
131 27 0 ptr1 = (char*) SvPV_nolen(self);
134 13 14 if(items > 1)
136 2 11 if(SvREADONLY(self))
143 0 11 if(SvOK(arg))
0 0 if(SvOK(arg))
0 0 if(SvOK(arg))
145 11 0 arg_ptr = SvPV(ST(1), len);
146 1 10 if(len > member->count)
157 25 0 if(GIMME_V == G_VOID)
11 14 if(GIMME_V == G_VOID)