LCOV - differential code coverage report
Current view: top level - src/backend/libpq - be-secure-openssl.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC EUB DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 70.6 % 830 586 31 213 7 203 376 2 7 31
Current Date: 2026-05-29 21:51:00 -0400 Functions: 94.9 % 39 37 2 1 11 25 1
Baseline: lcov-20260530-034037-baseline Branches: 47.1 % 695 327 75 293 4 161 162 20 16
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 100.0 % 4 4 4
(30,360] days: 86.5 % 230 199 31 199
(360..) days: 64.3 % 596 383 213 7 376 2
Function coverage date bins:
[..1] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 5 5 5
(360..) days: 93.9 % 33 31 2 1 5 25
Branch coverage date bins:
(30,360] days: 68.2 % 236 161 75 161
(360..) days: 36.2 % 459 166 293 4 162

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 36 50.0 % (5 / 10) 33.3 % (2 / 6)
SSLerrmessageExt CBC 2 75.0 % (3 / 4) 50.0 % (1 / 2)
X509_NAME_to_cstring GNC 75 79.3 % (23 / 29) 36.4 % (8 / 22)
alpn_cb CBC 326 81.8 % (9 / 11) 50.0 % (8 / 16)
be_tls_close CBC 192 100.0 % (16 / 16) 87.5 % (7 / 8)
be_tls_destroy CBC 163 100.0 % (6 / 6) 100.0 % (2 / 2)
be_tls_get_certificate_hash CBC 4 69.6 % (16 / 23) 31.2 % (5 / 16)
be_tls_get_cipher CBC 253 75.0 % (3 / 4) 50.0 % (1 / 2)
be_tls_get_cipher_bits CBC 252 80.0 % (4 / 5) 50.0 % (1 / 2)
be_tls_get_peer_issuer_name CBC 127 100.0 % (5 / 5) 100.0 % (2 / 2)
be_tls_get_peer_serial CBC 127 100.0 % (10 / 10) 100.0 % (2 / 2)
be_tls_get_peer_subject_name CBC 126 100.0 % (5 / 5) 100.0 % (2 / 2)
be_tls_get_version CBC 253 75.0 % (3 / 4) 50.0 % (1 / 2)
be_tls_init GNC 66 80.2 % (97 / 121) 55.6 % (80 / 144)
be_tls_open_server GNC 192 62.8 % (71 / 113) 34.5 % (30 / 87)
be_tls_read CBC 697 47.4 % (18 / 38) 31.6 % (6 / 19)
be_tls_write CBC 285 25.6 % (10 / 39) 15.8 % (3 / 19)
default_openssl_tls_init GNC 38 100.0 % (10 / 10) 100.0 % (8 / 8)
dummy_ssl_passwd_cb GBC 2 100.0 % (5 / 5) 50.0 % (1 / 2)
host_cache_pointer GNC 29 100.0 % (8 / 8) 100.0 % (2 / 2)
host_context_cleanup_cb GNC 501 100.0 % (10 / 10) 81.2 % (13 / 16)
info_cb CBC 4223 78.6 % (22 / 28) 48.0 % (12 / 25)
init_host_context GNC 76 72.6 % (45 / 62) 45.7 % (43 / 94)
initialize_dh CBC 53 62.5 % (10 / 16) 25.0 % (4 / 16)
initialize_ecdh CBC 53 80.0 % (4 / 5) 66.7 % (4 / 6)
load_dh_buffer CBC 53 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 22855 100.0 % (13 / 13) 100.0 % (3 / 3)
port_bio_method CBC 192 68.8 % (11 / 16) 50.0 % (6 / 12)
port_bio_read CBC 3262 100.0 % (11 / 11) 70.0 % (7 / 10)
port_bio_write CBC 793 75.0 % (6 / 8) 12.5 % (1 / 8)
prepare_cert_name CBC 16 100.0 % (8 / 8) 100.0 % (2 / 2)
sni_clienthello_cb GNC 332 73.2 % (41 / 56) 72.0 % (36 / 50)
ssl_external_passwd_cb GNC 17 100.0 % (5 / 5) 50.0 % (1 / 2)
ssl_protocol_version_to_openssl CBC 55 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 192 81.8 % (9 / 11) 50.0 % (2 / 4)
ssl_update_ssl GNC 326 82.6 % (19 / 23) 50.0 % (13 / 26)
verify_cb GNC 101 96.9 % (31 / 32) 66.7 % (4 / 6)

Generated by: LCOV version 2.5.0-beta