Branch Coverage

t/typemap/object/child.xsi
Criterion Covered Total %
branch 26 56 46.4


line true false branch
29 34 0 Stash("MyTest::PTRMyChild").inherit(Stash("MyTest::PTRMyBase"));
34 0 Stash("MyTest::PTRMyChild").inherit(Stash("MyTest::PTRMyBase"));
34 0 Stash("MyTest::PTRMyChild").inherit(Stash("MyTest::PTRMyBase"));
33 2 0
34 2 0 int PTRMyChild::val2 (SV* newval = NULL) {
35 0 2 if (newval) THIS->val2 = SvIV(newval);
0 0 if (newval) THIS->val2 = SvIV(newval);
0 0 if (newval) THIS->val2 = SvIV(newval);
40 1 0 if (other) {
48 2 0 Sub(cv).SUPER().call(&ST(0), items);
2 0 Sub(cv).SUPER().call(&ST(0), items);
2 0 Sub(cv).SUPER().call(&ST(0), items);
49 2 0 }
55 34 0 Stash("MyTest::MyChild").inherit(Stash("MyTest::MyBase"));
34 0 Stash("MyTest::MyChild").inherit(Stash("MyTest::MyBase"));
34 0 Stash("MyTest::MyChild").inherit(Stash("MyTest::MyBase"));
60 7 0 RETVAL = new MyChild(arg1, arg2);
61 1 6 }
1 0 }
62 6 0
64 0 6 if (newval) THIS->val2 = SvIV(newval);
0 0 if (newval) THIS->val2 = SvIV(newval);
0 0 if (newval) THIS->val2 = SvIV(newval);
69 2 1 if (other) {
77 6 0 Sub(cv).SUPER().call(&ST(0), items);
6 0 Sub(cv).SUPER().call(&ST(0), items);
6 0 Sub(cv).SUPER().call(&ST(0), items);
78 6 0 }