Branch Coverage

/usr/include/c++/5/bits/stl_vector.h
Criterion Covered Total %
branch 8 22 36.3


line true false branch
170 5348 0 return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer();
177 3918 1430 if (__p)
0 0 if (__p)
0 0 if (__p)
802 0 26 if (__n >= this->size())
0 0 if (__n >= this->size())
0 8788 if (__n >= this->size())
915 0 0 if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage)
1424 0 5348 if (max_size() - size() < __n)
1428 5348 0 return (__len < size() || __len > max_size()) ? max_size() : __len;
0 5348 return (__len < size() || __len > max_size()) ? max_size() : __len;