Branch Coverage

/usr/include/c++/5/bits/hashtable_policy.h
Criterion Covered Total %
branch 32 66 48.4


line true false branch
645 1 3 if (!__p)
1322 23 0 { return __c == __n->_M_hash_code && __eq(__k, __extract(__n->_M_v())); }
23 0 { return __c == __n->_M_hash_code && __eq(__k, __extract(__n->_M_v())); }
25 0 { return __c == __n->_M_hash_code && __eq(__k, __extract(__n->_M_v())); }
25 0 { return __c == __n->_M_hash_code && __eq(__k, __extract(__n->_M_v())); }
1953 20 0 __value_alloc_type __a(_M_node_allocator());
22 0 __value_alloc_type __a(_M_node_allocator());
1954 20 0 ::new ((void*)__n) __node_type;
22 0 ::new ((void*)__n) __node_type;
1955 20 0 __value_alloc_traits::construct(__a, __n->_M_valptr(),
22 0 __value_alloc_traits::construct(__a, __n->_M_valptr(),
1960 0 0 {
0 0 {
0 0 {
0 0 {
1972 20 0 __value_alloc_type __a(_M_node_allocator());
22 0 __value_alloc_type __a(_M_node_allocator());
1973 20 0 __value_alloc_traits::destroy(__a, __n->_M_valptr());
22 0 __value_alloc_traits::destroy(__a, __n->_M_valptr());
1975 20 0 __node_alloc_traits::deallocate(_M_node_allocator(), __ptr, 1);
20 0 __node_alloc_traits::deallocate(_M_node_allocator(), __ptr, 1);
22 0 __node_alloc_traits::deallocate(_M_node_allocator(), __ptr, 1);
22 0 __node_alloc_traits::deallocate(_M_node_allocator(), __ptr, 1);
1982 17 8 while (__n)
19 9 while (__n)
1994 16 0 __bucket_alloc_type __alloc(_M_node_allocator());
18 0 __bucket_alloc_type __alloc(_M_node_allocator());
1996 16 0 auto __ptr = __bucket_alloc_traits::allocate(__alloc, __n);
18 0 auto __ptr = __bucket_alloc_traits::allocate(__alloc, __n);
2009 16 0 __bucket_alloc_type __alloc(_M_node_allocator());
18 0 __bucket_alloc_type __alloc(_M_node_allocator());
2010 16 0 __bucket_alloc_traits::deallocate(__alloc, __ptr, __n);
18 0 __bucket_alloc_traits::deallocate(__alloc, __ptr, __n);