Branch Coverage

/usr/include/c++/5/bits/hashtable.h
Criterion Covered Total %
branch 34 42 80.9


line true false branch
341 0 39 if (__builtin_expect(__n == 1, false))
353 13 26 if (_M_uses_single_bucket(__bkts))
633 17 120 if (__before_n)
1308 17 2 return __p ? iterator(__p) : end();
1427 79 58 if (!__prev_p)
1433 17 46 if (this->_M_equals(__k, __code, __p))
1436 20 26 if (!__p->_M_nxt || _M_bucket_index(__p->_M_next()) != __n)
15 5 if (!__p->_M_nxt || _M_bucket_index(__p->_M_next()) != __n)
41 5 if (!__p->_M_nxt || _M_bucket_index(__p->_M_next()) != __n)
1452 13 105 if (_M_buckets[__bkt])
1466 92 13 if (__node->_M_nxt)
1594 118 0 = _M_rehash_policy._M_need_rehash(_M_bucket_count, _M_element_count, 1);
1598 39 79 if (__do_rehash.first)
1600 39 0 _M_rehash(__do_rehash.second, __saved_state);
1601 39 0 __bkt = _M_bucket_index(this->_M_extract()(__node->_M_v()), __code);
39 0 __bkt = _M_bucket_index(this->_M_extract()(__node->_M_v()), __code);
1612 0 0 {
1953 39 0 _M_rehash_aux(__n, __unique_keys());
1978 65 39 while (__p)
1982 39 26 if (!__new_buckets[__bkt])
1987 13 26 if (__p->_M_nxt)