LCOV - code coverage report
Current view: top level - libgnucash/engine - qofinstance.cpp (source / functions) Coverage Total Hit
Test: gnucash.info Lines: 70.5 % 590 416
Test Date: 2025-08-26 06:50:40 Functions: 88.7 % 97 86
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
qof_instance_foreach_slot 0
qof_instance_get_slots_prefix(QofInstance_s const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 0
qof_instance_get_slots_prefix(QofInstance_s const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, KvpValueImpl*)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, KvpValueImpl*) const 0
qof_instance_kvp_merge_guids 0
qof_instance_kvp_remove_guid 0
qof_instance_print_dirty 0
qof_instance_set_idata 0
qof_instance_set_version 0
qof_instance_set_version_check 0
qof_instance_slot_delete 0
wrap_gvalue_function(char const*, KvpValueImpl*, (anonymous namespace)::wrap_param&) 0
kvp_match_guid(KvpValueImpl*, 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&, _gncGuid const*) 1
qof_instance_get_idata 1
qof_instance_get_version 1
qof_instance_kvp_has_guid 1
qof_instance_get_display_name 2
qof_instance_kvp_as_string 2
qof_instance_get_version_check 3
qof_instance_has_path_slot(QofInstance_s 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&) 3
qof_instance_slot_path_delete(QofInstance_s 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&) 3
qof_instance_slot_path_delete_if_empty(QofInstance_s 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&) 5
qof_instance_get_referring_object_list 6
qof_instance_set_dirty_flag 6
qof_instance_set_last_update 6
qof_instance_set_book 7
qof_instance_kvp_add_guid 8
qof_instance_version_cmp 8
qof_instance_reset_editlevel 9
qof_instance_copy_version_check 11
qof_instance_swap_kvp 13
get_referring_object_helper(QofCollection_s*, void*) 18
qof_instance_get_typed_referring_object_list 20
qof_instance_get_referring_object_list_from_collection 21
get_referring_object_instance_helper(QofInstance_s*, void*) 72
qof_instance_class_init(_QofInstanceClass*) 74
qof_instance_get_dirty_flag 80
get_typed_referring_object_instance_helper(QofInstance_s*, void*) 85
qof_instance_refers_to_object 87
qof_instance_get_infant 122
qof_instance_set_path_kvp(QofInstance_s*, _GValue 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&) 137
qof_instance_get_property(_GObject*, unsigned int, _GValue*, _GParamSpec*) 140
qof_instance_set 360
qof_instance_has_slot 375
qof_instance_slot_delete_if_empty 455
qof_instance_compare_kvp 462
qof_instance_set_slots 1367
qof_instance_has_kvp 1677
qof_instance_set_kvp 2131
qof_instance_copy_guid 2758
qof_instance_get_slots 3017
qof_instance_copy_version 4848
void qof_instance_set_path_kvp<long>(QofInstance_s*, std::optional<long>, 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&) 5480
void qof_instance_set_path_kvp(QofInstance_s*, std::optional, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 46
void qof_instance_set_path_kvp(QofInstance_s*, std::optional, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 75
void qof_instance_set_path_kvp<_gncGuid*>(QofInstance_s*, std::optional<_gncGuid*>, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 83
void qof_instance_set_path_kvp<_gnc_numeric>(QofInstance_s*, std::optional<_gnc_numeric>, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 430
void qof_instance_set_path_kvp<_GDate>(QofInstance_s*, std::optional<_GDate>, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 2185
void qof_instance_set_path_kvp(QofInstance_s*, std::optional, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 2661
qof_instance_get_kvp 5921
qof_instance_decrease_editlevel 6751
qof_instance_get_path_kvp(QofInstance_s*, _GValue*, 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&) 7009
qof_instance_copy_book 7568
qof_instance_copy_kvp 7655
qof_instance_increase_editlevel 9115
qof_instance_books_equal 9856
qof_instance_get 10600
qof_instance_mark_clean 15016
qof_instance_guid_compare 32431
qof_instance_get_dirty 40528
qof_instance_set_property(_GObject*, unsigned int, _GValue const*, _GParamSpec*) 50215
qof_instance_set_destroying 51604
qof_instance_get_editlevel 58307
qof_instance_set_guid 59701
qof_instance_init_data 87876
qof_instance_finalize(_GObject*) 112523
qof_instance_finalize_real(_GObject*) 112523
qof_instance_dispose(_GObject*) 120156
qof_instance_init(QofInstance_s*) 145613
qof_commit_edit_part2 160567
qof_instance_get_destroying 240495
qof_instance_get_collection 302763
std::optional<long> qof_instance_get_path_kvp<long>(QofInstance_s*, 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&) 306575
std::optional<_GDate> qof_instance_get_path_kvp<_GDate>(QofInstance_s*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 2
std::optional qof_instance_get_path_kvp(QofInstance_s*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 85
std::optional<_gnc_numeric> qof_instance_get_path_kvp<_gnc_numeric>(QofInstance_s*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 89
std::optional<_gncGuid*> qof_instance_get_path_kvp<_gncGuid*>(QofInstance_s*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 306
std::optional qof_instance_get_path_kvp(QofInstance_s*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 82731
std::optional qof_instance_get_path_kvp(QofInstance_s*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 223362
qof_entity_get_guid 311177
qof_instance_set_collection 340418
qof_instance_set_dirty 590992
qof_commit_edit 637272
qof_begin_edit 638027
qof_instance_get_guid 959638
qof_instance_get_book 1214812
qof_instance_get_type 12443619
qof_instance_class_intern_init(void*) 74
qof_instance_get_type_once() 74
qof_instance_get_instance_private(QofInstance_s*) 5996635
qof_instance_get_type 6446836

Generated by: LCOV version 2.0-1