LCOV - code coverage report
Current view: top level - exchangedb Hit Total Coverage
Test: coverage.info Lines: 4529 8509 53.2 %
Date: 2025-06-05 21:03:14 Functions: 266 412 64.6 %

Filename Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage
exchangedb_accounts.c
77.9%77.9%
77.9 % 74 / 95 100.0 % 6 / 6
exchangedb_aml.c
30.9%30.9%
30.9 % 81 / 262 54.5 % 6 / 11
exchangedb_history.c
19.3%19.3%
19.3 % 17 / 88 28.6 % 2 / 7
exchangedb_plugin.c
66.7%66.7%
66.7 % 16 / 24 100.0 % 2 / 2
exchangedb_transactions.c
0.0%
0.0 % 0 / 96 0.0 % 0 / 1
pg_abort_shard.c
100.0%
100.0 % 8 / 8 100.0 % 1 / 1
pg_activate_signing_key.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_add_denomination_key.c
100.0%
100.0 % 19 / 19 100.0 % 1 / 1
pg_add_policy_fulfillment_proof.c
0.0%
0.0 % 0 / 49 0.0 % 0 / 2
pg_aggregate.c
90.2%90.2%
90.2 % 37 / 41 100.0 % 1 / 1
pg_batch_ensure_coin_known.c
0.0%
0.0 % 0 / 216 0.0 % 0 / 4
pg_begin_revolving_shard.c
54.6%54.6%
54.6 % 59 / 108 100.0 % 1 / 1
pg_begin_shard.c
53.2%53.2%
53.2 % 59 / 111 100.0 % 1 / 1
pg_clear_aml_lock.c
100.0%
100.0 % 6 / 6 100.0 % 1 / 1
pg_commit.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_complete_shard.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_compute_shard.c
100.0%
100.0 % 7 / 7 100.0 % 1 / 1
pg_count_known_coins.c
90.9%90.9%
90.9 % 10 / 11 100.0 % 1 / 1
pg_create_aggregation_transient.c
100.0%
100.0 % 11 / 11 100.0 % 1 / 1
pg_create_tables.c
83.3%83.3%
83.3 % 20 / 24 100.0 % 1 / 1
pg_delete_aggregation_transient.c
100.0%
100.0 % 7 / 7 100.0 % 1 / 1
pg_delete_shard_locks.c
0.0%
0.0 % 0 / 6 0.0 % 0 / 1
pg_disable_rules.c
0.0%
0.0 % 0 / 13 0.0 % 0 / 1
pg_do_check_deposit_idempotent.c
100.0%
100.0 % 42 / 42 100.0 % 1 / 1
pg_do_deposit.c
100.0%
100.0 % 53 / 53 100.0 % 1 / 1
pg_do_melt.c
0.0%
0.0 % 0 / 22 0.0 % 0 / 1
pg_do_purse_delete.c
100.0%
100.0 % 12 / 12 100.0 % 1 / 1
pg_do_purse_deposit.c
100.0%
100.0 % 24 / 24 100.0 % 1 / 1
pg_do_purse_merge.c
100.0%
100.0 % 22 / 22 100.0 % 1 / 1
pg_do_recoup.c
0.0%
0.0 % 0 / 20 0.0 % 0 / 1
pg_do_recoup_refresh.c
0.0%
0.0 % 0 / 16 0.0 % 0 / 1
pg_do_refresh.c
86.5%86.5%
86.5 % 45 / 52 100.0 % 1 / 1
pg_do_refund.c
92.0%92.0%
92.0 % 23 / 25 100.0 % 1 / 1
pg_do_reserve_open.c
93.5%93.5%
93.5 % 29 / 31 100.0 % 1 / 1
pg_do_reserve_purse.c
100.0%
100.0 % 25 / 25 100.0 % 1 / 1
pg_do_withdraw.c
94.5%94.5%
94.5 % 52 / 55 100.0 % 1 / 1
pg_drain_kyc_alert.c
100.0%
100.0 % 8 / 8 100.0 % 1 / 1
pg_drop_tables.c
72.7%72.7%
72.7 % 8 / 11 100.0 % 1 / 1
pg_enable_rules.c
0.0%
0.0 % 0 / 19 0.0 % 0 / 1
pg_ensure_coin_known.c
65.9%65.9%
65.9 % 29 / 44 100.0 % 1 / 1
pg_event_listen.c
100.0%
100.0 % 3 / 3 100.0 % 1 / 1
pg_event_listen_cancel.c
100.0%
100.0 % 3 / 3 100.0 % 1 / 1
pg_event_notify.c
100.0%
100.0 % 4 / 4 100.0 % 1 / 1
pg_expire_purse.c
93.8%93.8%
93.8 % 15 / 16 100.0 % 1 / 1
pg_find_aggregation_transient.c
100.0%
100.0 % 11 / 11 100.0 % 1 / 1
pg_gc.c
89.5%89.5%
89.5 % 17 / 19 100.0 % 1 / 1
pg_get_coin_denomination.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_get_coin_transactions.c
50.0%50.0%
50.0 % 182 / 364 54.5 % 6 / 11
pg_get_denomination_by_serial.c
0.0%
0.0 % 0 / 19 0.0 % 0 / 1
pg_get_denomination_info.c
0.0%
0.0 % 0 / 25 0.0 % 0 / 1
pg_get_denomination_revocation.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_get_drain_profit.c
100.0%
100.0 % 13 / 13 100.0 % 1 / 1
pg_get_expired_reserves.c
78.4%78.4%
78.4 % 29 / 37 100.0 % 2 / 2
pg_get_extension_manifest.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_get_global_fee.c
100.0%
100.0 % 16 / 16 100.0 % 1 / 1
pg_get_global_fees.c
90.0%90.0%
90.0 % 27 / 30 100.0 % 2 / 2
pg_get_known_coin.c
100.0%
100.0 % 13 / 13 100.0 % 1 / 1
pg_get_kyc_rules.c
60.7%60.7%
60.7 % 17 / 28 50.0 % 1 / 2
pg_get_old_coin_by_h_blind.c
0.0%
0.0 % 0 / 9 0.0 % 0 / 1
pg_get_pending_kyc_requirement_process.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_get_policy_details.c
0.0%
0.0 % 0 / 13 0.0 % 0 / 1
pg_get_purse_deposit.c
0.0%
0.0 % 0 / 14 0.0 % 0 / 1
pg_get_purse_request.c
100.0%
100.0 % 14 / 14 100.0 % 1 / 1
pg_get_ready_deposit.c
100.0%
100.0 % 13 / 13 100.0 % 1 / 1
pg_get_refresh.c
78.7%78.7%
78.7 % 48 / 61 100.0 % 1 / 1
pg_get_refresh_reveal.c
0.0%
0.0 % 0 / 63 0.0 % 0 / 2
pg_get_reserve_balance.c
100.0%
100.0 % 11 / 11 100.0 % 1 / 1
pg_get_reserve_by_h_planchets.c
0.0%
0.0 % 0 / 9 0.0 % 0 / 1
pg_get_reserve_history.c
52.9%52.9%
52.9 % 164 / 310 60.0 % 6 / 10
pg_get_signature_for_known_coin.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_get_unfinished_close_requests.c
77.8%77.8%
77.8 % 28 / 36 100.0 % 2 / 2
pg_get_wire_accounts.c
78.4%78.4%
78.4 % 29 / 37 100.0 % 2 / 2
pg_get_wire_fee.c
100.0%
100.0 % 14 / 14 100.0 % 1 / 1
pg_get_wire_fees.c
85.2%85.2%
85.2 % 23 / 27 100.0 % 2 / 2
pg_get_wire_hash_for_contract.c
100.0%
100.0 % 14 / 14 100.0 % 1 / 1
pg_get_withdraw.c
76.4%76.4%
76.4 % 55 / 72 100.0 % 1 / 1
pg_have_deposit2.c
100.0%
100.0 % 27 / 27 100.0 % 1 / 1
pg_inject_auditor_triggers.c
0.0%
0.0 % 0 / 9 0.0 % 0 / 1
pg_insert_active_legitimization_measure.c
0.0%
0.0 % 0 / 11 0.0 % 0 / 1
pg_insert_aml_decision.c
93.3%93.3%
93.3 % 56 / 60 100.0 % 1 / 1
pg_insert_aml_officer.c
100.0%
100.0 % 13 / 13 100.0 % 1 / 1
pg_insert_aml_program_failure.c
0.0%
0.0 % 0 / 19 0.0 % 0 / 1
pg_insert_auditor.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_insert_auditor_denom_sig.c
100.0%
100.0 % 8 / 8 100.0 % 1 / 1
pg_insert_close_request.c
100.0%
100.0 % 11 / 11 100.0 % 1 / 1
pg_insert_contract.c
44.8%44.8%
44.8 % 13 / 29 100.0 % 1 / 1
pg_insert_denomination_info.c
100.0%
100.0 % 26 / 26 100.0 % 1 / 1
pg_insert_denomination_revocation.c
0.0%
0.0 % 0 / 7 0.0 % 0 / 1
pg_insert_drain_profit.c
100.0%
100.0 % 11 / 11 100.0 % 1 / 1
pg_insert_global_fee.c
43.6%43.6%
43.6 % 17 / 39 100.0 % 1 / 1
pg_insert_kyc_failure.c
95.5%95.5%
95.5 % 21 / 22 100.0 % 1 / 1
pg_insert_kyc_requirement_process.c
88.2%88.2%
88.2 % 15 / 17 100.0 % 1 / 1
pg_insert_partner.c
0.0%
0.0 % 0 / 12 0.0 % 0 / 1
pg_insert_purse_request.c
63.9%63.9%
63.9 % 23 / 36 100.0 % 1 / 1
pg_insert_records_by_table.c
37.1%37.1%
37.1 % 297 / 801 34.0 % 17 / 50
pg_insert_refund.c
0.0%
0.0 % 0 / 12 0.0 % 0 / 1
pg_insert_reserve_closed.c
75.0%75.0%
75.0 % 21 / 28 100.0 % 1 / 1
pg_insert_reserve_open_deposit.c
100.0%
100.0 % 13 / 13 100.0 % 1 / 1
pg_insert_sanction_list_hit.c
0.0%
0.0 % 0 / 26 0.0 % 0 / 1
pg_insert_signkey_revocation.c
0.0%
0.0 % 0 / 7 0.0 % 0 / 1
pg_insert_successor_measure.c
0.0%
0.0 % 0 / 23 0.0 % 0 / 1
pg_insert_wire.c
100.0%
100.0 % 15 / 15 100.0 % 1 / 1
pg_insert_wire_fee.c
50.0%50.0%
50.0 % 14 / 28 100.0 % 1 / 1
pg_iterate_active_auditors.c
89.5%89.5%
89.5 % 17 / 19 100.0 % 2 / 2
pg_iterate_active_signkeys.c
91.3%91.3%
91.3 % 21 / 23 100.0 % 2 / 2
pg_iterate_auditor_denominations.c
50.0%50.0%
50.0 % 9 / 18 100.0 % 2 / 2
pg_iterate_denomination_info.c
91.7%91.7%
91.7 % 33 / 36 100.0 % 2 / 2
pg_iterate_denominations.c
94.6%94.6%
94.6 % 35 / 37 100.0 % 2 / 2
pg_iterate_kyc_reference.c
0.0%
0.0 % 0 / 20 0.0 % 0 / 2
pg_iterate_reserve_close_info.c
60.0%60.0%
60.0 % 12 / 20 100.0 % 2 / 2
pg_kyc_provider_account_lookup.c
0.0%
0.0 % 0 / 14 0.0 % 0 / 1
pg_kycauth_in_insert.c
100.0%
100.0 % 22 / 22 100.0 % 1 / 1
pg_lookup_active_legitimization.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_lookup_aml_history.c
0.0%
0.0 % 0 / 32 0.0 % 0 / 2
pg_lookup_aml_officer.c
0.0%
0.0 % 0 / 12 0.0 % 0 / 1
pg_lookup_auditor_status.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_lookup_auditor_timestamp.c
100.0%
100.0 % 8 / 8 100.0 % 1 / 1
pg_lookup_completed_legitimization.c
100.0%
100.0 % 16 / 16 100.0 % 1 / 1
pg_lookup_denomination_key.c
100.0%
100.0 % 17 / 17 100.0 % 1 / 1
pg_lookup_global_fee_by_time.c
30.8%30.8%
30.8 % 12 / 39 100.0 % 2 / 2
pg_lookup_h_payto_by_access_token.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_lookup_kyc_history.c
0.0%
0.0 % 0 / 38 0.0 % 0 / 2
pg_lookup_kyc_process_by_account.c
100.0%
100.0 % 15 / 15 100.0 % 1 / 1
pg_lookup_kyc_requirement_by_row.c
90.3%90.3%
90.3 % 28 / 31 100.0 % 1 / 1
pg_lookup_kyc_status_by_token.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_lookup_pending_legitimization.c
100.0%
100.0 % 12 / 12 100.0 % 1 / 1
pg_lookup_records_by_table.c
30.4%30.4%
30.4 % 362 / 1189 34.0 % 17 / 50
pg_lookup_rules_by_access_token.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_lookup_serial_by_table.c
85.4%85.4%
85.4 % 140 / 164 100.0 % 1 / 1
pg_lookup_signing_key.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_lookup_signkey_revocation.c
100.0%
100.0 % 8 / 8 100.0 % 1 / 1
pg_lookup_transfer_by_deposit.c
89.1%89.1%
89.1 % 49 / 55 100.0 % 1 / 1
pg_lookup_wire_fee_by_time.c
72.4%72.4%
72.4 % 21 / 29 100.0 % 2 / 2
pg_lookup_wire_timestamp.c
100.0%
100.0 % 8 / 8 100.0 % 1 / 1
pg_lookup_wire_transfer.c
87.5%87.5%
87.5 % 28 / 32 100.0 % 2 / 2
pg_persist_kyc_attributes.c
94.6%94.6%
94.6 % 35 / 37 100.0 % 1 / 1
pg_persist_policy_details.c
0.0%
0.0 % 0 / 20 0.0 % 0 / 1
pg_preflight.c
90.3%90.3%
90.3 % 28 / 31 100.0 % 2 / 2
pg_profit_drains_get_pending.c
100.0%
100.0 % 13 / 13 100.0 % 1 / 1
pg_profit_drains_set_finished.c
100.0%
100.0 % 6 / 6 100.0 % 1 / 1
pg_release_revolving_shard.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_reserves_get.c
100.0%
100.0 % 11 / 11 100.0 % 1 / 1
pg_reserves_get_origin.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_reserves_in_insert.c
62.1%62.1%
62.1 % 87 / 140 100.0 % 3 / 3
pg_reserves_update.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_rollback.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_select_account_merges_above_serial_id.c
36.1%36.1%
36.1 % 13 / 36 100.0 % 2 / 2
pg_select_aggregation_amounts_for_kyc_check.c
41.2%41.2%
41.2 % 14 / 34 100.0 % 2 / 2
pg_select_aggregation_transient.c
100.0%
100.0 % 11 / 11 100.0 % 1 / 1
pg_select_aggregations_above_serial.c
84.0%84.0%
84.0 % 21 / 25 100.0 % 2 / 2
pg_select_all_kyc_attributes.c
0.0%
0.0 % 0 / 29 0.0 % 0 / 2
pg_select_all_purse_decisions_above_serial_id.c
46.2%46.2%
46.2 % 12 / 26 100.0 % 2 / 2
pg_select_all_purse_deletions_above_serial_id.c
46.2%46.2%
46.2 % 12 / 26 100.0 % 2 / 2
pg_select_aml_attributes.c
86.2%86.2%
86.2 % 25 / 29 100.0 % 2 / 2
pg_select_aml_decisions.c
89.4%89.4%
89.4 % 42 / 47 100.0 % 2 / 2
pg_select_aml_measures.c
0.0%
0.0 % 0 / 36 0.0 % 0 / 2
pg_select_aml_statistics.c
0.0%
0.0 % 0 / 10 0.0 % 0 / 1
pg_select_auditor_denom_sig.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_select_batch_deposits_missing_wire.c
84.6%84.6%
84.6 % 22 / 26 100.0 % 2 / 2
pg_select_coin_deposits_above_serial_id.c
87.8%87.8%
87.8 % 36 / 41 100.0 % 2 / 2
pg_select_contract.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_select_contract_by_purse.c
0.0%
0.0 % 0 / 10 0.0 % 0 / 1
pg_select_deposit_amounts_for_kyc_check.c
0.0%
0.0 % 0 / 34 0.0 % 0 / 2
pg_select_exchange_credit_transfers.c
0.0%
0.0 % 0 / 30 0.0 % 0 / 2
pg_select_exchange_debit_transfers.c
0.0%
0.0 % 0 / 30 0.0 % 0 / 2
pg_select_kyc_attributes.c
84.0%84.0%
84.0 % 21 / 25 100.0 % 2 / 2
pg_select_merge_amounts_for_kyc_check.c
41.2%41.2%
41.2 % 14 / 34 100.0 % 2 / 2
pg_select_purse.c
100.0%
100.0 % 17 / 17 100.0 % 1 / 1
pg_select_purse_by_merge_pub.c
0.0%
0.0 % 0 / 14 0.0 % 0 / 1
pg_select_purse_decisions_above_serial_id.c
46.7%46.7%
46.7 % 14 / 30 100.0 % 2 / 2
pg_select_purse_deposits_above_serial_id.c
32.5%32.5%
32.5 % 13 / 40 100.0 % 2 / 2
pg_select_purse_deposits_by_purse.c
0.0%
0.0 % 0 / 28 0.0 % 0 / 2
pg_select_purse_merge.c
100.0%
100.0 % 14 / 14 100.0 % 1 / 1
pg_select_purse_merges_above_serial_id.c
36.1%36.1%
36.1 % 13 / 36 100.0 % 2 / 2
pg_select_purse_requests_above_serial_id.c
39.4%39.4%
39.4 % 13 / 33 100.0 % 2 / 2
pg_select_recoup_above_serial_id.c
37.1%37.1%
37.1 % 13 / 35 100.0 % 2 / 2
pg_select_recoup_refresh_above_serial_id.c
0.0%
0.0 % 0 / 37 0.0 % 0 / 2
pg_select_refreshes_above_serial_id.c
84.4%84.4%
84.4 % 27 / 32 100.0 % 2 / 2
pg_select_refunds_above_serial_id.c
81.2%81.2%
81.2 % 39 / 48 100.0 % 2 / 2
pg_select_refunds_by_coin.c
59.3%59.3%
59.3 % 16 / 27 100.0 % 2 / 2
pg_select_reserve_close_info.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_select_reserve_closed_above_serial_id.c
84.4%84.4%
84.4 % 27 / 32 100.0 % 2 / 2
pg_select_reserve_open_above_serial_id.c
41.9%41.9%
41.9 % 13 / 31 100.0 % 2 / 2
pg_select_reserves_in_above_serial_id.c
81.2%81.2%
81.2 % 26 / 32 100.0 % 2 / 2
pg_select_reserves_in_above_serial_id_by_account.c
83.9%83.9%
83.9 % 26 / 31 100.0 % 2 / 2
pg_select_wire_out_above_serial_id.c
82.8%82.8%
82.8 % 24 / 29 100.0 % 2 / 2
pg_select_wire_out_above_serial_id_by_account.c
83.3%83.3%
83.3 % 25 / 30 100.0 % 2 / 2
pg_select_withdraw_amounts_for_kyc_check.c
70.6%70.6%
70.6 % 24 / 34 100.0 % 2 / 2
pg_select_withdrawals_above_serial_id.c
76.6%76.6%
76.6 % 36 / 47 100.0 % 2 / 2
pg_set_aml_lock.c
0.0%
0.0 % 0 / 18 0.0 % 0 / 1
pg_set_extension_manifest.c
80.0%80.0%
80.0 % 8 / 10 100.0 % 1 / 1
pg_set_purse_balance.c
0.0%
0.0 % 0 / 7 0.0 % 0 / 1
pg_start.c
75.0%75.0%
75.0 % 12 / 16 100.0 % 1 / 1
pg_start_deferred_wire_out.c
70.6%70.6%
70.6 % 12 / 17 100.0 % 1 / 1
pg_start_read_committed.c
75.0%75.0%
75.0 % 12 / 16 100.0 % 1 / 1
pg_start_read_only.c
75.0%75.0%
75.0 % 12 / 16 100.0 % 1 / 1
pg_store_wire_transfer_out.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_test_aml_officer.c
100.0%
100.0 % 6 / 6 100.0 % 1 / 1
pg_trigger_kyc_rule_for_account.c
93.8%93.8%
93.8 % 30 / 32 100.0 % 1 / 1
pg_update_aggregation_transient.c
100.0%
100.0 % 9 / 9 100.0 % 1 / 1
pg_update_auditor.c
100.0%
100.0 % 10 / 10 100.0 % 1 / 1
pg_update_kyc_process_by_row.c
57.9%57.9%
57.9 % 22 / 38 100.0 % 1 / 1
pg_update_wire.c
100.0%
100.0 % 19 / 19 100.0 % 1 / 1
pg_wad_in_insert.c
0.0%
0.0 % 0 / 9 0.0 % 0 / 1
pg_wire_prepare_data_get.c
84.6%84.6%
84.6 % 22 / 26 100.0 % 2 / 2
pg_wire_prepare_data_insert.c
100.0%
100.0 % 7 / 7 100.0 % 1 / 1
pg_wire_prepare_data_mark_failed.c
0.0%
0.0 % 0 / 6 0.0 % 0 / 1
pg_wire_prepare_data_mark_finished.c
100.0%
100.0 % 6 / 6 100.0 % 1 / 1
plugin_exchangedb_common.c
50.6%50.6%
50.6 % 44 / 87 100.0 % 2 / 2
plugin_exchangedb_postgres.c
92.2%92.2%
92.2 % 238 / 258 100.0 % 2 / 2

Generated by: LCOV version 1.16