LCOV - code coverage report
Current view: top level - backenddb Coverage Total Hit
Test: coverage.info Lines: 46.4 % 5472 2537
Test Date: 2025-10-31 14:20:14 Functions: 44.9 % 356 160

File Sort by file name Line Coverage Sort by line coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit
pg_account_kyc_set_failed.c
0.0%
0.0 % 36 0.0 % 1
pg_activate_account.c
0.0%
0.0 % 8 0.0 % 1
pg_create_mfa_challenge.c
0.0%
0.0 % 19 0.0 % 1
pg_delete_category.c
0.0%
0.0 % 8 0.0 % 1
pg_delete_donau_instance.c
0.0%
0.0 % 8 0.0 % 1
pg_delete_otp.c
0.0%
0.0 % 8 0.0 % 1
pg_delete_token_family.c
0.0%
0.0 % 8 0.0 % 1
pg_gc.c
0.0%
0.0 % 17 0.0 % 1
pg_insert_category.c
0.0%
0.0 % 11 0.0 % 1
pg_lookup_account.c
0.0%
0.0 % 10 0.0 % 1
pg_lookup_mfa_challenge.c
0.0%
0.0 % 29 0.0 % 1
pg_lookup_token_family.c
0.0%
0.0 % 36 0.0 % 1
pg_mark_order_wired.c
0.0%
0.0 % 7 0.0 % 1
pg_select_account.c
0.0%
0.0 % 16 0.0 % 1
pg_select_account_by_uri.c
0.0%
0.0 % 18 0.0 % 1
pg_select_category.c
0.0%
0.0 % 16 0.0 % 1
pg_select_category_by_name.c
0.0%
0.0 % 11 0.0 % 1
pg_solve_mfa_challenge.c
0.0%
0.0 % 22 0.0 % 1
pg_update_account.c
0.0%
0.0 % 12 0.0 % 1
pg_update_category.c
0.0%
0.0 % 10 0.0 % 1
pg_update_contract_terms.c
0.0%
0.0 % 28 0.0 % 1
pg_update_deposit_confirmation_status.c
0.0%
0.0 % 14 0.0 % 1
pg_update_donau_instance_receipts_amount.c
0.0%
0.0 % 8 0.0 % 1
pg_update_mfa_challenge.c
0.0%
0.0 % 10 0.0 % 1
pg_update_otp.c
0.0%
0.0 % 15 0.0 % 1
pg_update_pending_webhook.c
0.0%
0.0 % 8 0.0 % 1
pg_update_token_family.c
0.0%
0.0 % 16 0.0 % 1
pg_lookup_all_products.c
0.0%
0.0 % 39 0.0 % 2
pg_lookup_categories.c
0.0%
0.0 % 26 0.0 % 2
pg_lookup_expected_transfers.c
0.0%
0.0 % 54 0.0 % 2
pg_lookup_otp_devices.c
0.0%
0.0 % 24 0.0 % 2
pg_lookup_token_families.c
0.0%
0.0 % 30 0.0 % 2
pg_lookup_transfer_details.c
0.0%
0.0 % 29 0.0 % 2
pg_lookup_transfer_summary.c
0.0%
0.0 % 27 0.0 % 2
pg_select_accounts_by_exchange.c
0.0%
0.0 % 28 0.0 % 2
test_merchantdb.c
1.3%1.3%
1.3 % 1871 24 1.3 % 150 2
merchantdb_helper.c
56.2%56.2%
56.2 % 48 27 50.0 % 6 3
pg_helper.c
59.6%59.6%
59.6 % 52 31 75.0 % 4 3
pg_lookup_pending_webhooks.c
66.1%66.1%
66.1 % 56 37 75.0 % 4 3
pg_account_kyc_set_status.c
90.9%90.9%
90.9 % 44 40 100.0 % 1 1
pg_check_transfer_exists.c
100.0%
100.0 % 9 9 100.0 % 1 1
pg_delete_contract_terms.c
100.0%
100.0 % 11 11 100.0 % 1 1
pg_delete_exchange_accounts.c
100.0%
100.0 % 7 7 100.0 % 1 1
pg_delete_instance_private_key.c
100.0%
100.0 % 7 7 100.0 % 1 1
pg_delete_order.c
69.6%69.6%
69.6 % 23 16 100.0 % 1 1
pg_delete_pending_webhook.c
100.0%
100.0 % 7 7 100.0 % 1 1
pg_delete_product.c
100.0%
100.0 % 8 8 100.0 % 1 1
pg_delete_template.c
100.0%
100.0 % 8 8 100.0 % 1 1
pg_delete_transfer.c
100.0%
100.0 % 8 8 100.0 % 1 1
pg_delete_webhook.c
100.0%
100.0 % 8 8 100.0 % 1 1
pg_expire_locks.c
73.9%73.9%
73.9 % 23 17 100.0 % 1 1
pg_finalize_transfer_status.c
100.0%
100.0 % 13 13 100.0 % 1 1
pg_get_kyc_limits.c
100.0%
100.0 % 14 14 100.0 % 1 1
pg_get_kyc_status.c
100.0%
100.0 % 26 26 100.0 % 1 1
pg_inactivate_account.c
100.0%
100.0 % 8 8 100.0 % 1 1
pg_insert_account.c
100.0%
100.0 % 17 17 100.0 % 1 1
pg_insert_contract_terms.c
85.7%85.7%
85.7 % 28 24 100.0 % 1 1
pg_insert_deposit.c
100.0%
100.0 % 15 15 100.0 % 1 1
pg_insert_deposit_confirmation.c
100.0%
100.0 % 26 26 100.0 % 1 1
pg_insert_deposit_to_transfer.c
100.0%
100.0 % 15 15 100.0 % 1 1
pg_insert_exchange_account.c
100.0%
100.0 % 13 13 100.0 % 1 1
pg_insert_exchange_keys.c
100.0%
100.0 % 16 16 100.0 % 1 1
pg_insert_exchange_signkey.c
100.0%
100.0 % 12 12 100.0 % 1 1
pg_insert_instance.c
97.6%97.6%
97.6 % 41 40 100.0 % 1 1
pg_insert_issued_token.c
80.0%80.0%
80.0 % 20 16 100.0 % 1 1
pg_insert_login_token.c
100.0%
100.0 % 12 12 100.0 % 1 1
pg_insert_order.c
100.0%
100.0 % 24 24 100.0 % 1 1
pg_insert_order_blinded_sigs.c
100.0%
100.0 % 10 10 100.0 % 1 1
pg_insert_order_lock.c
100.0%
100.0 % 10 10 100.0 % 1 1
pg_insert_otp.c
100.0%
100.0 % 13 13 100.0 % 1 1
pg_insert_pending_webhook.c
85.7%85.7%
85.7 % 14 12 100.0 % 1 1
pg_insert_product.c
100.0%
100.0 % 28 28 100.0 % 1 1
pg_insert_refund_proof.c
100.0%
100.0 % 9 9 100.0 % 1 1
pg_insert_spent_token.c
87.5%87.5%
87.5 % 24 21 100.0 % 1 1
pg_insert_template.c
100.0%
100.0 % 16 16 100.0 % 1 1
pg_insert_token_family.c
90.0%90.0%
90.0 % 30 27 100.0 % 1 1
pg_insert_token_family_key.c
81.8%81.8%
81.8 % 33 27 100.0 % 1 1
pg_insert_transfer.c
100.0%
100.0 % 16 16 100.0 % 1 1
pg_insert_transfer_details.c
76.2%76.2%
76.2 % 63 48 100.0 % 1 1
pg_insert_webhook.c
88.2%88.2%
88.2 % 17 15 100.0 % 1 1
pg_lock_product.c
100.0%
100.0 % 11 11 100.0 % 1 1
pg_lookup_contract_terms.c
93.3%93.3%
93.3 % 15 14 100.0 % 1 1
pg_lookup_contract_terms2.c
94.7%94.7%
94.7 % 19 18 100.0 % 1 1
pg_lookup_contract_terms3.c
100.0%
100.0 % 27 27 100.0 % 1 1
pg_lookup_instance_auth.c
100.0%
100.0 % 10 10 100.0 % 1 1
pg_lookup_order.c
95.8%95.8%
95.8 % 24 23 100.0 % 1 1
pg_lookup_order_by_fulfillment.c
100.0%
100.0 % 12 12 100.0 % 1 1
pg_lookup_order_status.c
100.0%
100.0 % 15 15 100.0 % 1 1
pg_lookup_order_status_by_serial.c
100.0%
100.0 % 13 13 100.0 % 1 1
pg_lookup_order_summary.c
100.0%
100.0 % 11 11 100.0 % 1 1
pg_lookup_product.c
100.0%
100.0 % 53 53 100.0 % 1 1
pg_lookup_refund_proof.c
100.0%
100.0 % 10 10 100.0 % 1 1
pg_lookup_template.c
88.2%88.2%
88.2 % 17 15 100.0 % 1 1
pg_lookup_token_family_key.c
74.0%74.0%
74.0 % 50 37 100.0 % 1 1
pg_lookup_webhook.c
88.2%88.2%
88.2 % 17 15 100.0 % 1 1
pg_lookup_wire_fee.c
100.0%
100.0 % 17 17 100.0 % 1 1
pg_mark_contract_paid.c
91.7%91.7%
91.7 % 24 22 100.0 % 1 1
pg_purge_instance.c
100.0%
100.0 % 7 7 100.0 % 1 1
pg_refund_coin.c
100.0%
100.0 % 10 10 100.0 % 1 1
pg_select_exchange_keys.c
88.9%88.9%
88.9 % 18 16 100.0 % 1 1
pg_select_login_token.c
100.0%
100.0 % 11 11 100.0 % 1 1
pg_select_otp.c
84.2%84.2%
84.2 % 19 16 100.0 % 1 1
pg_select_otp_serial.c
100.0%
100.0 % 10 10 100.0 % 1 1
pg_store_wire_fee_by_exchange.c
100.0%
100.0 % 14 14 100.0 % 1 1
pg_unlock_inventory.c
100.0%
100.0 % 7 7 100.0 % 1 1
pg_update_instance.c
100.0%
100.0 % 30 30 100.0 % 1 1
pg_update_instance_auth.c
100.0%
100.0 % 9 9 100.0 % 1 1
pg_update_product.c
94.6%94.6%
94.6 % 37 35 100.0 % 1 1
pg_update_template.c
100.0%
100.0 % 16 16 100.0 % 1 1
pg_update_transfer_status.c
93.8%93.8%
93.8 % 16 15 100.0 % 1 1
pg_update_webhook.c
88.2%88.2%
88.2 % 17 15 100.0 % 1 1
pg_update_wirewatch_progress.c
100.0%
100.0 % 9 9 100.0 % 1 1
merchantdb_plugin.c
73.7%73.7%
73.7 % 19 14 100.0 % 2 2
pg_account_kyc_get_status.c
88.0%88.0%
88.0 % 50 44 100.0 % 2 2
pg_delete_login_token.c
100.0%
100.0 % 16 16 100.0 % 2 2
pg_lookup_deposits.c
90.0%90.0%
90.0 % 30 27 100.0 % 2 2
pg_lookup_deposits_by_order.c
86.7%86.7%
86.7 % 30 26 100.0 % 2 2
pg_lookup_login_tokens.c
88.2%88.2%
88.2 % 34 30 100.0 % 2 2
pg_lookup_orders.c
91.8%91.8%
91.8 % 49 45 100.0 % 2 2
pg_lookup_pending_deposits.c
88.9%88.9%
88.9 % 36 32 100.0 % 2 2
pg_lookup_products.c
85.7%85.7%
85.7 % 35 30 100.0 % 2 2
pg_lookup_refunds.c
59.3%59.3%
59.3 % 27 16 100.0 % 2 2
pg_lookup_refunds_detailed.c
90.9%90.9%
90.9 % 33 30 100.0 % 2 2
pg_lookup_spent_tokens_by_order.c
48.3%48.3%
48.3 % 29 14 100.0 % 2 2
pg_lookup_statistics_amount_by_bucket.c
91.2%91.2%
91.2 % 57 52 100.0 % 2 2
pg_lookup_statistics_counter_by_bucket.c
83.9%83.9%
83.9 % 31 26 100.0 % 2 2
pg_lookup_templates.c
83.3%83.3%
83.3 % 24 20 100.0 % 2 2
pg_lookup_token_family_keys.c
84.6%84.6%
84.6 % 52 44 100.0 % 2 2
pg_lookup_transfer_details_by_order.c
86.7%86.7%
86.7 % 30 26 100.0 % 2 2
pg_lookup_transfers.c
93.2%93.2%
93.2 % 44 41 100.0 % 2 2
pg_lookup_webhook_by_event.c
86.2%86.2%
86.2 % 29 25 100.0 % 2 2
pg_lookup_webhooks.c
83.3%83.3%
83.3 % 24 20 100.0 % 2 2
pg_select_accounts.c
89.5%89.5%
89.5 % 38 34 100.0 % 2 2
pg_select_open_transfers.c
85.2%85.2%
85.2 % 27 23 100.0 % 2 2
pg_select_order_blinded_sigs.c
55.0%55.0%
55.0 % 20 11 100.0 % 2 2
pg_select_wirewatch_accounts.c
84.6%84.6%
84.6 % 26 22 100.0 % 2 2
pg_lookup_deposits_by_contract_and_coin.c
56.9%56.9%
56.9 % 72 41 100.0 % 3 3
pg_lookup_instances.c
86.9%86.9%
86.9 % 61 53 100.0 % 3 3
pg_lookup_statistics_amount_by_interval.c
44.4%44.4%
44.4 % 63 28 100.0 % 3 3
pg_lookup_statistics_counter_by_interval.c
80.0%80.0%
80.0 % 50 40 100.0 % 3 3
pg_increase_refund.c
70.9%70.9%
70.9 % 203 144 100.0 % 6 6
plugin_merchantdb_postgres.c
96.8%96.8%
96.8 % 219 212 100.0 % 10 10

Generated by: LCOV version 2.0-1