Branch Coverage

/usr/include/c++/5/bits/stl_vector.h
Criterion Covered Total %
branch 62 118 52.5


line true false branch
136 1 0 { _M_create_storage(__n); }
830 0 { _M_create_storage(__n); }
5392 0 { _M_create_storage(__n); }
170 43 0 return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer();
25 0 return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer();
47 0 return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer();
47 0 return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer();
1 0 return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer();
23757 0 return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer();
14102 0 return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer();
4 0 return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer();
177 1 2 if (__p)
4 5 if (__p)
25 5 if (__p)
43 5 if (__p)
47 5 if (__p)
47 5 if (__p)
23757 3221 if (__p)
10501 24110 if (__p)
279 1 0 { _M_default_initialize(__n); }
292 4291 0 { _M_fill_initialize(__n, __value); }
320 830 0 _Alloc_traits::_S_select_on_copy(__x._M_get_Tp_allocator()))
1101 0 _Alloc_traits::_S_select_on_copy(__x._M_get_Tp_allocator()))
322 830 0 std::__uninitialized_copy_a(__x.begin(), __x.end(),
1101 0 std::__uninitialized_copy_a(__x.begin(), __x.end(),
377 934 0 _M_range_initialize(__l.begin(), __l.end(),
404 3220 0 { _M_initialize_dispatch(__first, __last, __false_type()); }
915 2 0 if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage)
3 4 if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage)
1099 5004 0 _M_insert_dispatch(begin() + __offset,
1147 0 0 { return _M_erase(begin() + (__position - cbegin())); }
7952 0 { return _M_erase(begin() + (__position - cbegin())); }
0 0 { return _M_erase(begin() + (__position - cbegin())); }
4796284 0 { return _M_erase(begin() + (__position - cbegin())); }
1227 4556 0 std::__uninitialized_copy_a(__first, __last, __result,
1232 0 0 {
1263 3220 0 _M_range_initialize(__first, __last, _IterCategory());
1377 5004 0 _M_range_insert(__pos, __first, __last, _IterCategory());
1424 0 43 if (max_size() - size() < __n)
0 25 if (max_size() - size() < __n)
0 47 if (max_size() - size() < __n)
0 47 if (max_size() - size() < __n)
0 22927 if (max_size() - size() < __n)
0 0 if (max_size() - size() < __n)
0 4 if (max_size() - size() < __n)
1428 43 0 return (__len < size() || __len > max_size()) ? max_size() : __len;
0 43 return (__len < size() || __len > max_size()) ? max_size() : __len;
25 0 return (__len < size() || __len > max_size()) ? max_size() : __len;
0 25 return (__len < size() || __len > max_size()) ? max_size() : __len;
47 0 return (__len < size() || __len > max_size()) ? max_size() : __len;
0 47 return (__len < size() || __len > max_size()) ? max_size() : __len;
47 0 return (__len < size() || __len > max_size()) ? max_size() : __len;
0 47 return (__len < size() || __len > max_size()) ? max_size() : __len;
22927 0 return (__len < size() || __len > max_size()) ? max_size() : __len;
0 22927 return (__len < size() || __len > max_size()) ? max_size() : __len;
0 0 return (__len < size() || __len > max_size()) ? max_size() : __len;
0 0 return (__len < size() || __len > max_size()) ? max_size() : __len;
4 0 return (__len < size() || __len > max_size()) ? max_size() : __len;
0 4 return (__len < size() || __len > max_size()) ? max_size() : __len;