Branch Coverage

/usr/include/c++/5/bits/hashtable_policy.h
Criterion Covered Total %
branch 18 36 50.0


line true false branch
595 117 0 if (!__p)
597 117 0 __p = __h->_M_allocate_node(std::piecewise_construct,
1322 50 114 { return __c == __n->_M_hash_code && __eq(__k, __extract(__n->_M_v())); }
50 0 { return __c == __n->_M_hash_code && __eq(__k, __extract(__n->_M_v())); }
1953 117 0 __value_alloc_type __a(_M_node_allocator());
1954 117 0 ::new ((void*)__n) __node_type;
1955 117 0 __value_alloc_traits::construct(__a, __n->_M_valptr(),
1960 0 0 {
0 0 {
1972 117 0 __value_alloc_type __a(_M_node_allocator());
1973 117 0 __value_alloc_traits::destroy(__a, __n->_M_valptr());
1975 117 0 __node_alloc_traits::deallocate(_M_node_allocator(), __ptr, 1);
117 0 __node_alloc_traits::deallocate(_M_node_allocator(), __ptr, 1);
1982 117 13 while (__n)
1994 39 0 __bucket_alloc_type __alloc(_M_node_allocator());
1996 39 0 auto __ptr = __bucket_alloc_traits::allocate(__alloc, __n);
2009 39 0 __bucket_alloc_type __alloc(_M_node_allocator());
2010 39 0 __bucket_alloc_traits::deallocate(__alloc, __ptr, __n);