LCOV - differential code coverage report
Current view: top level - src/interfaces/libpq - fe-secure-openssl.c (source / functions) Coverage Total Hit UBC CBC
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 55.9 % 691 386 305 386
Current Date: 2026-03-14 14:10:32 -0400 Functions: 83.9 % 31 26 5 26
Baseline: lcov-20260315-024220-baseline Branches: 52.1 % 428 223 205 223
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 86.7 % 15 13 2 13
(360..) days: 55.2 % 676 373 303 373
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 83.3 % 30 25 5 25
Branch coverage date bins:
(30,360] days: 70.0 % 10 7 3 7
(360..) days: 51.7 % 418 216 202 216

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
PQdefaultSSLKeyPassHook_OpenSSL CBC 2 66.7 % (6 / 9) 50.0 % (3 / 6)
PQgetSSLKeyPassHook_OpenSSL UBC 0 0.0 % (0 / 2)
PQgetssl UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
PQsetSSLKeyPassHook_OpenSSL UBC 0 0.0 % (0 / 3)
PQsslAttribute CBC 1 14.8 % (4 / 27) 7.7 % (2 / 26)
PQsslAttributeNames UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
PQsslStruct UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
PQssl_passwd_cb CBC 2 80.0 % (4 / 5) 50.0 % (1 / 2)
SSL_CTX_keylog_cb CBC 10 84.6 % (11 / 13) 66.7 % (4 / 6)
SSLerrfree CBC 25 100.0 % (4 / 4) 50.0 % (1 / 2)
SSLerrmessage CBC 25 40.0 % (8 / 20) 25.0 % (3 / 12)
cert_cb CBC 108 100.0 % (6 / 6) 100.0 % (2 / 2)
initialize_SSL CBC 162 49.8 % (112 / 225) 61.8 % (110 / 178)
is_ip_address CBC 36 100.0 % (3 / 3) 100.0 % (4 / 4)
open_client_SSL CBC 383 56.2 % (36 / 64) 45.9 % (17 / 37)
openssl_verify_peer_name_matches_certificate_ip CBC 24 71.4 % (5 / 7) 50.0 % (1 / 2)
openssl_verify_peer_name_matches_certificate_name CBC 34 71.4 % (5 / 7) 50.0 % (1 / 2)
pgconn_bio_ctrl CBC 16837 100.0 % (13 / 13) 100.0 % (3 / 3)
pgconn_bio_method CBC 160 62.5 % (15 / 24) 43.8 % (7 / 16)
pgconn_bio_read CBC 3075 86.7 % (13 / 15) 83.3 % (5 / 6)
pgconn_bio_write CBC 919 45.5 % (5 / 11) 25.0 % (1 / 4)
pgtls_close CBC 30256 81.2 % (13 / 16) 75.0 % (6 / 8)
pgtls_get_peer_certificate_hash CBC 5 57.1 % (16 / 28) 50.0 % (6 / 12)
pgtls_open_client CBC 387 100.0 % (6 / 6) 100.0 % (4 / 4)
pgtls_read CBC 354 50.0 % (24 / 48) 33.3 % (7 / 21)
pgtls_read_pending CBC 474 100.0 % (2 / 2)
pgtls_verify_peer_name_matches_certificate_guts CBC 36 100.0 % (46 / 46) 81.2 % (26 / 32)
pgtls_write CBC 353 27.1 % (13 / 48) 19.0 % (4 / 21)
ssl_protocol_version_to_openssl CBC 164 50.0 % (5 / 10) 37.5 % (3 / 8)
ssl_set_pgconn_bio CBC 160 81.8 % (9 / 11) 50.0 % (2 / 4)
verify_cb CBC 297 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta