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
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
xaccTransGetDatePostedGDate 0
xaccTransGetFirstPaymentAcctSplit 0
xaccTransGetPaymentAcctSplitList 0
xaccTransGetReversedBy 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
xaccTransCopyFromClipBoard 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
xaccTransSetDocLink 10
xaccTransCloneNoKvp 11
xaccTransGetImbalance 13
check_open(transaction_s const*) 15
xaccTransClearReadOnly 16
xaccTransGetAccountAmount 16
xaccTransRollbackEdit 16
xaccTransGetDocLink 20
xaccTransGetFirstAPARAcctSplit 22
xaccDisableDataScrubbing() 27
xaccEnableDataScrubbing() 27
xaccTransSetIsClosingTxn 27
gnc_transaction_class_init(_TransactionClass*) 40
_utest_trans_fill_functions() 41
xaccTransFindSplitByAccount 50
xaccTransLookup 56
xaccTransSetDateDue 64
xaccTransIsOpen 74
xaccTransRetDateDue 80
xaccTransRegister() 81
xaccTransSetNotes 87
xaccTransSetTxnType 88
xaccTransSetDatePostedSecsNormalized 100
xaccTransVoid 103
destroy_gains(transaction_s*) 116
gnc_transaction_set_property(_GObject*, unsigned int, _GValue const*, _GParamSpec*) 128
split_set_new_value(split_s*, gnc_commodity_s*, gnc_commodity_s*, _gnc_numeric) 130
gnc_transaction_book_end(_QofBook*) 153
xaccTransSetReadOnly 171
compare_split_guids(void const*, void const*) 201
find_new_rate(transaction_s*, gnc_commodity_s*) 201
xaccTransCountSplits 237
xaccTransEqual 267
xaccTransGetTxnType 354
xaccTransRetDateEntered 378
xaccTransGetSplit 382
xaccTransSetNum 840
xaccTransSetDatePostedSecs 1150
xaccTransSetDateEnteredSecs 1211
xaccTransSetDate 1975
gnc_transaction_get_property(_GObject*, unsigned int, _GValue*, _GParamSpec*) 2038
xaccTransGetNum 2147
xaccTransSetDatePostedGDate 2173
destroy_tx_on_book_close(QofInstance_s*, void*) 2246
do_destroy(QofInstance_s*) 2361
xaccTransClearSplits 2367
xaccTransDestroy 2375
xaccTransGetReadOnly 2492
xaccTransIsBalanced 2995
xaccTransGetImbalanceValue 3027
xaccTransSetDescription 3319
set_gains_date_dirty(transaction_s*) 3323
xaccInitTransaction(transaction_s*, _QofBook*) 3431
xaccMallocTransaction 3432
xaccTransSetCurrency 3578
xaccTransSetDateInternal(transaction_s*, long*, long) 4534
trans_cleanup_commit(QofInstance_s*) 4539
xaccTransSortSplits 4543
gen_event_trans(transaction_s*) 4552
dupe_trans(transaction_s const*) 4772
xaccTransGetSplitIndex 4869
xaccTransGetDescription 5038
xaccTransGetNotes 5678
xaccTransGetVoidStatus 5857
xaccTransGetVoidReason 5863
xaccTransUseTradingAccounts 5997
xaccTransGetSplitList 6466
was_trans_emptied(transaction_s*) 6898
xaccFreeTransaction(transaction_s*) 7031
gnc_transaction_finalize(_GObject*) 7114
gnc_transaction_dispose(_GObject*) 7115
gnc_transaction_init(transaction_s*) 8218
mark_trans(transaction_s*) 8755
trans_reverse_order(transaction_s const*, transaction_s const*) 10449
xaccTransStillHasSplit 23761
gnc_transaction_get_type 30474
gnc_transaction_class_intern_init(void*) 40
gnc_transaction_get_type_once() 41
gnc_transaction_get_type 30393
order_by_int64_or_string(char const*, char const*) 61180
xaccTransCommitEdit 81342
xaccTransBeginEdit 81463
xaccTransRetDatePosted 169521
xaccTransGetCurrency 199529
xaccTransGetIsClosingTxn 222771
xaccTransGetDate 604840
xaccTransOrder 730275
xaccTransOrder_num_action 730290

Generated by: LCOV version 2.0-1