LCOV - code coverage report
Current view: top level - api - database.cc (source / functions) Hit Total Coverage
Test: Test Coverage for xapian-core eba1a2e3082b Lines: 220 228 96.5 %
Date: 2019-06-13 13:35:36 Functions: 59 59 100.0 %
Branches: 101 150 67.3 %

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 8
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
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 82
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 144
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 501
Xapian::Database::close() 510
Xapian::Database::get_value_freq(unsigned int) const 576
Xapian::Database::get_value_lower_bound(unsigned int) const 642
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 843
Xapian::Database::get_total_length() const 1154
Xapian::Database::get_uuid() const 1250
Xapian::Database::add_database_(Xapian::Database const&, bool) 1454
Xapian::Database::Database(Xapian::Database::Internal*) 2006
Xapian::Database::valuestream_begin(unsigned int) const 2223
Xapian::Database::get_lastdocid() const 2597
Xapian::Database::get_average_length() const 3029
Xapian::Database::term_exists(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 3258
Xapian::Database::get_doclength_upper_bound() const 5161
Xapian::Database::postlist_begin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 5280
Xapian::WritableDatabase::commit() 14187
Xapian::Database::get_collection_freq(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 18426
Xapian::Database::synonym_keys_begin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 20593
Xapian::WritableDatabase::delete_document(unsigned int) 21184
Xapian::WritableDatabase::replace_document(unsigned int, Xapian::Document const&) 41648
Xapian::Database::termlist_begin(unsigned int) const 42776
Xapian::Database::get_unique_terms(unsigned int) const 44090
Xapian::Database::get_termfreq(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 60460
Xapian::Database::synonyms_begin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 68689
Xapian::Database::get_doccount() const 156921
Xapian::WritableDatabase::add_document(Xapian::Document const&) 170400
Xapian::Database::has_positions() const 179422
Xapian::Database::Database() 204298
Xapian::Database::get_wdf_upper_bound(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 312608
Xapian::Database::get_doclength_lower_bound() const 488945
Xapian::Database::~Database() 588907
Xapian::Database::get_document(unsigned int, unsigned int) const 779823
Xapian::Database::get_doclength(unsigned int) const 47518894

Generated by: LCOV version 1.11