LCOV - code coverage report
Current view: top level - extra/webserver/pug - SPPugCache.cc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 219 242 90.5 %
Date: 2024-05-12 00:16:13 Functions: 33 33 100.0 %

Function Name Sort by function name Hit count Sort by hit count
stappler::pug::Cache::regenerate(stappler::StringViewBase<char>) 25
stappler::pug::Cache::isNotifyAvailable() 25
stappler::pug::Cache::drop(stappler::StringViewBase<char>) 25
stappler::pug::Cache::update(stappler::mempool::custom::Pool*, bool) 25
stappler::pug::Cache::onError(stappler::StringViewBase<char> const&) 25
stappler::pug::Cache::~Cache() 25
stappler::pug::FileRef::regenerate(int, stappler::StringViewBase<char>) 25
stappler::pug::Cache::getNotify() const 25
stappler::pug::Cache::runTemplate(stappler::StringViewBase<char> const&, stappler::memory::callback<bool (stappler::pug::Context&, stappler::pug::Template const&)> const&, stappler::memory::callback<void (stappler::StringViewBase<char>)> const&, stappler::pug::Template::Options) 50
stappler::pug::Cache::update(int, bool) 50
stappler::pug::Cache::Cache(stappler::pug::Template::Options, stappler::memory::function<void (stappler::StringViewBase<char> const&)> const&) 50
stappler::pug::FileRef::getContent() const 50
stappler::pug::Cache::addFile(stappler::StringViewBase<char>) 100
stappler::pug::Cache::get(stappler::StringViewBase<char>) const 100
stappler::pug::Cache::addContent(stappler::StringViewBase<char>, stappler::memory::basic_string<char>&&) 150
stappler::pug::Cache::openTemplate(stappler::StringViewBase<char>, int, stappler::pug::Template::Options const&) 250
stappler::pug::FileRef::read(stappler::mempool::custom::Pool*, stappler::ValueWrapper<stappler::StringViewBase<char>, stappler::FilePathTag>, stappler::pug::Template::Options, stappler::memory::callback<void (stappler::StringViewBase<char> const&)> const&, int, int) 250
stappler::pug::FileRef::FileRef(stappler::mempool::custom::Pool*, stappler::ValueWrapper<stappler::StringViewBase<char>, stappler::FilePathTag> const&, stappler::pug::Template::Options, stappler::memory::callback<void (stappler::StringViewBase<char> const&)> const&, int, int) 250
stappler::pug::FileRef::isValid() const 250
stappler::pug::Cache::addTemplate(stappler::StringViewBase<char>, stappler::memory::basic_string<char>&&) 275
stappler::pug::FileRef::getMtime() const 275
stappler::pug::Cache::addTemplate(stappler::StringViewBase<char>, stappler::memory::basic_string<char>&&, stappler::pug::Template::Options) 300
stappler::pug::FileRef::~FileRef() 375
stappler::pug::FileRef::~FileRef().2 375
stappler::pug::Cache::runTemplate(stappler::StringViewBase<char> const&, stappler::memory::callback<bool (stappler::pug::Context&, stappler::pug::Template const&)> const&, stappler::memory::callback<void (stappler::StringViewBase<char>)> const&) 400
stappler::pug::Cache::runTemplate(stappler::RcBase<stappler::pug::FileRef>, stappler::StringViewBase<char>, stappler::memory::callback<bool (stappler::pug::Context&, stappler::pug::Template const&)> const&, stappler::memory::callback<void (stappler::StringViewBase<char>)> const&, stappler::pug::Template::Options) 450
stappler::pug::FileRef::read(stappler::mempool::custom::Pool*, stappler::memory::basic_string<char>&&, bool, stappler::pug::Template::Options, stappler::memory::callback<void (stappler::StringViewBase<char> const&)> const&) 450
stappler::pug::FileRef::FileRef(stappler::mempool::custom::Pool*, stappler::memory::basic_string<char>&&, bool, stappler::pug::Template::Options, stappler::memory::callback<void (stappler::StringViewBase<char> const&)> const&) 450
stappler::pug::FileRef::getWatch() const 550
stappler::pug::FileRef::getOpts() const 575
stappler::pug::Cache::runTemplate(stappler::RcBase<stappler::pug::FileRef>, stappler::StringViewBase<char>, stappler::memory::callback<bool (stappler::pug::Context&, stappler::pug::Template const&)> const&, stappler::memory::callback<void (stappler::StringViewBase<char>)> const&, stappler::pug::Template::Options)::{lambda(stappler::StringViewBase<char> const&, stappler::pug::Context&, stappler::memory::callback<void (stappler::StringViewBase<char>)> const&, stappler::pug::Template::RunContext&)#1}::operator()(stappler::StringViewBase<char> const&, stappler::pug::Context&, stappler::memory::callback<void (stappler::StringViewBase<char>)> const&, stappler::pug::Template::RunContext&) const 700
stappler::pug::Cache::acquireTemplate(stappler::StringViewBase<char>, bool, stappler::pug::Template::Options const&) 1200
stappler::pug::FileRef::getTemplate() const 1625

Generated by: LCOV version 1.14