LCOV - differential code coverage report
Current view: top level - src/interfaces/libpq - fe-secure-openssl.c (source / functions) Coverage Total Hit UNC UBC GNC CBC EUB ECB DCB
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 54.2 % 701 380 8 313 11 369 5 5 6
Current Date: 2026-08-27 14:31:44 +0300 Functions: 83.9 % 31 26 5 6 20
Baseline: lcov-20260827-baseline Branches: 51.4 % 434 223 3 208 3 220 2 2
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 52.9 % 17 9 8 9
(30,360] days: 76.9 % 13 10 3 2 8
(360..) days: 53.8 % 671 361 310 361 5 5
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 82.8 % 29 24 5 6 18
Branch coverage date bins:
(7,30] days: 50.0 % 6 3 3 3
(30,360] days: 50.0 % 6 3 3 3
(360..) days: 50.9 % 426 217 205 217 2 2

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
initialize_SSL GNC 161 50.7 % (114 / 225) 65.2 % (116 / 178)
open_client_SSL CBC 421 42.2 % (27 / 64) 27.0 % (10 / 37)
PQsslAttribute CBC 1 14.8 % (4 / 27) 7.7 % (2 / 26)
pgtls_write CBC 343 27.1 % (13 / 48) 19.0 % (4 / 21)
pgtls_read CBC 344 50.0 % (24 / 48) 33.3 % (7 / 21)
SSLerrmessage CBC 30 40.0 % (8 / 20) 25.0 % (3 / 12)
pgconn_bio_method CBC 158 62.5 % (15 / 24) 43.8 % (7 / 16)
pgtls_get_peer_certificate_hash GNC 5 55.9 % (19 / 34) 50.0 % (7 / 14)
pgtls_verify_peer_name_matches_certificate_guts CBC 36 100.0 % (46 / 46) 81.2 % (26 / 32)
ssl_protocol_version_to_openssl GNC 163 50.0 % (5 / 10) 37.5 % (3 / 8)
PQsslAttributeNames UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
PQsslStruct UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
PQdefaultSSLKeyPassHook_OpenSSL CBC 2 66.7 % (6 / 9) 50.0 % (3 / 6)
pgconn_bio_write GNC 926 45.5 % (5 / 11) 25.0 % (1 / 4)
pgtls_bytes_pending CBC 842 66.7 % (6 / 9) 50.0 % (3 / 6)
PQgetssl UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
SSL_CTX_keylog_cb CBC 10 84.6 % (11 / 13) 66.7 % (4 / 6)
pgtls_close GNC 32763 80.0 % (12 / 15) 75.0 % (6 / 8)
ssl_set_pgconn_bio CBC 158 81.8 % (9 / 11) 50.0 % (2 / 4)
PQssl_passwd_cb CBC 2 80.0 % (4 / 5) 50.0 % (1 / 2)
SSLerrfree CBC 30 100.0 % (4 / 4) 50.0 % (1 / 2)
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_read GNC 3197 84.6 % (11 / 13) 75.0 % (3 / 4)
cert_cb CBC 133 100.0 % (6 / 6) 100.0 % (2 / 2)
is_ip_address CBC 36 100.0 % (3 / 3) 100.0 % (4 / 4)
pgtls_open_client CBC 426 100.0 % (6 / 6) 100.0 % (4 / 4)
PQgetSSLKeyPassHook_OpenSSL UBC 0 0.0 % (0 / 2)
PQsetSSLKeyPassHook_OpenSSL UBC 0 0.0 % (0 / 3)
verify_cb CBC 357 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1