LCOV - code coverage report
Current view: top level - backenddb - test_merchantdb.c (source / functions) Coverage Total Hit
Test: coverage.info Lines: 87.4 % 2827 2470
Test Date: 2026-09-04 23:42:01 Functions: 100.0 % 203 203

Function Name Sort by function name Hit count Sort by function hit count
check_instances_equal 11
check_products_equal 2
check_templates_equal 2
check_webhooks_equal 2
count_bucket_amount_cb 36
count_bucket_counter_cb 13
count_bucket_counters 3
count_pending_deposits_cb 3
exec_sql 2
free_instance_data 15
free_order_data 74
free_product_data 6
free_template_data 2
get_deposit_serial 9
get_deposit_serial_cb 12
get_order_serial 77
get_order_serial_cb 2105
get_pending_serial 2
get_pending_serial_cb 4
get_refund_serial 1
get_refund_serial_cb 1
kyc_event_cb 4
kyc_failure_check 2
kyc_status_fail 3
kyc_status_ok 3
lookup_deposits_cb 4
lookup_deposits_contract_coin_cb 1
lookup_deposits_order_cb 3
lookup_instances_cb 9
lookup_orders_cb 1031
lookup_pending_webhooks_cb 5
lookup_products_cb 4
lookup_refunds_cb 1
lookup_refunds_detailed_cb 3
lookup_templates_cb 3
lookup_transfer_details_cb 1
lookup_transfer_details_order_cb 1
lookup_transfer_summary_cb 1
lookup_transfers_cb 1
lookup_webhook_by_event_cb 4
lookup_webhooks_cb 4
main 1
make_account 8
make_blinded_token_sig 2
make_deposit 78
make_exchange_signkey 4
make_instance 16
make_order 76
make_pending_webhook 2
make_product 6
make_refund 67
make_template 2
make_token_issue_sig 1
make_transfer 5
make_webhook 8
make_wire_fee 2
orders_exec_sql 2
post_test_deposits 1
post_test_instances 1
post_test_locks 1
post_test_lookup_orders_all_filters 1
post_test_orders 1
post_test_pending_webhooks 1
post_test_products 1
post_test_refunds 1
post_test_statistics 1
post_test_templates 1
post_test_tokens 1
post_test_transfers 1
post_test_webhooks 1
pre_test_deposits 1
pre_test_instances 1
pre_test_locks 1
pre_test_lookup_orders_all_filters 1
pre_test_orders 1
pre_test_pending_webhooks 1
pre_test_products 1
pre_test_refunds 1
pre_test_statistics 1
pre_test_templates 1
pre_test_tokens 1
pre_test_transfers 1
pre_test_webhooks 1
query_sql_num 6
query_sql_text 1
reverse_order_data_array 27
run 1
run_test_deposits 1
run_test_instances 1
run_test_locks 1
run_test_lookup_orders_all_filters 1
run_test_orders 1
run_test_pending_webhooks 1
run_test_products 1
run_test_refunds 1
run_test_statistics 1
run_test_templates 1
run_test_tokens 1
run_test_transfers 1
run_test_webhooks 1
run_tests 1
statistics_count_counter_events 1
statistics_exec_sql 12
statistics_max_bucket_counter 1
test_commit_on_aborted_transaction 1
test_delete_contract_terms 3
test_delete_instance_private_key 3
test_delete_order 4
test_delete_order_atomic 1
test_delete_pending_webhook 3
test_delete_product 5
test_delete_template 2
test_delete_webhook 2
test_deposits 1
test_get_instance_auth_null 1
test_inactivate_account 2
test_insert_account 9
test_insert_contract_terms 45
test_insert_deposit 31
test_insert_deposit_confirmation_status 4
test_insert_deposit_to_transfer 8
test_insert_deposit_to_unknown_account 1
test_insert_duplicate_conflicts 1
test_insert_exchange_signkey 5
test_insert_instance 17
test_insert_inventory_lock 9
test_insert_issued_token 4
test_insert_kyc_failure 1
test_insert_order 78
test_insert_pending_webhook 3
test_insert_product 10
test_insert_report_serial 1
test_insert_template 4
test_insert_transfer 2
test_insert_transfer_details 3
test_insert_transfer_details_settling 2
test_insert_transfer_unknown_account 1
test_insert_used_token 4
test_insert_webhook 10
test_insert_wire_fee 4
test_instances 1
test_inventory_deleted_webhook 1
test_inventory_locks 1
test_iterate_pending_webhooks_next 1
test_kyc 1
test_lookup_all_webhooks 2
test_lookup_contract_terms 2
test_lookup_deposits 4
test_lookup_deposits_by_order 2
test_lookup_deposits_contract_and_coin 1
test_lookup_instances 9
test_lookup_order 1
test_lookup_order_by_fulfillment 1
test_lookup_order_status 2
test_lookup_orders 63
test_lookup_orders_all_filters 1
test_lookup_payment_status 7
test_lookup_pending_webhooks 1
test_lookup_product 2
test_lookup_products 4
test_lookup_refund_proof 1
test_lookup_refunds 1
test_lookup_refunds_detailed 2
test_lookup_template 2
test_lookup_templates 2
test_lookup_transfer_details 1
test_lookup_transfer_details_by_order 1
test_lookup_transfer_summary 1
test_lookup_transfers 1
test_lookup_webhook 2
test_lookup_webhook_by_event 2
test_lookup_webhooks 2
test_lookup_wire_fee 3
test_mark_contract_paid 25
test_mark_order_wired 18
test_mfa_challenges 1
test_orders 1
test_pending_deposits_without_private_key 1
test_pending_webhooks 1
test_product_locked 9
test_products 1
test_purge_instance 2
test_reconnect_search_path 1
test_refunds 1
test_statistics 1
test_statistics_amount_slug_collected 6
test_statistics_bucket_gc 1
test_statistics_bucket_upsert_race 1
test_statistics_counter_gc_delimiter 1
test_statistics_dual_type_slug 1
test_templates 1
test_token_family_counters 7
test_tokens 1
test_transfers 1
test_update_category_conflict 1
test_update_contract_terms 1
test_update_instance 2
test_update_pending_webhook 2
test_update_product 7
test_update_template 2
test_update_webhook 2
test_webhooks 1
webhook_pending_event_cb 1

Generated by: LCOV version 2.0-1