LCOV - code coverage report
Current view: top level - libgnucash/engine - gnc-commodity.cpp (source / functions) Coverage Total Hit
Test: gnucash.info Lines: 76.4 % 928 709
Test Date: 2025-08-26 06:50:40 Functions: 85.7 % 133 114
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
auto gnc_quote_source_get_index::{lambda(auto:1 const&)#1}::operator()<gnc_quote_source_s>(gnc_quote_source_s const&) const 0
commit_err(QofInstance_s*, QofBackendError) 0
commodity_table_get_all_noncurrency_commodities(gnc_commodity_table_s const*) 0
get_quotables_helper1(void*, void*, void*) 0
get_quotables_helper2(gnc_commodity_s*, void*) 0
gnc_commodity_clone 0
gnc_commodity_compare_void 0
gnc_commodity_get_namespace_ds 0
gnc_commodity_namespace_get_commodity_list 0
gnc_commodity_namespace_get_gui_name 0
gnc_commodity_table_find_full 0
gnc_commodity_table_get_quotable_commodities 0
gnc_commodity_table_lookup_unique 0
gnc_commodity_user_set_quote_flag 0
gnc_quote_source_fq_installed 0
gnc_quote_source_fq_version 0
gnc_quote_source_get_index 0
gnc_quote_source_get_type 0
gnc_quote_source_s::get_type() const 0
gnc_commodity_obtain_twin 1
gnc_commodity_set_auto_quote_control_flag 2
gnc_commodity_table_get_namespaces_list 2
gnc_quote_source_get_user_name 2
gnc_quote_source_s::get_user_name() const 2
gnc_commodity_get_quote_tz 4
gnc_quote_source_num_entries 5
gnc_quote_source_lookup_by_ti 6
gnc_commodity_set_user_symbol 7
get_quote_source_from_type(QuoteSourceType) 11
gnc_monetary_list_free 11
gnc_monetary_list_delete_zeros 12
gnc_quote_source_s::set_supported(bool) 15
gnc_quote_source_set_fq_installed(char const*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) 15
gnc_commodity_table_has_namespace 20
gnc_quote_source_add_new 21
gnc_quote_source_get_supported 23
gnc_quote_source_s::get_supported() const 23
gnc_commodity_table_foreach_commodity 26
auto get_quote_source_from_type(QuoteSourceType)::{lambda(auto:1 const&)#1}::operator()<std::pair<QuoteSourceType, std::__cxx11::list<gnc_quote_source_s, std::allocator<gnc_quote_source_s> >&> >(std::pair<QuoteSourceType, std::__cxx11::list<gnc_quote_source_s, std::allocator<gnc_quote_source_s> >&> const&) const 38
gnc_commodity_find_commodity_by_guid 38
gnc_monetary_list_add_monetary 44
gnc_commodity_get_cusip 46
gnc_commodity_set_property(_GObject*, unsigned int, _GValue const*, _GParamSpec*) 48
gnc_commodity_table_get_size 49
gnc_commodity_class_init(_GncCommodityClass*) 63
gnc_commodity_copy 64
iter_namespace(void*, void*, void*) 67
gnc_commodity_get_fullname 70
gnc_commodity_get_unique_name 82
gnc_quote_source_get_internal_name 83
gnc_commodity_set_quote_tz 91
gnc_commodity_table_register 100
gnc_commodity_get_default_quote_source 146
gnc_commodity_get_quote_source 167
count_coms(void*, void*, void*) 172
commodity_table_book_end(_QofBook*) 175
gnc_commodity_table_destroy 188
g_hash_table_values(_GHashTable*) 240
gnc_commodity_table_get_commodities 240
g_hash_table_keys(_GHashTable*) 241
gnc_commodity_table_get_namespaces 241
gnc_commodity_table_add_default_data 268
commodity_table_book_begin(_QofBook*) 279
gnc_commodity_table_new 292
gnc_commodity_get_property(_GObject*, unsigned int, _GValue*, _GParamSpec*) 318
gnc_commodity_set_quote_flag 380
gnc_commodity_namespace_dispose_real(_GObject*) 564
gnc_commodity_namespace_finalize_real(_GObject*) 564
gnc_commodity_table_delete_namespace 564
gnc_commodity_get_auto_quote_control_flag 870
gnc_commodity_namespace_init(gnc_commodity_namespace_s*) 913
gnc_commodity_get_quote_flag 1042
hash_keys_helper(void*, void*, void*) 1642
gnc_commodity_namespace_get_type 2292
gnc_commodity_namespace_class_init(_GncCommodityNamespaceClass*) 60
gnc_commodity_namespace_class_intern_init(void*) 60
gnc_commodity_namespace_get_type_once() 63
gnc_commodity_namespace_dispose(_GObject*) 564
gnc_commodity_namespace_finalize(_GObject*) 564
gnc_commodity_namespace_get_type 981
gnc_commodity_increment_usage_count 3064
gnc_commodity_is_currency 3888
iter_commodity(void*, void*, void*) 5100
gnc_commodity_decrement_usage_count 5164
gnc_quote_source_s::gnc_quote_source_s(int, QuoteSourceType, char const*, char const*) 5937
hash_values_helper(void*, void*, void*) 10164
gnc_commodity_get_namespace 12634
gnc_commodity_equal 14730
gnc_commodity_compare 14756
gnc_commodity_get_printname 31024
ns_helper(void*, void*, void*) 38141
comm_free(QofInstance_s*) 41825
commodity_free(gnc_commodity_s*) 41825
gnc_commodity_destroy 41825
gnc_commodity_table_remove 41825
gnc_commodity_dispose(_GObject*) 41983
gnc_commodity_finalize(_GObject*) 41983
gnc_commodity_set_default_symbol(gnc_commodity_s*, char const*) 60836
gnc_commodity_get_default_symbol 61128
gnc_commodity_get_nice_symbol 61585
gnc_commodity_get_user_symbol 61587
gnc_commodity_table_insert 62909
gnc_commodity_set_quote_source 63415
gnc_commodity_set_namespace 66792
gnc_commodity_init(gnc_commodity_s*) 66793
gnc_commodity_new 66793
gnc_commodity_set_cusip 66912
gnc_commodity_set_fraction 66969
gnc_commodity_set_fullname 66969
gnc_commodity_set_mnemonic 66988
gnc_commodity_namespace_is_iso 67696
noop(QofInstance_s*) 67888
gnc_commodity_table_lookup 78347
gnc_commodity_namespace_get_name 84025
gnc_commodity_equiv 118679
gnc_commodity_table_get_table 119721
gnc_quote_source_lookup_by_internal 126103
auto gnc_quote_source_lookup_by_internal::{lambda(auto:1 const&)#1}::operator()<gnc_quote_source_s>(gnc_quote_source_s const&) const 126227
gnc_quote_source_s::get_internal_name() const 126760
gnc_commodity_table_add_namespace 129921
gnc_commodity_get_mnemonic 130278
gnc_commodity_is_iso 174926
gnc_commodity_get_fraction 181633
reset_unique_name(gnc_commodityPrivate*) 200177
gnc_commodity_table_find_namespace 208783
reset_printname(gnc_commodityPrivate*) 267101
gnc_commodity_table_map_namespace(char const*) 338372
mark_commodity_dirty(gnc_commodity_s*) 464768
gnc_commodity_begin_edit 506807
gnc_commodity_commit_edit 506807
gnc_commodity_get_type 1700665
gnc_commodity_class_intern_init(void*) 63
gnc_commodity_get_type_once() 71
gnc_commodity_get_type 420309
gnc_commodity_get_instance_private(gnc_commodity_s*) 1280222

Generated by: LCOV version 2.0-1