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: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 70.7 % 836 591 6 239 26 565 4 6 2 14
Current Date: 2026-08-27 14:31:44 +0300 Functions: 94.9 % 39 37 2 7 30 1
Baseline: lcov-20260827-baseline Branches: 46.8 % 697 326 8 363 12 314 4 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: 80.0 % 30 24 6 24
(30,360] days: 86.3 % 226 195 31 2 193
(360..) days: 64.1 % 580 372 208 372 4 6
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 5 5 5
(360..) days: 93.9 % 33 31 2 6 25
Branch coverage date bins:
(7,30] days: 60.0 % 20 12 8 12
(30,360] days: 67.1 % 228 153 75 153
(360..) days: 35.4 % 455 161 288 161 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
SSLerrmessage CBC 34 50.0 % (5 / 10) 33.3 % (2 / 6)
SSLerrmessageExt CBC 2 75.0 % (3 / 4) 50.0 % (1 / 2)
X509_NAME_to_cstring CBC 75 79.3 % (23 / 29) 36.4 % (8 / 22)
alpn_cb CBC 292 81.8 % (9 / 11) 50.0 % (8 / 16)
be_tls_close CBC 158 100.0 % (16 / 16) 87.5 % (7 / 8)
be_tls_destroy CBC 159 83.3 % (5 / 6) 50.0 % (1 / 2)
be_tls_get_certificate_hash GNC 4 66.7 % (18 / 27) 30.0 % (6 / 20)
be_tls_get_cipher CBC 205 75.0 % (3 / 4) 50.0 % (1 / 2)
be_tls_get_cipher_bits CBC 204 80.0 % (4 / 5) 50.0 % (1 / 2)
be_tls_get_peer_issuer_name CBC 103 100.0 % (5 / 5) 100.0 % (2 / 2)
be_tls_get_peer_serial CBC 103 100.0 % (10 / 10) 100.0 % (2 / 2)
be_tls_get_peer_subject_name CBC 102 100.0 % (5 / 5) 100.0 % (2 / 2)
be_tls_get_version CBC 205 75.0 % (3 / 4) 50.0 % (1 / 2)
be_tls_init GNC 61 80.3 % (98 / 122) 55.6 % (80 / 144)
be_tls_open_server GNC 158 64.9 % (74 / 114) 34.1 % (29 / 85)
be_tls_read CBC 603 47.4 % (18 / 38) 31.6 % (6 / 19)
be_tls_write CBC 227 25.6 % (10 / 39) 15.8 % (3 / 19)
default_openssl_tls_init CBC 33 100.0 % (10 / 10) 100.0 % (8 / 8)
dummy_ssl_passwd_cb CBC 2 100.0 % (5 / 5) 50.0 % (1 / 2)
host_cache_pointer CBC 29 100.0 % (8 / 8) 100.0 % (2 / 2)
host_context_cleanup_cb CBC 374 100.0 % (10 / 10) 81.2 % (13 / 16)
info_cb CBC 3665 78.6 % (22 / 28) 48.0 % (12 / 25)
initialize_dh CBC 48 62.5 % (10 / 16) 25.0 % (4 / 16)
initialize_ecdh CBC 48 80.0 % (4 / 5) 66.7 % (4 / 6)
load_dh_buffer CBC 48 80.0 % (8 / 10) 33.3 % (2 / 6)
load_dh_file UBC 0 0.0 % (0 / 24) 0.0 % (0 / 32)
port_bio_ctrl CBC 761 100.0 % (13 / 13) 100.0 % (3 / 3)
port_bio_method CBC 158 68.8 % (11 / 16) 50.0 % (6 / 12)
port_bio_read GNC 2868 100.0 % (11 / 11) 70.0 % (7 / 10)
port_bio_write GNC 667 75.0 % (6 / 8) 12.5 % (1 / 8)
prepare_cert_name CBC 16 100.0 % (8 / 8) 100.0 % (2 / 2)
sni_clienthello_cb CBC 298 73.2 % (41 / 56) 72.0 % (36 / 50)
ssl_external_passwd_cb CBC 17 100.0 % (5 / 5) 50.0 % (1 / 2)
ssl_protocol_version_to_openssl GNC 50 46.2 % (6 / 13) 33.3 % (2 / 6)
ssl_protocol_version_to_string UBC 0 0.0 % (0 / 13) 0.0 % (0 / 6)
ssl_set_port_bio CBC 158 81.8 % (9 / 11) 50.0 % (2 / 4)
ssl_update_ssl CBC 292 82.6 % (19 / 23) 50.0 % (13 / 26)
verify_cb CBC 101 96.9 % (31 / 32) 66.7 % (4 / 6)

Generated by: LCOV version 2.0-1