Branch Coverage

t/typemap/object/refcnt.xsi
Criterion Covered Total %
branch 88 176 50.0


line true false branch
107 1 0 st_ptr_myrefcounted_iptr = obj;
112 1 0 st_ptr_myrefcounted_iptr.reset();
116 1 0 st_myrefcounted_iptr = obj;
121 1 0 st_myrefcounted_iptr.reset();
148 2 0
149 2 0 int PTRMyRefCounted::val () {
2 0 int PTRMyRefCounted::val () {
154 5 0
161 34 0 Stash("MyTest::PTRMyRefCountedChild").inherit(Stash("MyTest::PTRMyRefCounted"));
34 0 Stash("MyTest::PTRMyRefCountedChild").inherit(Stash("MyTest::PTRMyRefCounted"));
34 0 Stash("MyTest::PTRMyRefCountedChild").inherit(Stash("MyTest::PTRMyRefCounted"));
165 1 0
166 1 0 int PTRMyRefCountedChild::val2 () {
1 0 int PTRMyRefCountedChild::val2 () {
172 1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
173 1 0 }
181 2 0
182 2 0 int MyRefCounted::val () {
2 0 int MyRefCounted::val () {
187 5 0
194 34 0 Stash("MyTest::MyRefCountedChild").inherit(Stash("MyTest::MyRefCounted"));
34 0 Stash("MyTest::MyRefCountedChild").inherit(Stash("MyTest::MyRefCounted"));
34 0 Stash("MyTest::MyRefCountedChild").inherit(Stash("MyTest::MyRefCounted"));
198 1 0
199 1 0 int MyRefCountedChild::val2 () {
1 0 int MyRefCountedChild::val2 () {
205 1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
206 1 0 }
214 2 0
215 2 0 int val (PTRMyRefCountedIPTR THIS) {
2 0 int val (PTRMyRefCountedIPTR THIS) {
220 3 0
227 34 0 Stash("MyTest::PTRMyRefCountedChildIPTR").inherit(Stash("MyTest::PTRMyRefCountedIPTR"));
34 0 Stash("MyTest::PTRMyRefCountedChildIPTR").inherit(Stash("MyTest::PTRMyRefCountedIPTR"));
34 0 Stash("MyTest::PTRMyRefCountedChildIPTR").inherit(Stash("MyTest::PTRMyRefCountedIPTR"));
231 1 0
232 1 0 int val2 (PTRMyRefCountedChildIPTR THIS) {
1 0 int val2 (PTRMyRefCountedChildIPTR THIS) {
238 1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
239 1 0 }
247 2 0
248 2 0 int val (MyRefCountedIPTR THIS) {
2 0 int val (MyRefCountedIPTR THIS) {
253 3 0
260 34 0 Stash("MyTest::MyRefCountedChildIPTR").inherit(Stash("MyTest::MyRefCountedIPTR"));
34 0 Stash("MyTest::MyRefCountedChildIPTR").inherit(Stash("MyTest::MyRefCountedIPTR"));
34 0 Stash("MyTest::MyRefCountedChildIPTR").inherit(Stash("MyTest::MyRefCountedIPTR"));
264 1 0
265 1 0 int val2 (MyRefCountedChildIPTR THIS) {
1 0 int val2 (MyRefCountedChildIPTR THIS) {
271 1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
272 1 0 }
280 2 0
281 2 0 int val (PTRMyBaseSP THIS) {
2 0 int val (PTRMyBaseSP THIS) {
286 4 0
293 34 0 Stash("MyTest::PTRMyChildSP").inherit(Stash("MyTest::PTRMyBaseSP"));
34 0 Stash("MyTest::PTRMyChildSP").inherit(Stash("MyTest::PTRMyBaseSP"));
34 0 Stash("MyTest::PTRMyChildSP").inherit(Stash("MyTest::PTRMyBaseSP"));
297 1 0
298 1 0 int val2 (PTRMyChildSP THIS) {
1 0 int val2 (PTRMyChildSP THIS) {
304 1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
305 1 0 }
313 2 0
314 2 0 int val (MyBaseSP THIS) {
2 0 int val (MyBaseSP THIS) {
319 4 0
326 34 0 Stash("MyTest::MyChildSP").inherit(Stash("MyTest::MyBaseSP"));
34 0 Stash("MyTest::MyChildSP").inherit(Stash("MyTest::MyBaseSP"));
34 0 Stash("MyTest::MyChildSP").inherit(Stash("MyTest::MyBaseSP"));
330 1 0
331 1 0 int val2 (MyChildSP THIS) {
1 0 int val2 (MyChildSP THIS) {
337 1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
1 0 Sub(cv).SUPER().call(&ST(0), items);
338 1 0 }