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 9 12 75.0


line true false branch
20 10 9 iptr (const iptr& oth) : ptr(oth.ptr) { if (ptr) refcnt_inc(ptr); }
10 0 iptr (const iptr& oth) : ptr(oth.ptr) { if (ptr) refcnt_inc(ptr); }
36 17 21 ~iptr () { if (ptr) refcnt_dec(ptr); }
17 0 ~iptr () { if (ptr) refcnt_dec(ptr); }
131 432 146 if (_refcnt > 1) --_refcnt;
132 146 0 else delete this;