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 0 30 0.0


line true false branch
20 0 0 iptr (T* pointer) : ptr(pointer) { if (ptr) refcnt_inc(ptr); }
0 0 iptr (T* pointer) : ptr(pointer) { if (ptr) refcnt_inc(ptr); }
0 0 iptr (T* pointer) : ptr(pointer) { if (ptr) refcnt_inc(ptr); }
0 0 iptr (T* pointer) : ptr(pointer) { if (ptr) refcnt_inc(ptr); }
21 0 0 iptr (const iptr& oth) : ptr(oth.ptr) { if (ptr) refcnt_inc(ptr); }
0 0 iptr (const iptr& oth) : ptr(oth.ptr) { if (ptr) refcnt_inc(ptr); }
0 0 iptr (const iptr& oth) : ptr(oth.ptr) { if (ptr) refcnt_inc(ptr); }
0 0 iptr (const iptr& oth) : ptr(oth.ptr) { if (ptr) refcnt_inc(ptr); }
37 0 0 ~iptr () { if (ptr) refcnt_dec(ptr); }
0 0 ~iptr () { if (ptr) refcnt_dec(ptr); }
0 0 ~iptr () { if (ptr) refcnt_dec(ptr); }
0 0 ~iptr () { if (ptr) refcnt_dec(ptr); }
0 0 ~iptr () { if (ptr) refcnt_dec(ptr); }
132 0 0 if (_refcnt > 1) --_refcnt;
133 0 0 else delete this;