Branch Coverage

/usr/include/c++/5/bits/basic_string.tcc
Criterion Covered Total %
branch 8 50 16.0


line true false branch
141 0 0 if (__capacity > max_size())
147 0 0 if (__capacity > __old_capacity && __capacity < 2 * __old_capacity)
0 0 if (__capacity > __old_capacity && __capacity < 2 * __old_capacity)
151 0 0 if (__capacity > max_size())
215 0 840 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 0 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 840 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 809 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 0 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 809 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
221 27 813 if (__dnew > size_type(_S_local_capacity))
21 788 if (__dnew > size_type(_S_local_capacity))
323 0 0 if (__pos)
325 0 0 if (__s && __len2)
327 0 0 if (__how_much)
343 0 0 if (__how_much && __n)
355 0 0 if (__size < __n)
357 0 0 else if (__n < __size)
368 0 0 if (__len <= this->capacity())
370 0 0 if (__n)
405 0 0 if (__new_size <= this->capacity())
410 0 0 if (__how_much && __n1 != __n2)
416 0 0 if (__n2)
1159 0 0 __str.reserve(__len + __rhs.size());
1160 0 0 __str.append(__lhs, __len);