LCOV - code coverage report
Current view: top level - backends/glass - glass_database.cc (source / functions) Hit Total Coverage
Test: Test Coverage for xapian-core 4ba52dacf4fb Lines: 687 754 91.1 %
Date: 2019-05-20 14:58:19 Functions: 94 96 97.9 %
Branches: 569 1032 55.1 %

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 71
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&) 87
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 96
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 144
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 283
GlassDatabase::GlassDatabase(int) 308
GlassDatabase::get_used_docid_range(unsigned int&, unsigned int&) const 409
GlassWritableDatabase::close() 615
GlassDatabase::close() 630
GlassDatabase::open_allterms(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 650
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) 946
GlassWritableDatabase::open_position_list(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 1218
GlassDatabase::database_exists() 1278
GlassWritableDatabase::open_leaf_post_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const 1299
GlassDatabase::get_uuid() const 1325
GlassDatabase::get_database_write_lock(int, bool) 1484
GlassWritableDatabase::GlassWritableDatabase(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) 1488
GlassDatabase::get_value_freq(unsigned int) const 1637
GlassDatabase::get_value_lower_bound(unsigned int) const 2391
GlassDatabase::get_value_upper_bound(unsigned int) const 2483
GlassDatabase::term_exists(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 2501
GlassWritableDatabase::~GlassWritableDatabase() 2938
GlassDatabase::open_tables(int) 3090
GlassDatabase::read_position_list(GlassRePositionList*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 3192
GlassDatabase::GlassDatabase(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, unsigned int) 3667
GlassWritableDatabase::get_freqs(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int*, unsigned int*) const 3860
GlassDatabase::open_post_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 3905
GlassDatabase::get_doclength_upper_bound() const 4431
GlassDatabase::~GlassDatabase() 6437
GlassWritableDatabase::flush_postlist_changes() const 9016
GlassDatabase::get_next_revision_number() const 9091
GlassDatabase::set_revision_number(int, unsigned int) 9091
GlassWritableDatabase::open_value_list(unsigned int) const 9563
GlassWritableDatabase::get_unique_terms(unsigned int) const 12172
GlassWritableDatabase::delete_document(unsigned int) 12926
GlassDatabase::apply() 13136
GlassWritableDatabase::apply() 13136
GlassWritableDatabase::commit() 13142
GlassWritableDatabase::has_positions() const 14044
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 27522
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 33788
GlassDatabase::get_lastdocid() const 45789
GlassWritableDatabase::replace_document(unsigned int, Xapian::Document const&) 54352
GlassDatabase::open_position_list(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 73390
GlassDatabase::open_term_list(unsigned int) const 75007
GlassWritableDatabase::add_document(Xapian::Document const&) 87599
GlassDatabase::open_synonym_termlist(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 103032
GlassWritableDatabase::add_document_(unsigned int, Xapian::Document const&) 109654
GlassDatabase::has_positions() const 114585
GlassDatabase::open_leaf_post_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const 116072
GlassDatabase::readahead_for_query(Xapian::Query const&) const 122836
GlassWritableDatabase::check_flush_threshold() 134672
GlassWritableDatabase::get_doclength(unsigned int) const 187113
GlassWritableDatabase::invalidate_doc_object(Xapian::Document::Internal*) const 235929
GlassWritableDatabase::open_document(unsigned int, bool) const 240181
GlassDatabase::get_total_length() const 248759
GlassDatabase::get_wdf_upper_bound(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 312235
GlassDatabase::get_freqs(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int*, unsigned int*) const 336823
GlassDatabase::open_document(unsigned int, bool) const 489013
GlassDatabase::get_doclength_lower_bound() const 490822
GlassDatabase::get_doccount() const 503695
GlassDatabase::get_doclength(unsigned int) const 28881902

Generated by: LCOV version 1.11