LCOV - differential code coverage report
Current view: top level - src/interfaces/libpq - fe-secure-openssl.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 54.4 % 698 380 318 2 378 2
Current Date: 2026-07-25 17:13:00 -0400 Functions: 83.9 % 31 26 5 2 24
Baseline: lcov-20260726-baseline Branches: 51.6 % 434 224 210 224
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 72.7 % 11 8 3 2 6
(30,360] days: 100.0 % 2 2 2
(360..) days: 54.0 % 685 370 315 370
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 1 1 1
(360..) days: 82.8 % 29 24 5 2 22
Branch coverage date bins:
(7,30] days: 50.0 % 6 3 3 3
(360..) days: 51.6 % 428 221 207 221

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 30 100.0 % (4 / 4) 50.0 % (1 / 2)
SSLerrmessage CBC 30 40.0 % (8 / 20) 25.0 % (3 / 12)
cert_cb CBC 133 100.0 % (6 / 6) 100.0 % (2 / 2)
initialize_SSL CBC 161 50.7 % (114 / 225) 65.2 % (116 / 178)
is_ip_address CBC 36 100.0 % (3 / 3) 100.0 % (4 / 4)
open_client_SSL CBC 427 42.2 % (27 / 64) 27.0 % (10 / 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 895 76.9 % (10 / 13) 66.7 % (2 / 3)
pgconn_bio_method CBC 158 62.5 % (15 / 24) 43.8 % (7 / 16)
pgconn_bio_read GNC 3203 86.7 % (13 / 15) 83.3 % (5 / 6)
pgconn_bio_write GNC 926 45.5 % (5 / 11) 25.0 % (1 / 4)
pgtls_bytes_pending CBC 848 66.7 % (6 / 9) 50.0 % (3 / 6)
pgtls_close CBC 31908 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 432 100.0 % (6 / 6) 100.0 % (4 / 4)
pgtls_read CBC 344 50.0 % (24 / 48) 33.3 % (7 / 21)
pgtls_verify_peer_name_matches_certificate_guts CBC 36 100.0 % (46 / 46) 81.2 % (26 / 32)
pgtls_write CBC 343 27.1 % (13 / 48) 19.0 % (4 / 21)
ssl_protocol_version_to_openssl CBC 163 50.0 % (5 / 10) 37.5 % (3 / 8)
ssl_set_pgconn_bio CBC 158 81.8 % (9 / 11) 50.0 % (2 / 4)
verify_cb CBC 357 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1