LCOV - code coverage report
Current view: top level - libgnucash/engine - Transaction.cpp (source / functions) Coverage Total Hit
Test: gnucash.info Lines: 81.0 % 1215 984
Test Date: 2025-03-30 14:51:15 Functions: 84.2 % 120 101
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
_utest_trans_fill_functions() 41
check_open(transaction_s const*) 15
compare_split_guids(void const*, void const*) 201
counter_thunk(transaction_s*, void*) 8
destroy_gains(transaction_s*) 116
destroy_tx_on_book_close(QofInstance_s*, void*) 2246
do_destroy(QofInstance_s*) 2361
dupe_trans(transaction_s const*) 4772
find_new_rate(transaction_s*, gnc_commodity_s*) 201
gen_event_trans(transaction_s*) 4552
gnc_book_count_transactions 8
gnc_transaction_book_end(_QofBook*) 153
gnc_transaction_class_init(_TransactionClass*) 40
gnc_transaction_dispose(_GObject*) 7115
gnc_transaction_finalize(_GObject*) 7114
gnc_transaction_get_property(_GObject*, unsigned int, _GValue*, _GParamSpec*) 2038
gnc_transaction_get_type 30474
gnc_transaction_class_intern_init(void*) 40
gnc_transaction_get_type 30393
gnc_transaction_get_type_once() 41
gnc_transaction_init(transaction_s*) 8218
gnc_transaction_set_property(_GObject*, unsigned int, _GValue const*, _GParamSpec*) 128
mark_trans(transaction_s*) 8755
order_by_int64_or_string(char const*, char const*) 61180
qofTransSetDescription(transaction_s*, char const*) 0
qofTransSetNotes(transaction_s*, char const*) 0
qofTransSetNum(transaction_s*, char const*) 0
record_price(split_s*, PriceSource) 0
set_gains_date_dirty(transaction_s*) 3323
split_set_new_value(split_s*, gnc_commodity_s*, gnc_commodity_s*, _gnc_numeric) 130
trans_cleanup_commit(QofInstance_s*) 4539
trans_is_balanced_p(transaction_s const*) 0
trans_on_error(QofInstance_s*, QofBackendError) 1
trans_reverse_order(transaction_s const*, transaction_s const*) 10449
was_trans_emptied(transaction_s*) 6898
xaccDisableDataScrubbing() 27
xaccEnableDataScrubbing() 27
xaccFreeTransaction(transaction_s*) 7031
xaccInitTransaction(transaction_s*, _QofBook*) 3431
xaccMallocTransaction 3432
xaccTransBeginEdit 81463
xaccTransClearReadOnly 16
xaccTransClearSplits 2367
xaccTransClone 7
xaccTransCloneNoKvp 11
xaccTransCommitEdit 81342
xaccTransCopyFromClipBoard 2
xaccTransCopyOnto 0
xaccTransCopyToClipBoard 0
xaccTransCountSplits 237
xaccTransDestroy 2375
xaccTransEqual 267
xaccTransFindSplitByAccount 50
xaccTransGetAPARAcctSplitList 9
xaccTransGetAccountAmount 16
xaccTransGetAccountBalance 4
xaccTransGetAccountConvRate 4
xaccTransGetAccountValue 4
xaccTransGetCurrency 199529
xaccTransGetDate 604840
xaccTransGetDateEntered 4
xaccTransGetDatePostedGDate 0
xaccTransGetDescription 5038
xaccTransGetDocLink 20
xaccTransGetFirstAPARAcctSplit 22
xaccTransGetFirstPaymentAcctSplit 0
xaccTransGetImbalance 13
xaccTransGetImbalanceValue 3027
xaccTransGetIsClosingTxn 222771
xaccTransGetNotes 5678
xaccTransGetNum 2147
xaccTransGetPaymentAcctSplitList 0
xaccTransGetReadOnly 2492
xaccTransGetReversedBy 0
xaccTransGetSplit 382
xaccTransGetSplitIndex 4869
xaccTransGetSplitList 6466
xaccTransGetTxnType 354
xaccTransGetVoidReason 5863
xaccTransGetVoidStatus 5857
xaccTransGetVoidTime 3
xaccTransHasReconciledSplits 0
xaccTransHasReconciledSplitsByAccount 0
xaccTransHasSplitsInState 0
xaccTransHasSplitsInStateByAccount 0
xaccTransIsBalanced 2995
xaccTransIsOpen 74
xaccTransIsReadonlyByPostedDate 0
xaccTransIsSXTemplate(transaction_s const*) 0
xaccTransLookup 56
xaccTransOrder 730275
xaccTransOrder_num_action 730290
xaccTransRecordPrice 0
xaccTransRegister() 81
xaccTransRetDateDue 80
xaccTransRetDateEntered 378
xaccTransRetDatePosted 169521
xaccTransReverse 2
xaccTransRollbackEdit 16
xaccTransScrubGains 0
xaccTransScrubGainsDate(transaction_s*) 3
xaccTransSetCurrency 3578
xaccTransSetDate 1975
xaccTransSetDateDue 64
xaccTransSetDateEnteredSecs 1211
xaccTransSetDateInternal(transaction_s*, long*, long) 4534
xaccTransSetDatePostedGDate 2173
xaccTransSetDatePostedSecs 1150
xaccTransSetDatePostedSecsNormalized 100
xaccTransSetDescription 3319
xaccTransSetDocLink 10
xaccTransSetIsClosingTxn 27
xaccTransSetNotes 87
xaccTransSetNum 840
xaccTransSetReadOnly 171
xaccTransSetTxnType 88
xaccTransSortSplits 4543
xaccTransStillHasSplit 23761
xaccTransUnvoid 3
xaccTransUseTradingAccounts 5997
xaccTransVoid 103

Generated by: LCOV version 2.0-1