LCOV - code coverage report
Current view: top level - core/search - SPSearchParser.cc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 568 624 91.0 %
Date: 2024-05-12 00:16:13 Functions: 42 42 100.0 %

Function Name Sort by function name Hit count Sort by hit count
stappler::search::getStemmer(stappler::search::Language) 700
stappler::search::isStopword(stappler::StringViewBase<char> const&, stappler::search::Language) 600
stappler::search::isStopword(stappler::StringViewBase<char> const&, stappler::search::StemmerEnv*) 82000
stappler::search::isStopword(stappler::StringViewBase<char> const&, stappler::StringViewBase<char> const*) 82375
stappler::search::isWordPart(stappler::search::ParserToken) 115475
stappler::search::parsePhrase(stappler::StringViewBase<char>, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&) 13625
stappler::search::isComplexWord(stappler::search::ParserToken) 8575
stappler::search::normalizeWord(stappler::StringViewBase<char> const&) 111550
stappler::search::parseLanguage(stappler::StringViewBase<char> const&) 600
stappler::search::Stemmer_Reader::onBeginTag(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::search::Stemmer_Reader::Tag&) 4800
stappler::search::Stemmer_Reader::onInlineTag(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::search::Stemmer_Reader::Tag&) 200
stappler::search::Stemmer_Reader::processData(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::StringViewBase<char> const&) 1650
stappler::search::Stemmer_Reader::onTagContent(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::search::Stemmer_Reader::Tag&, stappler::StringViewBase<char>&) 6450
stappler::search::Stemmer_Reader::onTagAttribute(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::search::Stemmer_Reader::Tag&, stappler::StringViewBase<char>&, stappler::StringViewBase<char>&) 7000
stappler::search::Stemmer_Reader::write(stappler::StringViewBase<char> const&) 6450
stappler::search::Stemmer_Reader::onEndTag(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::search::Stemmer_Reader::Tag&, bool) 4800
stappler::search::Stemmer_Reader::onPopTag(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::search::Stemmer_Reader::Tag&) 4600
stappler::search::Stemmer_Reader::onPushTag(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::search::Stemmer_Reader::Tag&) 4600
stappler::search::detectLanguage(stappler::StringViewBase<char> const&) 350
stappler::search::getLanguageName(stappler::search::Language) 1325
stappler::search::getParserTokenName(stappler::search::ParserToken) 475
stappler::search::stemWord(stappler::StringViewBase<char>, stappler::memory::callback<void (stappler::StringViewBase<char>)> const&, stappler::search::Language) 175
stappler::search::stemWord(stappler::StringViewBase<char>, stappler::memory::callback<void (stappler::StringViewBase<char>)> const&, stappler::search::StemmerEnv*) 81975
stappler::search::parseHtml(stappler::StringViewBase<char>, stappler::memory::callback<void (stappler::StringViewBase<char>)> const&) 50
stappler::search::parseToken(stappler::StringViewUtf8&, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&) 128550
stappler::search::tryParseUrl(stappler::StringViewUtf8&, stappler::StringViewBase<char>, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&) 11850
stappler::search::parseUrlToken(stappler::StringViewBase<char>&, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&) 2200
stappler::search::parseDotNumber(stappler::StringViewUtf8&, stappler::StringViewBase<char>, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&, bool) 1150
stappler::search::staticPoolAlloc(void*, unsigned int) 1050
stappler::search::Stemmer_Reader_run(stappler::StringViewBase<char>, stappler::memory::function<void (stappler::StringViewBase<char> const&, stappler::memory::callback<void ()> const&)>&&) 225
stappler::search::readCadasterString(stappler::StringViewUtf8&, stappler::StringViewBase<char>, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&) 1275
stappler::search::parseHyphenatedWord(stappler::StringViewUtf8&, stappler::StringViewBase<char>, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&, unsigned long) 118825
stappler::search::getLanguageStopwords(stappler::search::Language) 900
stappler::search::pushWord(stappler::StringViewBase<char>, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&, bool) 117700
stappler::search::pushHWord(stappler::StringViewBase<char>, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&) 1375
stappler::search::SearchData::getLanguage() const 25
stappler::search::Stemmer_Reader::getTypeByName(stappler::StringViewBase<char> const&) const 4800
stappler::search::parseHtml(stappler::StringViewBase<char>, stappler::memory::callback<void (stappler::StringViewBase<char>)> const&)::{lambda(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::StringViewBase<char> const&)#1}::operator()(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::StringViewBase<char> const&) const 350
stappler::search::parseToken(stappler::StringViewUtf8&, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&)::{lambda()#1}::operator()() const 116725
stappler::search::Stemmer_Reader_run(stappler::StringViewBase<char>, stappler::memory::function<void (stappler::StringViewBase<char> const&, stappler::memory::callback<void ()> const&)>&&)::{lambda(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::StringViewBase<char> const&)#1}::operator()(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::StringViewBase<char> const&) const 1300
stappler::search::parseHyphenatedWord(stappler::StringViewUtf8&, stappler::StringViewBase<char>, stappler::memory::callback<stappler::search::ParserStatus (stappler::StringViewBase<char>, stappler::search::ParserToken)> const&, unsigned long)::{lambda()#1}::operator()() const 115925
stappler::search::Stemmer_Reader_run(stappler::StringViewBase<char>, stappler::memory::function<void (stappler::StringViewBase<char> const&, stappler::memory::callback<void ()> const&)>&&)::{lambda(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::StringViewBase<char> const&)#1}::operator()(stappler::html::Parser<stappler::search::Stemmer_Reader, stappler::StringViewBase<char>, stappler::search::Stemmer_Reader::Tag, stappler::html::ParserTraits<stappler::search::Stemmer_Reader> >&, stappler::StringViewBase<char> const&) const::{lambda()#1}::operator()() const 50

Generated by: LCOV version 1.14