LCOV - code coverage report
Current view: top level - api - database.cc (source / functions) Hit Total Coverage
Test: Test Coverage for xapian-core 954b5873a738 Lines: 223 230 97.0 %
Date: 2019-06-30 05:20:33 Functions: 60 60 100.0 %
Branches: 106 154 68.8 %

Function Name Sort by function name Hit count Sort by hit count
Xapian::Database::get_unique_terms_lower_bound() const 2
Xapian::Database::get_unique_terms_upper_bound() const 2
Xapian::WritableDatabase::clear_synonyms(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 4
Xapian::WritableDatabase::remove_synonym(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 4
Xapian::WritableDatabase::get_description() const 5
Xapian::Database::spellings_begin() const 10
Xapian::Database::locked() const 14
empty_metadata_key() 15
Xapian::Database::get_description() const 17
docid_zero_invalid() 19
Xapian::Database::get_revision() const 27
Xapian::WritableDatabase::delete_document(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 28
Xapian::Database::keep_alive() 49
Xapian::WritableDatabase::remove_spelling(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) const 49
Xapian::Database::metadata_keys_begin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 55
Xapian::Database::size() const 56
empty_term_invalid() 56
Xapian::WritableDatabase::begin_transaction(bool) 63
Xapian::WritableDatabase::end_transaction_(bool) 65
Xapian::WritableDatabase::add_spelling(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) const 85
Xapian::WritableDatabase::add_synonym(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 151
Xapian::WritableDatabase::set_metadata(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 151
Xapian::Database::get_spelling_suggestion(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) const 155
Xapian::Database::get_metadata(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 172
Xapian::Database::reopen() 182
Xapian::WritableDatabase::replace_document(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Xapian::Document const&) 248
Xapian::Database::allterms_begin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 503
Xapian::Database::close() 544
Xapian::Database::get_value_freq(unsigned int) const 590
Xapian::Database::get_value_lower_bound(unsigned int) const 647
Xapian::Database::positionlist_begin(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 808
Xapian::Database::get_value_upper_bound(unsigned int) const 847
Xapian::Database::get_total_length() const 1210
Xapian::Database::get_uuid() const 1307
Xapian::Database::add_database_(Xapian::Database const&, bool) 1488
Xapian::Database::Database(Xapian::Database::Internal*) 2065
Xapian::Database::valuestream_begin(unsigned int) const 2234
Xapian::Database::get_lastdocid() const 2654
Xapian::Database::get_average_length() const 3029
Xapian::Database::term_exists(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 3259
Xapian::Database::get_doclength_upper_bound() const 5242
Xapian::Database::postlist_begin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 5283
Xapian::WritableDatabase::commit() 14201
Xapian::Database::get_collection_freq(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 18164
Xapian::Database::synonym_keys_begin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 20596
Xapian::WritableDatabase::delete_document(unsigned int) 21186
Xapian::WritableDatabase::replace_document(unsigned int, Xapian::Document const&) 41721
Xapian::Database::termlist_begin(unsigned int) const 52892
Xapian::Database::get_unique_terms(unsigned int) const 54100
Xapian::Database::synonyms_begin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 68689
Xapian::Database::get_termfreq(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 80905
Xapian::Database::has_positions() const 151312
Xapian::Database::get_doccount() const 157295
Xapian::WritableDatabase::add_document(Xapian::Document const&) 180721
Xapian::Database::Database() 206434
Xapian::Database::get_wdf_upper_bound(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 313352
Xapian::Database::get_doclength_lower_bound() const 490083
Xapian::Database::~Database() 592219
Xapian::Database::get_document(unsigned int, unsigned int) const 790193
Xapian::Database::get_doclength(unsigned int) const 47545342

Generated by: LCOV version 1.11