LCOV - code coverage report
Current view: top level - libgnucash/backend/sql - gnc-sql-backend.cpp (source / functions) Hit Total Coverage
Test: gnucash.info Lines: 424 496 85.5 %
Date: 2024-10-31 11:06:40 Functions: 43 51 84.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

Function Name Sort by function name Hit count Sort by hit count
GncSqlBackend::upgrade_table(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) 0
GncSqlBackend::ObjectBackendRegistry::register_backend(std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<GncSqlObjectBackend> >&&) 0
GncSqlBackend::commodity_for_postload_processing(gnc_commodity_s*) 0
GncSqlBackend::rollback(QofInstance_s*) 0
GncSqlBackend::~GncSqlBackend() 0
GncSqlBackend::quote_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 0
GncSqlBackend::add_columns_to_table(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) const 0
GncSqlBackend::load(_QofBook*, QofBackendLoadType)::{lambda(gnc_commodity_s*)#1}::operator()(gnc_commodity_s*) const 0
GncSqlBackend::write_accounts() 5
GncSqlBackend::init_version_info() 5
GncSqlBackend::reset_version_info() 5
GncSqlBackend::write_transactions() 5
GncSqlBackend::write_schedXactions() 5
GncSqlBackend::ObjectBackendRegistry::load_remaining(GncSqlBackend*) 5
GncSqlBackend::write_template_transactions() 5
GncSqlBackend::sync(_QofBook*) 5
GncSqlBackend::load(_QofBook*, QofBackendLoadType) 6
GncSqlBackend::build_update_statement(char const*, char const*, void*, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) const 6
write_tx(transaction_s*, void*) 9
GncSqlBackend::get_object_backend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 9
scrub_txn_callback(QofInstance_s*, void*) 10
GncSqlBackend::create_tables() 10
GncSqlBackend::write_account_tree(account_s*) 10
GncSqlBackend::ObjectBackendRegistry::ObjectBackendRegistry() 10
GncSqlBackend::GncSqlBackend(GncSqlConnection*, _QofBook*) 10
GncSqlBackend::~GncSqlBackend().2 10
GncSqlBackend::finish_progress() const 11
GncSqlBackend::build_delete_statement(char const*, char const*, void*, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) const 13
GncSqlBackend::create_index(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) const 20
GncSqlBackend::save_commodity(gnc_commodity_s*) 37
GncSqlBackend::object_in_db(char const*, char const*, void*, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) const 45
GncSqlBackend::connect(GncSqlConnection*) 47
GncSqlBackend::finalize_version_info() 65
GncSqlBackend::create_table(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) 75
GncSqlBackend::create_table(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) const 115
GncSqlBackend::set_table_version(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) 124
GncSqlBackend::ObjectBackendRegistry::get_object_backend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 125
GncSqlBackend::build_insert_statement(char const*, char const*, void*, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) const 160
GncSqlBackend::do_db_operation(E_DB_OPERATION, char const*, char const*, void*, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) const 179
GncSqlBackend::ObjectBackendRegistry::register_backend(std::shared_ptr<GncSqlObjectBackend>) 200
get_object_values(char const*, void*, std::vector<std::shared_ptr<GncSqlColumnTableEntry>, std::allocator<std::shared_ptr<GncSqlColumnTableEntry> > > const&) 211
GncSqlBackend::get_table_version(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 231
GncSqlBackend::execute_select_statement(std::unique_ptr<GncSqlStatement, std::default_delete<GncSqlStatement> > const&) const 238
GncSqlBackend::execute_nonselect_statement(std::unique_ptr<GncSqlStatement, std::default_delete<GncSqlStatement> > const&) const 304
GncSqlBackend::update_progress(double) const 335
GncSqlBackend::begin(QofInstance_s*) 377
GncSqlBackend::commit(QofInstance_s*) 397
GncSqlBackend::create_statement_from_sql(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 542
GncSqlBackend::ObjectBackendRegistry::get_object_backend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<GncSqlObjectBackend> > const&)#1}::operator()(std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<GncSqlObjectBackend> > const&) const 669
GncSqlBackend::set_table_version(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)::{lambda(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned int> const&)#1}::operator()(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned int> const&) const 1386
GncSqlBackend::get_table_version(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned int> const&)#1}::operator()(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned int> const&) const 1501

Generated by: LCOV version 1.14