LCOV - code coverage report
Current view: top level - backends/glass - glass_database.cc (source / functions) Hit Total Coverage
Test: Test Coverage for xapian-core 954b5873a738 Lines: 685 753 91.0 %
Date: 2019-06-30 05:20:33 Functions: 94 96 97.9 %
Branches: 571 1048 54.5 %

Function Name Sort by function name Hit count Sort by hit count
GlassDatabase::get_unique_terms_lower_bound() const 0
GlassWritableDatabase::read_position_list(GlassRePositionList*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 0
GlassDatabase::modifications_failed(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 2
GlassDatabase::get_description() const 4
GlassWritableDatabase::clear_synonyms(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 5
GlassWritableDatabase::open_spelling_wordlist() const 5
GlassWritableDatabase::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 5
GlassDatabase::throw_termlist_table_close_exception() const 6
GlassDatabase::open_spelling_wordlist() const 9
GlassDatabase::send_whole_database(RemoteConnection&, double) 9
GlassWritableDatabase::has_uncommitted_changes() const 10
GlassDatabase::locked() const 11
GlassDatabase::get_changeset_revisions(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int*, unsigned int*) const 13
GlassDatabase::request_document(unsigned int) const 18
GlassDatabase::write_changesets_to_fd(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, Xapian::ReplicationInfo*) 23
GlassWritableDatabase::remove_spelling(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) const 33
GlassDatabase::open_metadata_keylist(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 34
GlassWritableDatabase::add_spelling(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) const 74
GlassWritableDatabase::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&) 91
GlassDatabase::open_term_list_direct(unsigned int) const 92
GlassDatabase::get_metadata(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 98
GlassDatabase::get_revision() const 114
GlassDatabase::has_uncommitted_changes() const 117
GlassWritableDatabase::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
GlassDatabase::reopen() 163
GlassDatabase::get_spelling_frequency(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 171
GlassDatabase::open_spelling_termlist(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 178
GlassWritableDatabase::positionlist_count(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 214
GlassDatabase::cancel() 265
GlassWritableDatabase::cancel() 265
GlassWritableDatabase::open_allterms(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 282
GlassWritableDatabase::term_exists(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 293
GlassDatabase::GlassDatabase(int) 309
GlassDatabase::get_used_docid_range(unsigned int&, unsigned int&) const 443
GlassWritableDatabase::close() 649
GlassDatabase::open_allterms(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 662
GlassDatabase::close() 664
GlassWritableDatabase::open_post_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 751
GlassDatabase::create_and_open_tables(int, unsigned int) 981
GlassWritableDatabase::open_position_list(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 1242
GlassWritableDatabase::open_leaf_post_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const 1299
GlassDatabase::database_exists() 1342
GlassDatabase::get_uuid() const 1381
GlassDatabase::get_database_write_lock(int, bool) 1548
GlassWritableDatabase::GlassWritableDatabase(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) 1552
GlassDatabase::get_value_freq(unsigned int) const 1715
GlassDatabase::get_value_lower_bound(unsigned int) const 2475
GlassDatabase::term_exists(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 2501
GlassDatabase::get_value_upper_bound(unsigned int) const 2555
GlassWritableDatabase::~GlassWritableDatabase() 3072
GlassDatabase::open_tables(int) 3210
GlassDatabase::read_position_list(GlassRePositionList*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 3294
GlassWritableDatabase::get_freqs(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int*, unsigned int*) const 3728
GlassDatabase::GlassDatabase(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, unsigned int) 3819
GlassDatabase::open_post_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 3905
GlassDatabase::get_doclength_upper_bound() const 4503
GlassWritableDatabase::has_positions() const 6258
GlassDatabase::~GlassDatabase() 6682
GlassWritableDatabase::flush_postlist_changes() const 9050
GlassDatabase::get_next_revision_number() const 9127
GlassDatabase::set_revision_number(int, unsigned int) 9127
GlassWritableDatabase::open_value_list(unsigned int) const 9563
GlassWritableDatabase::get_unique_terms(unsigned int) const 12172
GlassWritableDatabase::delete_document(unsigned int) 12928
GlassDatabase::apply() 13252
GlassWritableDatabase::apply() 13252
GlassWritableDatabase::commit() 13257
GlassWritableDatabase::get_value_freq(unsigned int) const 19074
GlassDatabase::positionlist_count(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 24315
GlassDatabase::open_value_list(unsigned int) const 27568
GlassWritableDatabase::get_value_lower_bound(unsigned int) const 28454
GlassWritableDatabase::get_value_upper_bound(unsigned int) const 28520
GlassWritableDatabase::open_synonym_keylist(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 30881
GlassDatabase::open_synonym_keylist(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 30887
GlassDatabase::get_unique_terms(unsigned int) const 33792
GlassDatabase::get_lastdocid() const 45845
GlassWritableDatabase::replace_document(unsigned int, Xapian::Document const&) 54429
GlassDatabase::open_position_list(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 73414
GlassDatabase::open_term_list(unsigned int) const 75148
GlassDatabase::has_positions() const 81480
GlassWritableDatabase::add_document(Xapian::Document const&) 97914
GlassDatabase::open_synonym_termlist(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 103032
GlassDatabase::open_leaf_post_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const 116280
GlassWritableDatabase::add_document_(unsigned int, Xapian::Document const&) 120017
GlassDatabase::readahead_for_query(Xapian::Query const&) const 123080
GlassWritableDatabase::check_flush_threshold() 145066
GlassWritableDatabase::get_doclength(unsigned int) const 187138
GlassWritableDatabase::invalidate_doc_object(Xapian::Document::Internal*) const 235954
GlassWritableDatabase::open_document(unsigned int, bool) const 240206
GlassDatabase::get_total_length() const 249303
GlassDatabase::get_wdf_upper_bound(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 312731
GlassDatabase::get_freqs(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int*, unsigned int*) const 339117
GlassDatabase::open_document(unsigned int, bool) const 489176
GlassDatabase::get_doclength_lower_bound() const 491608
GlassDatabase::get_doccount() const 504497
GlassDatabase::get_doclength(unsigned int) const 28886372

Generated by: LCOV version 1.11