LCOV - code coverage report | ||||||||||||||||||||||
![]() | ||||||||||||||||||||||
|
||||||||||||||||||||||
![]() |
Filename ![]() |
Line Coverage ![]() |
Functions ![]() |
||||
merchantdb_helper.c |
|
55.3 % | 26 / 47 | 50.0 % | 3 / 6 | |
merchantdb_plugin.c |
|
73.7 % | 14 / 19 | 100.0 % | 2 / 2 | |
pg_account_kyc_get_status.c |
|
86.4 % | 38 / 44 | 100.0 % | 2 / 2 | |
pg_account_kyc_set_failed.c |
|
0.0 % | 0 / 36 | 0.0 % | 0 / 1 | |
pg_account_kyc_set_status.c |
|
90.9 % | 40 / 44 | 100.0 % | 1 / 1 | |
pg_activate_account.c |
|
0.0 % | 0 / 8 | 0.0 % | 0 / 1 | |
pg_check_transfer_exists.c |
|
100.0 % | 9 / 9 | 100.0 % | 1 / 1 | |
pg_delete_category.c |
|
0.0 % | 0 / 8 | 0.0 % | 0 / 1 | |
pg_delete_contract_terms.c |
|
100.0 % | 11 / 11 | 100.0 % | 1 / 1 | |
pg_delete_exchange_accounts.c |
|
100.0 % | 7 / 7 | 100.0 % | 1 / 1 | |
pg_delete_instance_private_key.c |
|
100.0 % | 7 / 7 | 100.0 % | 1 / 1 | |
pg_delete_login_token.c |
|
100.0 % | 8 / 8 | 100.0 % | 1 / 1 | |
pg_delete_order.c |
|
69.6 % | 16 / 23 | 100.0 % | 1 / 1 | |
pg_delete_otp.c |
|
0.0 % | 0 / 8 | 0.0 % | 0 / 1 | |
pg_delete_pending_webhook.c |
|
100.0 % | 7 / 7 | 100.0 % | 1 / 1 | |
pg_delete_product.c |
|
100.0 % | 8 / 8 | 100.0 % | 1 / 1 | |
pg_delete_template.c |
|
100.0 % | 8 / 8 | 100.0 % | 1 / 1 | |
pg_delete_token_family.c |
|
0.0 % | 0 / 8 | 0.0 % | 0 / 1 | |
pg_delete_transfer.c |
|
100.0 % | 8 / 8 | 100.0 % | 1 / 1 | |
pg_delete_webhook.c |
|
100.0 % | 8 / 8 | 100.0 % | 1 / 1 | |
pg_expire_locks.c |
|
73.9 % | 17 / 23 | 100.0 % | 1 / 1 | |
pg_gc.c |
|
0.0 % | 0 / 15 | 0.0 % | 0 / 1 | |
pg_get_kyc_limits.c |
|
100.0 % | 14 / 14 | 100.0 % | 1 / 1 | |
pg_get_kyc_status.c |
|
100.0 % | 26 / 26 | 100.0 % | 1 / 1 | |
pg_helper.c |
|
59.6 % | 31 / 52 | 75.0 % | 3 / 4 | |
pg_inactivate_account.c |
|
100.0 % | 8 / 8 | 100.0 % | 1 / 1 | |
pg_increase_refund.c |
|
70.9 % | 144 / 203 | 100.0 % | 6 / 6 | |
pg_insert_account.c |
|
100.0 % | 17 / 17 | 100.0 % | 1 / 1 | |
pg_insert_category.c |
|
0.0 % | 0 / 11 | 0.0 % | 0 / 1 | |
pg_insert_contract_terms.c |
|
85.7 % | 24 / 28 | 100.0 % | 1 / 1 | |
pg_insert_deposit.c |
|
100.0 % | 14 / 14 | 100.0 % | 1 / 1 | |
pg_insert_deposit_confirmation.c |
|
100.0 % | 26 / 26 | 100.0 % | 1 / 1 | |
pg_insert_deposit_to_transfer.c |
|
0.0 % | 0 / 25 | 0.0 % | 0 / 1 | |
pg_insert_exchange_account.c |
|
100.0 % | 13 / 13 | 100.0 % | 1 / 1 | |
pg_insert_exchange_keys.c |
|
100.0 % | 16 / 16 | 100.0 % | 1 / 1 | |
pg_insert_exchange_signkey.c |
|
100.0 % | 12 / 12 | 100.0 % | 1 / 1 | |
pg_insert_instance.c |
|
96.9 % | 31 / 32 | 100.0 % | 1 / 1 | |
pg_insert_issued_token.c |
|
100.0 % | 9 / 9 | 100.0 % | 1 / 1 | |
pg_insert_login_token.c |
|
100.0 % | 11 / 11 | 100.0 % | 1 / 1 | |
pg_insert_order.c |
|
100.0 % | 24 / 24 | 100.0 % | 1 / 1 | |
pg_insert_order_lock.c |
|
100.0 % | 10 / 10 | 100.0 % | 1 / 1 | |
pg_insert_otp.c |
|
100.0 % | 13 / 13 | 100.0 % | 1 / 1 | |
pg_insert_pending_webhook.c |
|
85.7 % | 12 / 14 | 100.0 % | 1 / 1 | |
pg_insert_product.c |
|
100.0 % | 27 / 27 | 100.0 % | 1 / 1 | |
pg_insert_refund_proof.c |
|
100.0 % | 9 / 9 | 100.0 % | 1 / 1 | |
pg_insert_spent_token.c |
|
100.0 % | 11 / 11 | 100.0 % | 1 / 1 | |
pg_insert_template.c |
|
100.0 % | 16 / 16 | 100.0 % | 1 / 1 | |
pg_insert_token_family.c |
|
90.0 % | 27 / 30 | 100.0 % | 1 / 1 | |
pg_insert_token_family_key.c |
|
78.4 % | 29 / 37 | 100.0 % | 1 / 1 | |
pg_insert_transfer.c |
|
100.0 % | 12 / 12 | 100.0 % | 1 / 1 | |
pg_insert_transfer_details.c |
|
78.7 % | 48 / 61 | 100.0 % | 1 / 1 | |
pg_insert_webhook.c |
|
88.2 % | 15 / 17 | 100.0 % | 1 / 1 | |
pg_lock_product.c |
|
100.0 % | 11 / 11 | 100.0 % | 1 / 1 | |
pg_lookup_account.c |
|
0.0 % | 0 / 10 | 0.0 % | 0 / 1 | |
pg_lookup_all_products.c |
|
0.0 % | 0 / 38 | 0.0 % | 0 / 2 | |
pg_lookup_categories.c |
|
0.0 % | 0 / 26 | 0.0 % | 0 / 2 | |
pg_lookup_contract_terms.c |
|
93.3 % | 14 / 15 | 100.0 % | 1 / 1 | |
pg_lookup_contract_terms2.c |
|
94.7 % | 18 / 19 | 100.0 % | 1 / 1 | |
pg_lookup_contract_terms3.c |
|
100.0 % | 27 / 27 | 100.0 % | 1 / 1 | |
pg_lookup_deposits.c |
|
90.0 % | 27 / 30 | 100.0 % | 2 / 2 | |
pg_lookup_deposits_by_contract_and_coin.c |
|
58.3 % | 42 / 72 | 100.0 % | 3 / 3 | |
pg_lookup_deposits_by_order.c |
|
86.7 % | 26 / 30 | 100.0 % | 2 / 2 | |
pg_lookup_instance_auth.c |
|
100.0 % | 10 / 10 | 100.0 % | 1 / 1 | |
pg_lookup_instances.c |
|
90.2 % | 46 / 51 | 100.0 % | 3 / 3 | |
pg_lookup_order.c |
|
95.8 % | 23 / 24 | 100.0 % | 1 / 1 | |
pg_lookup_order_by_fulfillment.c |
|
100.0 % | 12 / 12 | 100.0 % | 1 / 1 | |
pg_lookup_order_status.c |
|
100.0 % | 15 / 15 | 100.0 % | 1 / 1 | |
pg_lookup_order_status_by_serial.c |
|
100.0 % | 13 / 13 | 100.0 % | 1 / 1 | |
pg_lookup_order_summary.c |
|
100.0 % | 11 / 11 | 100.0 % | 1 / 1 | |
pg_lookup_orders.c |
|
91.3 % | 42 / 46 | 100.0 % | 2 / 2 | |
pg_lookup_otp_devices.c |
|
0.0 % | 0 / 24 | 0.0 % | 0 / 2 | |
pg_lookup_pending_deposits.c |
|
47.2 % | 17 / 36 | 100.0 % | 2 / 2 | |
pg_lookup_pending_webhooks.c |
|
66.1 % | 37 / 56 | 75.0 % | 3 / 4 | |
pg_lookup_product.c |
|
100.0 % | 49 / 49 | 100.0 % | 1 / 1 | |
pg_lookup_products.c |
|
85.7 % | 24 / 28 | 100.0 % | 2 / 2 | |
pg_lookup_refund_proof.c |
|
100.0 % | 10 / 10 | 100.0 % | 1 / 1 | |
pg_lookup_refunds.c |
|
59.3 % | 16 / 27 | 100.0 % | 2 / 2 | |
pg_lookup_refunds_detailed.c |
|
90.9 % | 30 / 33 | 100.0 % | 2 / 2 | |
pg_lookup_spent_tokens_by_order.c |
|
50.0 % | 14 / 28 | 100.0 % | 2 / 2 | |
pg_lookup_statistics_amount_by_bucket.c |
|
91.2 % | 52 / 57 | 100.0 % | 2 / 2 | |
pg_lookup_statistics_amount_by_interval.c |
|
38.3 % | 18 / 47 | 100.0 % | 2 / 2 | |
pg_lookup_statistics_counter_by_bucket.c |
|
83.9 % | 26 / 31 | 100.0 % | 2 / 2 | |
pg_lookup_statistics_counter_by_interval.c |
|
50.0 % | 14 / 28 | 100.0 % | 2 / 2 | |
pg_lookup_template.c |
|
88.2 % | 15 / 17 | 100.0 % | 1 / 1 | |
pg_lookup_templates.c |
|
83.3 % | 20 / 24 | 100.0 % | 2 / 2 | |
pg_lookup_token_families.c |
|
0.0 % | 0 / 27 | 0.0 % | 0 / 2 | |
pg_lookup_token_family.c |
|
0.0 % | 0 / 36 | 0.0 % | 0 / 1 | |
pg_lookup_token_family_key.c |
|
86.0 % | 37 / 43 | 100.0 % | 1 / 1 | |
pg_lookup_token_family_keys.c |
|
84.6 % | 44 / 52 | 100.0 % | 2 / 2 | |
pg_lookup_transfer.c |
|
80.6 % | 25 / 31 | 100.0 % | 1 / 1 | |
pg_lookup_transfer_details.c |
|
0.0 % | 0 / 29 | 0.0 % | 0 / 2 | |
pg_lookup_transfer_details_by_order.c |
|
86.7 % | 26 / 30 | 100.0 % | 2 / 2 | |
pg_lookup_transfer_summary.c |
|
0.0 % | 0 / 27 | 0.0 % | 0 / 2 | |
pg_lookup_transfers.c |
|
93.5 % | 43 / 46 | 100.0 % | 2 / 2 | |
pg_lookup_webhook.c |
|
88.2 % | 15 / 17 | 100.0 % | 1 / 1 | |
pg_lookup_webhook_by_event.c |
|
86.2 % | 25 / 29 | 100.0 % | 2 / 2 | |
pg_lookup_webhooks.c |
|
83.3 % | 20 / 24 | 100.0 % | 2 / 2 | |
pg_lookup_wire_fee.c |
|
100.0 % | 17 / 17 | 100.0 % | 1 / 1 | |
pg_mark_contract_paid.c |
|
91.7 % | 22 / 24 | 100.0 % | 1 / 1 | |
pg_mark_order_wired.c |
|
100.0 % | 7 / 7 | 100.0 % | 1 / 1 | |
pg_purge_instance.c |
|
100.0 % | 7 / 7 | 100.0 % | 1 / 1 | |
pg_refund_coin.c |
|
100.0 % | 10 / 10 | 100.0 % | 1 / 1 | |
pg_select_account.c |
|
0.0 % | 0 / 16 | 0.0 % | 0 / 1 | |
pg_select_account_by_uri.c |
|
0.0 % | 0 / 18 | 0.0 % | 0 / 1 | |
pg_select_accounts.c |
|
89.2 % | 33 / 37 | 100.0 % | 2 / 2 | |
pg_select_accounts_by_exchange.c |
|
0.0 % | 0 / 28 | 0.0 % | 0 / 2 | |
pg_select_category.c |
|
0.0 % | 0 / 16 | 0.0 % | 0 / 1 | |
pg_select_category_by_name.c |
|
0.0 % | 0 / 11 | 0.0 % | 0 / 1 | |
pg_select_exchange_keys.c |
|
88.9 % | 16 / 18 | 100.0 % | 1 / 1 | |
pg_select_login_token.c |
|
100.0 % | 11 / 11 | 100.0 % | 1 / 1 | |
pg_select_open_transfers.c |
|
85.7 % | 24 / 28 | 100.0 % | 2 / 2 | |
pg_select_otp.c |
|
84.2 % | 16 / 19 | 100.0 % | 1 / 1 | |
pg_select_otp_serial.c |
|
100.0 % | 10 / 10 | 100.0 % | 1 / 1 | |
pg_select_wirewatch_accounts.c |
|
84.6 % | 22 / 26 | 100.0 % | 2 / 2 | |
pg_set_transfer_status_to_confirmed.c |
|
100.0 % | 10 / 10 | 100.0 % | 1 / 1 | |
pg_store_wire_fee_by_exchange.c |
|
100.0 % | 14 / 14 | 100.0 % | 1 / 1 | |
pg_unlock_inventory.c |
|
100.0 % | 7 / 7 | 100.0 % | 1 / 1 | |
pg_update_account.c |
|
0.0 % | 0 / 12 | 0.0 % | 0 / 1 | |
pg_update_category.c |
|
0.0 % | 0 / 10 | 0.0 % | 0 / 1 | |
pg_update_contract_terms.c |
|
0.0 % | 0 / 28 | 0.0 % | 0 / 1 | |
pg_update_deposit_confirmation_status.c |
|
0.0 % | 0 / 12 | 0.0 % | 0 / 1 | |
pg_update_instance.c |
|
100.0 % | 22 / 22 | 100.0 % | 1 / 1 | |
pg_update_instance_auth.c |
|
100.0 % | 9 / 9 | 100.0 % | 1 / 1 | |
pg_update_otp.c |
|
0.0 % | 0 / 15 | 0.0 % | 0 / 1 | |
pg_update_pending_webhook.c |
|
0.0 % | 0 / 8 | 0.0 % | 0 / 1 | |
pg_update_product.c |
|
94.4 % | 34 / 36 | 100.0 % | 1 / 1 | |
pg_update_template.c |
|
100.0 % | 16 / 16 | 100.0 % | 1 / 1 | |
pg_update_token_family.c |
|
0.0 % | 0 / 14 | 0.0 % | 0 / 1 | |
pg_update_transfer_status.c |
|
100.0 % | 13 / 13 | 100.0 % | 1 / 1 | |
pg_update_webhook.c |
|
88.2 % | 15 / 17 | 100.0 % | 1 / 1 | |
pg_update_wirewatch_progress.c |
|
100.0 % | 9 / 9 | 100.0 % | 1 / 1 | |
plugin_merchantdb_postgres.c |
|
96.7 % | 203 / 210 | 100.0 % | 10 / 10 | |
test_merchantdb.c |
|
1.3 % | 24 / 1896 | 1.3 % | 2 / 151 |
![]() |
Generated by: LCOV version 1.16 |