Branch Coverage

lib/Object/PadX/Enum.xs
Criterion Covered Total %
branch 18 28 64.2


line true false branch
23 0 42 if (lex_peek_unichar(0) != c)
74 19 28 for (int i = 0; i < nattrs; i++) {
78 19 0 av_push(pair, value ? SvREFCNT_inc(value) : newSV(0));
90 0 28 PUSHMARK(SP);
91 0 28 XPUSHs(packagename);
92 0 28 XPUSHs(attrs_ref);
95 0 21 FREETMPS;
100 0 21 if (!lex_consume_unichar('{'))
120 0 21 if (!lex_consume_unichar('}'))
139 21 0 : finalize_stmt;
171 2 33 if (!inside_enum_depth)
182 6 27 OP *listexpr = has_parens ? args[2]->op : NULL;
185 0 33 if (!current_enum_classname)
197 6 27 if (listexpr)