LCOV - code coverage report
Current view: top level - exchangedb Coverage Total Hit
Test: coverage.info Lines: 36.5 % 8370 3052
Test Date: 2026-04-14 15:39:31 Functions: 50.0 % 424 212

File Sort by file name Line Coverage Sort by line coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit
count_known_coins.c
0.0%
0.0 % 10 0.0 % 1
delete_shard_locks.c
0.0%
0.0 % 5 0.0 % 1
disable_rules.c
0.0%
0.0 % 12 0.0 % 1
do_recoup.c
0.0%
0.0 % 19 0.0 % 1
do_recoup_refresh.c
0.0%
0.0 % 15 0.0 % 1
enable_rules.c
0.0%
0.0 % 18 0.0 % 1
exchangedb_transactions.c
0.0%
0.0 % 96 0.0 % 1
gc.c
0.0%
0.0 % 18 0.0 % 1
get_denomination_by_serial.c
0.0%
0.0 % 18 0.0 % 1
get_denomination_info.c
0.0%
0.0 % 24 0.0 % 1
get_denomination_revocation.c
0.0%
0.0 % 8 0.0 % 1
get_drain_profit.c
0.0%
0.0 % 12 0.0 % 1
get_known_coin.c
0.0%
0.0 % 12 0.0 % 1
get_old_coin_by_h_blind.c
0.0%
0.0 % 8 0.0 % 1
get_policy_details.c
0.0%
0.0 % 12 0.0 % 1
get_purse_deposit.c
0.0%
0.0 % 13 0.0 % 1
get_reserve_by_h_planchets.c
0.0%
0.0 % 8 0.0 % 1
have_deposit2.c
0.0%
0.0 % 26 0.0 % 1
inject_auditor_triggers.c
0.0%
0.0 % 8 0.0 % 1
insert_active_legitimization_measure.c
0.0%
0.0 % 10 0.0 % 1
insert_aml_program_failure.c
0.0%
0.0 % 18 0.0 % 1
insert_denomination_revocation.c
0.0%
0.0 % 6 0.0 % 1
insert_drain_profit.c
0.0%
0.0 % 10 0.0 % 1
insert_partner.c
0.0%
0.0 % 11 0.0 % 1
insert_refund.c
0.0%
0.0 % 11 0.0 % 1
insert_sanction_list_hit.c
0.0%
0.0 % 27 0.0 % 1
insert_signkey_revocation.c
0.0%
0.0 % 6 0.0 % 1
insert_successor_measure.c
0.0%
0.0 % 22 0.0 % 1
kyc_provider_account_lookup.c
0.0%
0.0 % 10 0.0 % 1
lookup_aml_file_number.c
0.0%
0.0 % 8 0.0 % 1
lookup_aml_officer.c
0.0%
0.0 % 11 0.0 % 1
lookup_serial_by_table.c
0.0%
0.0 % 163 0.0 % 1
persist_policy_details.c
0.0%
0.0 % 19 0.0 % 1
profit_drains_get_pending.c
0.0%
0.0 % 12 0.0 % 1
profit_drains_set_finished.c
0.0%
0.0 % 5 0.0 % 1
select_contract_by_purse.c
0.0%
0.0 % 9 0.0 % 1
select_purse_by_merge_pub.c
0.0%
0.0 % 13 0.0 % 1
select_reserve_close_request_info.c
0.0%
0.0 % 14 0.0 % 1
set_aml_lock.c
0.0%
0.0 % 17 0.0 % 1
set_purse_balance.c
0.0%
0.0 % 6 0.0 % 1
start_read_only.c
0.0%
0.0 % 15 0.0 % 1
wad_in_insert.c
0.0%
0.0 % 8 0.0 % 1
wire_prepare_data_mark_failed.c
0.0%
0.0 % 5 0.0 % 1
add_policy_fulfillment_proof.c
0.0%
0.0 % 48 0.0 % 2
iterate_kyc_reference.c
0.0%
0.0 % 19 0.0 % 2
lookup_aml_history.c
0.0%
0.0 % 36 0.0 % 2
lookup_kyc_history.c
0.0%
0.0 % 37 0.0 % 2
select_aggregations_above_serial.c
0.0%
0.0 % 24 0.0 % 2
select_all_kyc_attributes.c
0.0%
0.0 % 28 0.0 % 2
select_aml_statistics.c
0.0%
0.0 % 26 0.0 % 2
select_batch_deposits_missing_wire.c
0.0%
0.0 % 25 0.0 % 2
select_deposit_amounts_for_kyc_check.c
0.0%
0.0 % 33 0.0 % 2
select_exchange_credit_transfers.c
0.0%
0.0 % 31 0.0 % 2
select_exchange_debit_transfers.c
0.0%
0.0 % 31 0.0 % 2
select_exchange_kycauth_transfers.c
0.0%
0.0 % 31 0.0 % 2
select_kyc_accounts.c
0.0%
0.0 % 41 0.0 % 2
select_purse_deposits_by_purse.c
0.0%
0.0 % 27 0.0 % 2
select_recoup_refresh_above_serial_id.c
0.0%
0.0 % 36 0.0 % 2
select_reserves_in_above_serial_id_by_account.c
0.0%
0.0 % 30 0.0 % 2
select_wire_out_above_serial_id_by_account.c
0.0%
0.0 % 29 0.0 % 2
batch_ensure_coin_known.c
0.0%
0.0 % 215 0.0 % 4
bench_db.c
0.0%
0.0 % 180 0.0 % 9
insert_records_by_table.c
0.0%
0.0 % 802 0.0 % 50
lookup_records_by_table.c
0.0%
0.0 % 1189 0.0 % 50
account_history.c
19.0%19.0%
19.0 % 84 16 28.6 % 7 2
get_coin_transactions.c
36.5%36.5%
36.5 % 375 137 36.4 % 11 4
get_kyc_rules.c
64.3%64.3%
64.3 % 28 18 50.0 % 2 1
update_rules.c
25.3%25.3%
25.3 % 217 55 50.0 % 10 5
get_reserve_history.c
53.1%53.1%
53.1 % 311 165 60.0 % 10 6
abort_shard.c
100.0%
100.0 % 7 7 100.0 % 1 1
activate_signing_key.c
100.0%
100.0 % 9 9 100.0 % 1 1
add_denomination_key.c
100.0%
100.0 % 18 18 100.0 % 1 1
aggregate.c
90.0%90.0%
90.0 % 40 36 100.0 % 1 1
begin_revolving_shard.c
55.1%55.1%
55.1 % 107 59 100.0 % 1 1
begin_shard.c
53.6%53.6%
53.6 % 110 59 100.0 % 1 1
clear_aml_lock.c
100.0%
100.0 % 5 5 100.0 % 1 1
commit.c
100.0%
100.0 % 8 8 100.0 % 1 1
complete_shard.c
100.0%
100.0 % 8 8 100.0 % 1 1
compute_shard.c
100.0%
100.0 % 7 7 100.0 % 1 1
create_aggregation_transient.c
100.0%
100.0 % 10 10 100.0 % 1 1
create_tables.c
82.6%82.6%
82.6 % 23 19 100.0 % 1 1
delete_aggregation_transient.c
100.0%
100.0 % 6 6 100.0 % 1 1
do_check_deposit_idempotent.c
100.0%
100.0 % 41 41 100.0 % 1 1
do_deposit.c
100.0%
100.0 % 64 64 100.0 % 1 1
do_purse_delete.c
100.0%
100.0 % 11 11 100.0 % 1 1
do_purse_deposit.c
100.0%
100.0 % 23 23 100.0 % 1 1
do_purse_merge.c
100.0%
100.0 % 21 21 100.0 % 1 1
do_refresh.c
85.2%85.2%
85.2 % 54 46 100.0 % 1 1
do_refund.c
91.7%91.7%
91.7 % 24 22 100.0 % 1 1
do_reserve_open.c
93.3%93.3%
93.3 % 30 28 100.0 % 1 1
do_reserve_purse.c
100.0%
100.0 % 24 24 100.0 % 1 1
do_withdraw.c
94.4%94.4%
94.4 % 54 51 100.0 % 1 1
drain_kyc_alert.c
100.0%
100.0 % 7 7 100.0 % 1 1
drop_tables.c
70.0%70.0%
70.0 % 10 7 100.0 % 1 1
ensure_coin_known.c
65.1%65.1%
65.1 % 43 28 100.0 % 1 1
event_listen.c
100.0%
100.0 % 2 2 100.0 % 1 1
event_listen_cancel.c
100.0%
100.0 % 3 3 100.0 % 1 1
event_notify.c
100.0%
100.0 % 3 3 100.0 % 1 1
expire_purse.c
93.3%93.3%
93.3 % 15 14 100.0 % 1 1
find_aggregation_transient.c
100.0%
100.0 % 10 10 100.0 % 1 1
free_coin_transaction_list.c
38.6%38.6%
38.6 % 44 17 100.0 % 1 1
free_reserve_history.c
48.8%48.8%
48.8 % 43 21 100.0 % 1 1
get_coin_denomination.c
100.0%
100.0 % 9 9 100.0 % 1 1
get_extension_manifest.c
100.0%
100.0 % 8 8 100.0 % 1 1
get_global_fee.c
100.0%
100.0 % 15 15 100.0 % 1 1
get_pending_kyc_requirement_process.c
100.0%
100.0 % 9 9 100.0 % 1 1
get_purse_request.c
100.0%
100.0 % 13 13 100.0 % 1 1
get_ready_deposit.c
100.0%
100.0 % 14 14 100.0 % 1 1
get_refresh.c
74.3%74.3%
74.3 % 74 55 100.0 % 1 1
get_reserve_balance.c
100.0%
100.0 % 10 10 100.0 % 1 1
get_signature_for_known_coin.c
100.0%
100.0 % 9 9 100.0 % 1 1
get_wire_fee.c
100.0%
100.0 % 13 13 100.0 % 1 1
get_wire_hash_for_contract.c
100.0%
100.0 % 13 13 100.0 % 1 1
get_withdraw.c
76.1%76.1%
76.1 % 71 54 100.0 % 1 1
insert_aml_decision.c
91.7%91.7%
91.7 % 60 55 100.0 % 1 1
insert_aml_officer.c
100.0%
100.0 % 12 12 100.0 % 1 1
insert_auditor.c
100.0%
100.0 % 8 8 100.0 % 1 1
insert_auditor_denom_sig.c
100.0%
100.0 % 7 7 100.0 % 1 1
insert_close_request.c
100.0%
100.0 % 10 10 100.0 % 1 1
insert_contract.c
42.9%42.9%
42.9 % 28 12 100.0 % 1 1
insert_denomination_info.c
100.0%
100.0 % 25 25 100.0 % 1 1
insert_global_fee.c
42.1%42.1%
42.1 % 38 16 100.0 % 1 1
insert_kyc_failure.c
95.2%95.2%
95.2 % 21 20 100.0 % 1 1
insert_kyc_requirement_process.c
87.5%87.5%
87.5 % 16 14 100.0 % 1 1
insert_purse_request.c
62.9%62.9%
62.9 % 35 22 100.0 % 1 1
insert_reserve_closed.c
74.1%74.1%
74.1 % 27 20 100.0 % 1 1
insert_reserve_open_deposit.c
100.0%
100.0 % 12 12 100.0 % 1 1
insert_wire.c
100.0%
100.0 % 18 18 100.0 % 1 1
insert_wire_fee.c
48.1%48.1%
48.1 % 27 13 100.0 % 1 1
kycauth_in_insert.c
100.0%
100.0 % 21 21 100.0 % 1 1
lookup_active_legitimization.c
100.0%
100.0 % 8 8 100.0 % 1 1
lookup_auditor_status.c
100.0%
100.0 % 8 8 100.0 % 1 1
lookup_auditor_timestamp.c
100.0%
100.0 % 7 7 100.0 % 1 1
lookup_completed_legitimization.c
100.0%
100.0 % 15 15 100.0 % 1 1
lookup_denomination_key.c
100.0%
100.0 % 16 16 100.0 % 1 1
lookup_h_payto_by_access_token.c
100.0%
100.0 % 8 8 100.0 % 1 1
lookup_kyc_process_by_account.c
100.0%
100.0 % 14 14 100.0 % 1 1
lookup_kyc_requirement_by_row.c
92.3%92.3%
92.3 % 26 24 100.0 % 1 1
lookup_kyc_status_by_token.c
100.0%
100.0 % 8 8 100.0 % 1 1
lookup_pending_legitimization.c
100.0%
100.0 % 11 11 100.0 % 1 1
lookup_rules_by_access_token.c
100.0%
100.0 % 9 9 100.0 % 1 1
lookup_signing_key.c
100.0%
100.0 % 9 9 100.0 % 1 1
lookup_signkey_revocation.c
100.0%
100.0 % 7 7 100.0 % 1 1
lookup_transfer_by_deposit.c
88.9%88.9%
88.9 % 54 48 100.0 % 1 1
lookup_wire_timestamp.c
100.0%
100.0 % 7 7 100.0 % 1 1
mark_refresh_reveal_success.c
100.0%
100.0 % 5 5 100.0 % 1 1
persist_aml_program_result.c
49.0%49.0%
49.0 % 51 25 100.0 % 1 1
persist_kyc_attributes.c
91.7%91.7%
91.7 % 36 33 100.0 % 1 1
release_revolving_shard.c
100.0%
100.0 % 8 8 100.0 % 1 1
reserves_get.c
100.0%
100.0 % 10 10 100.0 % 1 1
reserves_get_origin.c
100.0%
100.0 % 8 8 100.0 % 1 1
reserves_update.c
100.0%
100.0 % 8 8 100.0 % 1 1
rollback.c
100.0%
100.0 % 9 9 100.0 % 1 1
select_aggregation_transient.c
100.0%
100.0 % 10 10 100.0 % 1 1
select_auditor_denom_sig.c
100.0%
100.0 % 8 8 100.0 % 1 1
select_contract.c
100.0%
100.0 % 9 9 100.0 % 1 1
select_purse.c
100.0%
100.0 % 16 16 100.0 % 1 1
select_purse_merge.c
100.0%
100.0 % 13 13 100.0 % 1 1
select_reserve_close_info.c
100.0%
100.0 % 9 9 100.0 % 1 1
set_extension_manifest.c
77.8%77.8%
77.8 % 9 7 100.0 % 1 1
start.c
73.3%73.3%
73.3 % 15 11 100.0 % 1 1
start_deferred_wire_out.c
68.8%68.8%
68.8 % 16 11 100.0 % 1 1
start_read_committed.c
73.3%73.3%
73.3 % 15 11 100.0 % 1 1
store_wire_transfer_out.c
100.0%
100.0 % 11 11 100.0 % 1 1
test_aml_officer.c
100.0%
100.0 % 7 7 100.0 % 1 1
trigger_kyc_rule_for_account.c
93.5%93.5%
93.5 % 31 29 100.0 % 1 1
update_aggregation_transient.c
100.0%
100.0 % 8 8 100.0 % 1 1
update_auditor.c
100.0%
100.0 % 9 9 100.0 % 1 1
update_kyc_process_by_row.c
56.8%56.8%
56.8 % 37 21 100.0 % 1 1
update_wire.c
100.0%
100.0 % 22 22 100.0 % 1 1
wire_prepare_data_insert.c
100.0%
100.0 % 6 6 100.0 % 1 1
wire_prepare_data_mark_finished.c
100.0%
100.0 % 5 5 100.0 % 1 1
get_expired_reserves.c
77.8%77.8%
77.8 % 36 28 100.0 % 2 2
get_global_fees.c
89.7%89.7%
89.7 % 29 26 100.0 % 2 2
get_unfinished_close_requests.c
77.1%77.1%
77.1 % 35 27 100.0 % 2 2
get_wire_accounts.c
80.0%80.0%
80.0 % 40 32 100.0 % 2 2
get_wire_fees.c
84.6%84.6%
84.6 % 26 22 100.0 % 2 2
iterate_active_auditors.c
88.9%88.9%
88.9 % 18 16 100.0 % 2 2
iterate_active_signkeys.c
90.9%90.9%
90.9 % 22 20 100.0 % 2 2
iterate_auditor_denominations.c
47.1%47.1%
47.1 % 17 8 100.0 % 2 2
iterate_denomination_info.c
91.4%91.4%
91.4 % 35 32 100.0 % 2 2
iterate_denominations.c
94.7%94.7%
94.7 % 38 36 100.0 % 2 2
iterate_reserve_close_info.c
57.9%57.9%
57.9 % 19 11 100.0 % 2 2
lookup_global_fee_by_time.c
28.9%28.9%
28.9 % 38 11 100.0 % 2 2
lookup_wire_fee_by_time.c
71.4%71.4%
71.4 % 28 20 100.0 % 2 2
lookup_wire_transfer.c
87.1%87.1%
87.1 % 31 27 100.0 % 2 2
pg.c
60.0%60.0%
60.0 % 55 33 100.0 % 2 2
preflight.c
90.0%90.0%
90.0 % 30 27 100.0 % 2 2
select_account_merges_above_serial_id.c
34.3%34.3%
34.3 % 35 12 100.0 % 2 2
select_aggregation_amounts_for_kyc_check.c
39.4%39.4%
39.4 % 33 13 100.0 % 2 2
select_all_purse_decisions_above_serial_id.c
44.0%44.0%
44.0 % 25 11 100.0 % 2 2
select_all_purse_deletions_above_serial_id.c
44.0%44.0%
44.0 % 25 11 100.0 % 2 2
select_aml_attributes.c
87.1%87.1%
87.1 % 31 27 100.0 % 2 2
select_aml_decisions.c
89.4%89.4%
89.4 % 47 42 100.0 % 2 2
select_aml_measures.c
85.3%85.3%
85.3 % 34 29 100.0 % 2 2
select_coin_deposits_above_serial_id.c
30.0%30.0%
30.0 % 40 12 100.0 % 2 2
select_kyc_attributes.c
83.3%83.3%
83.3 % 24 20 100.0 % 2 2
select_merge_amounts_for_kyc_check.c
39.4%39.4%
39.4 % 33 13 100.0 % 2 2
select_purse_decisions_above_serial_id.c
44.8%44.8%
44.8 % 29 13 100.0 % 2 2
select_purse_deposits_above_serial_id.c
30.8%30.8%
30.8 % 39 12 100.0 % 2 2
select_purse_merges_above_serial_id.c
34.3%34.3%
34.3 % 35 12 100.0 % 2 2
select_purse_requests_above_serial_id.c
37.5%37.5%
37.5 % 32 12 100.0 % 2 2
select_recoup_above_serial_id.c
35.3%35.3%
35.3 % 34 12 100.0 % 2 2
select_refreshes_above_serial_id.c
38.7%38.7%
38.7 % 31 12 100.0 % 2 2
select_refunds_above_serial_id.c
27.7%27.7%
27.7 % 47 13 100.0 % 2 2
select_refunds_by_coin.c
57.7%57.7%
57.7 % 26 15 100.0 % 2 2
select_reserve_closed_above_serial_id.c
38.7%38.7%
38.7 % 31 12 100.0 % 2 2
select_reserve_open_above_serial_id.c
40.0%40.0%
40.0 % 30 12 100.0 % 2 2
select_reserves_in_above_serial_id.c
41.9%41.9%
41.9 % 31 13 100.0 % 2 2
select_wire_out_above_serial_id.c
42.9%42.9%
42.9 % 28 12 100.0 % 2 2
select_withdraw_amounts_for_kyc_check.c
69.7%69.7%
69.7 % 33 23 100.0 % 2 2
select_withdrawals_above_serial_id.c
26.7%26.7%
26.7 % 45 12 100.0 % 2 2
wire_prepare_data_get.c
84.0%84.0%
84.0 % 25 21 100.0 % 2 2
reserves_in_insert.c
61.9%61.9%
61.9 % 139 86 100.0 % 3 3
exchangedb_accounts.c
77.9%77.9%
77.9 % 95 74 100.0 % 6 6

Generated by: LCOV version 2.0-1