Branch Coverage

/usr/include/c++/5/bits/stl_vector.h
Criterion Covered Total %
branch 16 26 61.5


line true false branch
136 828 0 { _M_create_storage(__n); }
160 2573 0 { _M_deallocate(this->_M_impl._M_start, this->_M_impl._M_end_of_storage
170 1297 828 return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer();
177 1297 2573 if (__p)
322 828 0 std::__uninitialized_copy_a(__x.begin(), __x.end(),
828 0 std::__uninitialized_copy_a(__x.begin(), __x.end(),
828 0 std::__uninitialized_copy_a(__x.begin(), __x.end(),
424 2573 0 { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
425 2573 0 _M_get_Tp_allocator()); }
915 14 1297 if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage)
1424 0 1297 if (max_size() - size() < __n)
1428 1297 0 return (__len < size() || __len > max_size()) ? max_size() : __len;
0 1297 return (__len < size() || __len > max_size()) ? max_size() : __len;