Branch Coverage

/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/XS/libpanda.x/i/panda/refcnt.h
Criterion Covered Total %
branch 3 14 21.4


line true false branch
21 8 6 iptr (T* pointer) : ptr(pointer) { if (ptr) refcnt_inc(ptr); }
22 12 0 iptr (const iptr& oth) : ptr(oth.ptr) { if (ptr) refcnt_inc(ptr); }
38 0 0 ~iptr () { if (ptr) refcnt_dec(ptr); }
41 0 0 if (pointer) refcnt_inc(pointer);
42 0 0 if (ptr) refcnt_dec(ptr);
179 0 0 if (!--_refcnt) delete this;
0 0 if (!--_refcnt) delete this;