Branch Coverage

/usr/include/c++/5/bits/shared_ptr_base.h
Criterion Covered Total %
branch 16 58 27.5


line true false branch
117 0 0 { }
127 0 0 { delete this; }
147 0 0 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, -1) == 1)
163 0 0 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_weak_count,
365 0 2 class _Sp_counted_ptr final : public _Sp_counted_base<_Lp>
0 1 class _Sp_counted_ptr final : public _Sp_counted_base<_Lp>
0 2 class _Sp_counted_ptr final : public _Sp_counted_base<_Lp>
0 1 class _Sp_counted_ptr final : public _Sp_counted_base<_Lp>
374 2 0 { delete _M_ptr; }
1 0 { delete _M_ptr; }
2 0 { delete _M_ptr; }
1 0 { delete _M_ptr; }
378 2 0 { delete this; }
1 0 { delete this; }
2 0 { delete this; }
1 0 { delete this; }
574 1 0 _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
2 0 _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
1 0 _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
2 0 _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
577 0 0 {
0 0 {
0 0 {
0 0 {
658 0 0 if (_M_pi != nullptr)
665 0 0 if (_M_pi != 0)
673 0 0 if (__tmp != _M_pi)
675 0 0 if (__tmp != 0)
677 0 0 if (_M_pi != 0)