Branch Coverage

lib/Object/Pad/FieldAttr/LazyInit.xs
Criterion Covered Total %
branch 16 28 57.1


line true false branch
24 4 4 for(prevmg = NULL, mg = SvMAGIC(sv); mg; prevmg = mg, mg = moremg) {
26 4 0 if(mg->mg_type == how && mg->mg_virtual == vtbl) {
4 0 if(mg->mg_type == how && mg->mg_virtual == vtbl) {
27 0 4 if(prevmg) {
35 0 4 if(vtbl->svt_free)
37 4 0 if(mg->mg_ptr) {
38 0 4 if(mg->mg_len > 0)
40 4 0 else if(mg->mg_len == HEf_SVKEY)
43 4 0 if(mg->mg_flags & MGf_REFCOUNTED)
68 0 2 PUSHMARK(SP);
72 2 0 call_method(SvPV_nolen(methodname), G_SCALAR);
80 2 0 FREETMPS;
91 3 2 if(SvROK(sv) && SvRV(sv) == unassigned_val)
0 3 if(SvROK(sv) && SvRV(sv) == unassigned_val)