Branch Coverage

/usr/include/c++/5/bits/basic_string.tcc
Criterion Covered Total %
branch 10 78 12.8


line true false branch
215 0 0 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 0 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 0 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 0 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 0 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 0 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 6423 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 0 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
0 6423 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end)
219 0 0 size_type __dnew = static_cast(std::distance(__beg, __end));
0 0 size_type __dnew = static_cast(std::distance(__beg, __end));
6423 0 size_type __dnew = static_cast(std::distance(__beg, __end));
221 0 0 if (__dnew > size_type(_S_local_capacity))
0 0 if (__dnew > size_type(_S_local_capacity))
1102 5321 if (__dnew > size_type(_S_local_capacity))
223 0 0 _M_data(_M_create(__dnew, size_type(0)));
0 0 _M_data(_M_create(__dnew, size_type(0)));
0 0 _M_data(_M_create(__dnew, size_type(0)));
0 0 _M_data(_M_create(__dnew, size_type(0)));
1102 0 _M_data(_M_create(__dnew, size_type(0)));
1102 0 _M_data(_M_create(__dnew, size_type(0)));
224 0 0 _M_capacity(__dnew);
0 0 _M_capacity(__dnew);
1102 0 _M_capacity(__dnew);
229 0 0 { this->_S_copy_chars(_M_data(), __beg, __end); }
0 0 { this->_S_copy_chars(_M_data(), __beg, __end); }
6423 0 { this->_S_copy_chars(_M_data(), __beg, __end); }
231 0 0 {
0 0 {
0 0 {
236 0 0 _M_set_length(__dnew);
0 0 _M_set_length(__dnew);
6423 0 _M_set_length(__dnew);
1159 0 0 __str.reserve(__len + __rhs.size());
1160 0 0 __str.append(__lhs, __len);
1161 0 0 __str.append(__rhs);
1173 0 0 __str.reserve(__len + 1);
1174 0 0 __str.append(__size_type(1), __lhs);
1175 0 0 __str.append(__rhs);