Branch Coverage

lib/Object/Pad/ClassAttr/Struct.xs
Criterion Covered Total %
branch 22 36 61.1


line true false branch
22 1 2 if(value && SvPOK(value)) {
1 0 if(value && SvPOK(value)) {
25 1 1 while(s < e) {
27 1 0 if(!comma_at)
31 1 0 if(len == 8 && strnEQ(s, "readonly", len))
1 0 if(len == 8 && strnEQ(s, "readonly", len))
0 1 if(len == 8 && strnEQ(s, "readonly", len))
0 0 if(len == 8 && strnEQ(s, "readonly", len))
1 0 if(len == 8 && strnEQ(s, "readonly", len))
37 0 1 while(*s == ',')
42 1 2 if(flags)
51 9 0 if(mop_field_get_sigil(fieldmeta) != '$')
54 3 6 U32 flags = attrdata ? SvUV(attrdata) : 0;
0 3 U32 flags = attrdata ? SvUV(attrdata) : 0;
58 3 6 if(flags & FLAG_READONLY)
71 0 3 EXTEND(SP, 1);
72 0 3 PUSHMARK(SP);
78 3 0 FREETMPS;