Branch Coverage

/usr/include/c++/5/bits/regex_compiler.h
Criterion Covered Total %
branch 0 296 0.0


line true false branch
192 0 0 const auto* __cfirst = __len ? std::__addressof(*__first) : nullptr;
239 0 0 __collate>::type());
0 0 __collate>::type());
250 0 0 _StrTransT __str = _StrTransT(1, _M_translate(__ch));
0 0 _StrTransT __str = _StrTransT(1, _M_translate(__ch));
0 0 _StrTransT __str = _StrTransT(1, _M_translate(__ch));
0 0 _StrTransT __str = _StrTransT(1, _M_translate(__ch));
251 0 0 return _M_traits.transform(__str.begin(), __str.end());
0 0 return _M_traits.transform(__str.begin(), __str.end());
294 0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
0 0 static auto __nul = _M_translator._M_translate('\0');
314 0 0 { return _M_apply(__ch, typename is_same<_CharT, char>::type()); }
0 0 { return _M_apply(__ch, typename is_same<_CharT, char>::type()); }
0 0 { return _M_apply(__ch, typename is_same<_CharT, char>::type()); }
322 0 0 return __c != __n && __c != __r;
0 0 return __c != __n && __c != __r;
0 0 return __c != __n && __c != __r;
0 0 return __c != __n && __c != __r;
0 0 return __c != __n && __c != __r;
0 0 return __c != __n && __c != __r;
0 0 return __c != __n && __c != __r;
0 0 return __c != __n && __c != __r;
359 0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
0 0 struct _BracketMatcher
388 0 0 _M_char_set.push_back(_M_translator._M_translate(__c));
0 0 _M_char_set.push_back(_M_translator._M_translate(__c));
0 0 _M_char_set.push_back(_M_translator._M_translate(__c));
0 0 _M_char_set.push_back(_M_translator._M_translate(__c));
399 0 0 if (__st.empty())
0 0 if (__st.empty())
0 0 if (__st.empty())
0 0 if (__st.empty())
400 0 0 __throw_regex_error(regex_constants::error_collate);
0 0 __throw_regex_error(regex_constants::error_collate);
0 0 __throw_regex_error(regex_constants::error_collate);
0 0 __throw_regex_error(regex_constants::error_collate);
401 0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
0 0 _M_char_set.push_back(_M_translator._M_translate(__st[0]));
412 0 0 __s.data() + __s.size());
0 0 __s.data() + __s.size());
0 0 __s.data() + __s.size());
0 0 __s.data() + __s.size());
413 0 0 if (__st.empty())
0 0 if (__st.empty())
0 0 if (__st.empty())
0 0 if (__st.empty())
414 0 0 __throw_regex_error(regex_constants::error_collate);
0 0 __throw_regex_error(regex_constants::error_collate);
0 0 __throw_regex_error(regex_constants::error_collate);
0 0 __throw_regex_error(regex_constants::error_collate);
415 0 0 __st = _M_traits.transform_primary(__st.data(),
0 0 __st = _M_traits.transform_primary(__st.data(),
0 0 __st = _M_traits.transform_primary(__st.data(),
0 0 __st = _M_traits.transform_primary(__st.data(),
0 0 __st = _M_traits.transform_primary(__st.data(),
0 0 __st = _M_traits.transform_primary(__st.data(),
0 0 __st = _M_traits.transform_primary(__st.data(),
0 0 __st = _M_traits.transform_primary(__st.data(),
417 0 0 _M_equiv_set.push_back(__st);
0 0 _M_equiv_set.push_back(__st);
0 0 _M_equiv_set.push_back(__st);
0 0 _M_equiv_set.push_back(__st);
429 0 0 __icase);
0 0 __icase);
0 0 __icase);
0 0 __icase);
430 0 0 if (__mask == 0)
0 0 if (__mask == 0)
0 0 if (__mask == 0)
0 0 if (__mask == 0)
431 0 0 __throw_regex_error(regex_constants::error_ctype);
0 0 __throw_regex_error(regex_constants::error_ctype);
0 0 __throw_regex_error(regex_constants::error_ctype);
0 0 __throw_regex_error(regex_constants::error_ctype);
432 0 0 if (!__neg)
0 0 if (!__neg)
0 0 if (!__neg)
0 0 if (!__neg)
435 0 0 _M_neg_class_set.push_back(__mask);
0 0 _M_neg_class_set.push_back(__mask);
0 0 _M_neg_class_set.push_back(__mask);
0 0 _M_neg_class_set.push_back(__mask);
444 0 0 if (__l > __r)
0 0 if (__l > __r)
0 0 if (__l > __r)
0 0 if (__l > __r)
446 0 0 _M_range_set.push_back(make_pair(_M_translator._M_transform(__l),
0 0 _M_range_set.push_back(make_pair(_M_translator._M_transform(__l),
0 0 _M_range_set.push_back(make_pair(_M_translator._M_transform(__l),
0 0 _M_range_set.push_back(make_pair(_M_translator._M_transform(__l),
0 0 _M_range_set.push_back(make_pair(_M_translator._M_transform(__l),
0 0 _M_range_set.push_back(make_pair(_M_translator._M_transform(__l),
0 0 _M_range_set.push_back(make_pair(_M_translator._M_transform(__l),
456 0 0 std::sort(_M_char_set.begin(), _M_char_set.end());
0 0 std::sort(_M_char_set.begin(), _M_char_set.end());
0 0 std::sort(_M_char_set.begin(), _M_char_set.end());
0 0 std::sort(_M_char_set.begin(), _M_char_set.end());
457 0 0 auto __end = std::unique(_M_char_set.begin(), _M_char_set.end());
0 0 auto __end = std::unique(_M_char_set.begin(), _M_char_set.end());
0 0 auto __end = std::unique(_M_char_set.begin(), _M_char_set.end());
0 0 auto __end = std::unique(_M_char_set.begin(), _M_char_set.end());
458 0 0 _M_char_set.erase(__end, _M_char_set.end());
0 0 _M_char_set.erase(__end, _M_char_set.end());
0 0 _M_char_set.erase(__end, _M_char_set.end());
0 0 _M_char_set.erase(__end, _M_char_set.end());
459 0 0 _M_make_cache(_UseCache());
0 0 _M_make_cache(_UseCache());
0 0 _M_make_cache(_UseCache());
0 0 _M_make_cache(_UseCache());
491 0 0 for (unsigned __i = 0; __i < _M_cache.size(); __i++)
0 0 for (unsigned __i = 0; __i < _M_cache.size(); __i++)
0 0 for (unsigned __i = 0; __i < _M_cache.size(); __i++)
0 0 for (unsigned __i = 0; __i < _M_cache.size(); __i++)
492 0 0 _M_cache[__i] = _M_apply(static_cast<_CharT>(__i), false_type());
0 0 _M_cache[__i] = _M_apply(static_cast<_CharT>(__i), false_type());
0 0 _M_cache[__i] = _M_apply(static_cast<_CharT>(__i), false_type());
0 0 _M_cache[__i] = _M_apply(static_cast<_CharT>(__i), false_type());