Branch Coverage

lib/Object/Pad/Keyword/Accessor.xs
Criterion Covered Total %
branch 29 58 50.0


line true false branch
41 0 1 PUSHMARK(SP);
42 0 1 EXTEND(SP, 1);
55 1 0 FREETMPS;
71 0 1 PUSHMARK(SP);
72 0 1 EXTEND(SP, 2);
79 1 0 FREETMPS;
94 0 2 if(items < 1 || items > 1)
125 2 1 for(int parti = 0; parti < nparts; parti++) {
129 0 1 if(ctx->getcv)
136 0 1 if(ctx->setcv)
148 0 1 if(!ctx->getcv)
150 0 1 if(!ctx->setcv)
167 1 0 if(lex_peek_unichar(0) != c)
1 0 if(lex_peek_unichar(0) != c)
178 1 0 if(!lex_consume_unichar('('))
184 0 1 if(lex_read_unichar(0) != '$')
187 1 0 if(!isIDFIRST_uni(lex_read_unichar(0)))
1 0 if(!isIDFIRST_uni(lex_read_unichar(0)))
0 1 if(!isIDFIRST_uni(lex_read_unichar(0)))
1 0 if(!isIDFIRST_uni(lex_read_unichar(0)))
189 1 0 while(isIDCONT_uni(lex_peek_unichar(0)))
1 0 while(isIDCONT_uni(lex_peek_unichar(0)))
1 0 while(isIDCONT_uni(lex_peek_unichar(0)))
0 1 while(isIDCONT_uni(lex_peek_unichar(0)))
194 0 1 if(namelen == 2 && name[1] == '_')
0 0 if(namelen == 2 && name[1] == '_')
200 0 1 if(!lex_consume_unichar(')'))
209 1 0 if(!svp)
217 0 1 padsvop->op_targ = SvUV(*svp);