LCOV - differential code coverage report
Current view: top level - src/backend/libpq - be-secure-openssl.c (source / functions) Coverage Total Hit UNC UBC GNC CBC EUB ECB DUB DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 71.0 % 853 606 6 241 27 579 4 6 2 15
Current Date: 2026-11-05 14:14:01 +0100 Functions: 94.9 % 39 37 2 8 29 1
Baseline: lcov-20261105-baseline Branches: 47.8 % 719 344 8 367 12 332 4 2
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 73.1 % 26 19 7 2 17
(30,360] days: 86.3 % 248 214 6 28 25 189
(360..) days: 64.4 % 579 373 206 373 4 6
Function coverage date bins:
(30,360] days: 100.0 % 6 6 1 5
(360..) days: 93.9 % 33 31 2 7 24
Branch coverage date bins:
(7,30] days: 57.7 % 26 15 11 2 13
(30,360] days: 68.0 % 244 166 8 70 10 156
(360..) days: 35.8 % 455 163 286 163 4 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
load_dh_file UBC 0 0.0 % (0 / 24) 0.0 % (0 / 32)
ssl_protocol_version_to_string UBC 0 0.0 % (0 / 13) 0.0 % (0 / 6)
SSLerrmessageExt CBC 2 75.0 % (3 / 4) 50.0 % (1 / 2)
dummy_ssl_passwd_cb CBC 2 100.0 % (5 / 5) 50.0 % (1 / 2)
be_tls_get_certificate_hash GNC 4 66.7 % (18 / 27) 30.0 % (6 / 20)
prepare_cert_name CBC 16 100.0 % (8 / 8) 100.0 % (2 / 2)
ssl_external_passwd_cb CBC 20 100.0 % (5 / 5) 50.0 % (1 / 2)
host_cache_pointer CBC 36 100.0 % (8 / 8) 100.0 % (2 / 2)
SSLerrmessage CBC 38 70.0 % (7 / 10) 66.7 % (4 / 6)
default_openssl_tls_init CBC 39 100.0 % (10 / 10) 100.0 % (8 / 8)
initialize_dh CBC 55 62.5 % (10 / 16) 25.0 % (4 / 16)
initialize_ecdh CBC 55 80.0 % (4 / 5) 66.7 % (4 / 6)
load_dh_buffer CBC 55 80.0 % (8 / 10) 33.3 % (2 / 6)
ssl_protocol_version_to_openssl GNC 57 46.2 % (6 / 13) 33.3 % (2 / 6)
be_tls_init GNC 71 81.5 % (106 / 130) 55.7 % (88 / 158)
X509_NAME_to_cstring CBC 75 79.3 % (23 / 29) 36.4 % (8 / 22)
init_host_context GNC 79 75.8 % (47 / 62) 50.0 % (47 / 94)
verify_cb CBC 101 96.9 % (31 / 32) 66.7 % (4 / 6)
be_tls_get_peer_subject_name CBC 111 100.0 % (5 / 5) 100.0 % (2 / 2)
be_tls_get_peer_issuer_name CBC 112 100.0 % (5 / 5) 100.0 % (2 / 2)
be_tls_get_peer_serial CBC 112 100.0 % (10 / 10) 100.0 % (2 / 2)
be_tls_destroy CBC 161 60.0 % (6 / 10) 50.0 % (2 / 4)
be_tls_close CBC 169 100.0 % (16 / 16) 87.5 % (7 / 8)
be_tls_open_server GNC 169 64.9 % (74 / 114) 34.1 % (29 / 85)
port_bio_method CBC 169 68.8 % (11 / 16) 50.0 % (6 / 12)
ssl_set_port_bio CBC 169 81.8 % (9 / 11) 50.0 % (2 / 4)
be_tls_get_cipher_bits CBC 222 80.0 % (4 / 5) 50.0 % (1 / 2)
be_tls_get_cipher CBC 223 75.0 % (3 / 4) 50.0 % (1 / 2)
be_tls_get_version CBC 223 75.0 % (3 / 4) 50.0 % (1 / 2)
be_tls_write CBC 246 25.6 % (10 / 39) 15.8 % (3 / 19)
alpn_cb GNC 312 81.8 % (9 / 11) 50.0 % (8 / 16)
ssl_update_ssl CBC 312 82.6 % (19 / 23) 50.0 % (13 / 26)
sni_clienthello_cb CBC 319 70.5 % (43 / 61) 67.9 % (38 / 56)
host_context_cleanup_cb CBC 421 100.0 % (10 / 10) 87.5 % (14 / 16)
be_tls_read CBC 671 47.4 % (18 / 38) 31.6 % (6 / 19)
port_bio_write GNC 717 75.0 % (6 / 8) 12.5 % (1 / 8)
port_bio_ctrl CBC 814 100.0 % (13 / 13) 100.0 % (3 / 3)
port_bio_read GNC 3097 100.0 % (11 / 11) 70.0 % (7 / 10)
info_cb CBC 3921 78.6 % (22 / 28) 48.0 % (12 / 25)

Generated by: LCOV version 2.0-1