LCOV - code coverage report
Current view: top level - libgnucash/engine - Transaction.cpp (source / functions) Coverage Total Hit
Test: gnucash.info Lines: 82.0 % 1112 912
Test Date: 2025-08-26 06:50:40 Functions: 86.1 % 122 105
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
qofTransSetDescription(transaction_s*, char const*) 0
qofTransSetNotes(transaction_s*, char const*) 0
qofTransSetNum(transaction_s*, char const*) 0
record_price(split_s*, PriceSource) 0
trans_is_balanced_p(transaction_s const*) 0
xaccTransCopyOnto 0
xaccTransCopyToClipBoard 0
xaccTransGetFirstPaymentAcctSplit 0
xaccTransGetPaymentAcctSplitList 0
xaccTransHasReconciledSplits 0
xaccTransHasReconciledSplitsByAccount 0
xaccTransHasSplitsInState 0
xaccTransHasSplitsInStateByAccount 0
xaccTransIsReadonlyByPostedDate 0
xaccTransIsSXTemplate(transaction_s const*) 0
xaccTransRecordPrice 0
xaccTransScrubGains 0
trans_on_error(QofInstance_s*, QofBackendError) 1
xaccTransGetReversedBy 1
xaccTransCopyFromClipBoard 2
xaccTransGetDatePostedGDate 2
xaccTransReverse 2
xaccTransGetVoidTime 3
xaccTransScrubGainsDate(transaction_s*) 3
xaccTransUnvoid 3
xaccTransGetAccountBalance 4
xaccTransGetAccountConvRate 4
xaccTransGetAccountValue 4
xaccTransGetDateEntered 4
xaccTransClone 7
counter_thunk(transaction_s*, void*) 8
gnc_book_count_transactions 8
xaccTransGetAPARAcctSplitList 9
xaccTransCloneNoKvp 11
xaccTransSetDocLink 11
xaccTransGetImbalance 13
check_open(transaction_s const*) 15
xaccTransClearReadOnly 16
xaccTransGetAccountAmount 16
xaccTransRollbackEdit 16
xaccTransGetFirstAPARAcctSplit 22
xaccTransGetDocLink 25
xaccTransSetIsClosingTxn 27
xaccDisableDataScrubbing() 28
xaccEnableDataScrubbing() 28
gnc_transaction_class_init(_TransactionClass*) 41
_utest_trans_fill_functions() 43
xaccTransFindSplitByAccount 50
xaccTransLookup 58
xaccTransIsOpen 74
xaccTransSetDateDue 75
xaccTransRegister() 82
xaccTransRetDateDue 85
xaccTransSetNotes 91
xaccTransSetTxnType 98
xaccTransVoid 103
xaccTransSetDatePostedSecsNormalized 109
destroy_gains(transaction_s*) 116
split_set_new_value(split_s*, gnc_commodity_s*, gnc_commodity_s*, _gnc_numeric) 130
gnc_transaction_set_property(_GObject*, unsigned int, _GValue const*, _GParamSpec*) 137
gnc_transaction_book_end(_QofBook*) 154
xaccTransSetReadOnly 180
compare_split_guids(void const*, void const*) 201
find_new_rate(transaction_s*, gnc_commodity_s*) 201
xaccTransCountSplits 237
xaccTransEqual 268
xaccTransGetTxnType 361
xaccTransRetDateEntered 378
xaccTransGetSplit 382
set_kvp_string_path(transaction_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&, char const*) 706
xaccTransSetNum 854
xaccTransSetDatePostedSecs 1160
xaccTransSetDateEnteredSecs 1227
xaccTransSetDate 1978
gnc_transaction_get_property(_GObject*, unsigned int, _GValue*, _GParamSpec*) 2039
xaccTransGetNum 2160
xaccTransSetDatePostedGDate 2185
destroy_tx_on_book_close(QofInstance_s*, void*) 2255
do_destroy(QofInstance_s*) 2370
xaccTransClearSplits 2376
xaccTransDestroy 2384
xaccTransGetReadOnly 2507
xaccTransIsBalanced 3021
xaccTransGetImbalanceValue 3053
xaccTransSetDescription 3338
set_gains_date_dirty(transaction_s*) 3345
xaccInitTransaction(transaction_s*, _QofBook*) 3452
xaccMallocTransaction 3453
xaccTransSetCurrency 3599
xaccTransSetDateInternal(transaction_s*, long*, long) 4572
trans_cleanup_commit(QofInstance_s*) 4577
xaccTransSortSplits 4581
gen_event_trans(transaction_s*) 4590
dupe_trans(transaction_s const*) 4810
xaccTransGetSplitIndex 4887
xaccTransGetDescription 5053
xaccTransGetNotes 5724
xaccTransGetVoidStatus 5871
xaccTransGetVoidReason 5880
xaccTransUseTradingAccounts 6049
xaccTransGetSplitList 6506
was_trans_emptied(transaction_s*) 6945
xaccFreeTransaction(transaction_s*) 7078
gnc_transaction_finalize(_GObject*) 7163
gnc_transaction_dispose(_GObject*) 7164
gnc_transaction_init(transaction_s*) 8277
mark_trans(transaction_s*) 8828
trans_reverse_order(transaction_s const*, transaction_s const*) 10456
get_kvp_string_path(transaction_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&) 14244
xaccTransStillHasSplit 23912
gnc_transaction_get_type 31387
gnc_transaction_class_intern_init(void*) 41
gnc_transaction_get_type_once() 42
gnc_transaction_get_type 31304
order_by_int64_or_string(char const*, char const*) 61345
xaccTransCommitEdit 82168
xaccTransBeginEdit 82289
xaccTransRetDatePosted 169751
xaccTransGetCurrency 199604
xaccTransGetIsClosingTxn 223341
xaccTransGetDate 525252
xaccTransOrder 730984
xaccTransOrder_num_action 730999

Generated by: LCOV version 2.0-1