LCOV - code coverage report
Current view:
top level
-
core/search
- SPSearchIndex.cc
(
source
/ functions)
Hit
Total
Coverage
Test:
coverage.info
Lines:
105
111
94.6 %
Date:
2024-05-12 00:16:13
Functions:
17
17
100.0 %
Function Name
Hit count
stappler::search::SearchIndex::init(stappler::memory::function<void (stappler::StringViewBase<char> const&, stappler::memory::function<void (stappler::StringViewBase<char> const&)> const&, stappler::search::SearchIndex::TokenType)> const&)
25
stappler::search::SearchIndex::reserve(unsigned long)
25
stappler::search::SearchIndex::print(stappler::memory::callback<void (stappler::StringViewBase<char>)> const&) const
25
stappler::search::SearchIndex::performSearch(stappler::StringViewBase<char> const&, unsigned long, stappler::memory::function<float (stappler::search::SearchIndex const&, stappler::search::SearchIndex::ResultNode const&)> const&, stappler::memory::function<bool (stappler::search::SearchIndex::Node const*)> const&)::{lambda(stappler::search::SearchIndex::ResultNode const&, stappler::search::SearchIndex::ResultNode const&)#2}::operator()(stappler::search::SearchIndex::ResultNode const&, stappler::search::SearchIndex::ResultNode const&) const
50
stappler::search::SearchIndex::performSearch(stappler::StringViewBase<char> const&, unsigned long, stappler::memory::function<float (stappler::search::SearchIndex const&, stappler::search::SearchIndex::ResultNode const&)> const&, stappler::memory::function<bool (stappler::search::SearchIndex::Node const*)> const&)
75
stappler::search::SearchIndex::add(stappler::StringViewBase<char> const&, long, long)
100
stappler::search::SearchIndex::Heuristic::operator()(stappler::search::SearchIndex const&, stappler::search::SearchIndex::ResultNode const&)
100
stappler::search::SearchIndex::performSearch(stappler::StringViewBase<char> const&, unsigned long, stappler::memory::function<float (stappler::search::SearchIndex const&, stappler::search::SearchIndex::ResultNode const&)> const&, stappler::memory::function<bool (stappler::search::SearchIndex::Node const*)> const&)::{lambda(stappler::StringViewBase<char> const&)#1}::operator()(stappler::StringViewBase<char> const&) const
100
stappler::search::SearchIndex::performSearch(stappler::StringViewBase<char> const&, unsigned long, stappler::memory::function<float (stappler::search::SearchIndex const&, stappler::search::SearchIndex::ResultNode const&)> const&, stappler::memory::function<bool (stappler::search::SearchIndex::Node const*)> const&)::{lambda(stappler::StringViewBase<char> const&)#1}::operator()(stappler::StringViewBase<char> const&) const::{lambda(stappler::search::SearchIndex::Token const&, stappler::StringViewBase<char> const&)#1}::operator()(stappler::search::SearchIndex::Token const&, stappler::StringViewBase<char> const&) const
900
stappler::search::SearchIndex::convertToken(stappler::search::SearchIndex::Node const&, stappler::search::SearchIndex::ResultToken const&) const
1250
stappler::search::SearchIndex::performSearch(stappler::StringViewBase<char> const&, unsigned long, stappler::memory::function<float (stappler::search::SearchIndex const&, stappler::search::SearchIndex::ResultNode const&)> const&, stappler::memory::function<bool (stappler::search::SearchIndex::Node const*)> const&)::{lambda(stappler::StringViewBase<char> const&)#1}::operator()(stappler::StringViewBase<char> const&) const::{lambda(stappler::search::SearchIndex::ResultNode const&, stappler::search::SearchIndex::Node const*)#2}::operator()(stappler::search::SearchIndex::ResultNode const&, stappler::search::SearchIndex::Node const*) const
2225
stappler::search::SearchIndex::resolveToken(stappler::search::SearchIndex::Node const&, stappler::search::SearchIndex::ResultToken const&) const
2500
stappler::search::SearchIndex::onToken(stappler::memory::vector<stappler::search::SearchIndex::Token>&, stappler::StringViewBase<char> const&, unsigned int, stappler::search::SearchIndex::Slice const&)
13750
stappler::search::SearchIndex::add(stappler::StringViewBase<char> const&, long, long)::{lambda(stappler::StringViewBase<char> const&)#1}::operator()(stappler::StringViewBase<char> const&) const
13750
stappler::search::SearchIndex::makeStringView(stappler::search::SearchIndex::Token const&) const
15100
stappler::search::SearchIndex::onToken(stappler::memory::vector<stappler::search::SearchIndex::Token>&, stappler::StringViewBase<char> const&, unsigned int, stappler::search::SearchIndex::Slice const&)::{lambda(stappler::search::SearchIndex::Token const&, stappler::StringViewBase<char> const&)#1}::operator()(stappler::search::SearchIndex::Token const&, stappler::StringViewBase<char> const&) const
105975
stappler::search::SearchIndex::makeStringView(unsigned int, stappler::search::SearchIndex::Slice const&) const
121975
Generated by:
LCOV version 1.14