LCOV - differential code coverage report
Current view: top level - src/backend/libpq - be-secure-openssl.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 66.3 % 641 425 216 13 7 405 2
Current Date: 2026-03-14 14:10:32 -0400 Functions: 94.1 % 34 32 2 1 2 29
Baseline: lcov-20260315-024220-baseline Branches: 38.0 % 497 189 308 9 2 178
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 7 7 7
(360..) days: 65.9 % 634 418 216 13 405
Function coverage date bins:
(360..) days: 94.1 % 34 32 2 1 2 29
Branch coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 37.8 % 495 187 308 9 178

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
be_tls_open_server GNC 153 62.5 % (70 / 112) 34.5 % (30 / 87)
be_tls_init CBC 36 66.3 % (63 / 95) 36.6 % (49 / 134)
be_tls_write CBC 237 25.6 % (10 / 39) 15.8 % (3 / 19)
load_dh_file UBC 0 0.0 % (0 / 24) 0.0 % (0 / 32)
be_tls_read CBC 605 47.4 % (18 / 38) 31.6 % (6 / 19)
ssl_protocol_version_to_string UBC 0 0.0 % (0 / 13) 0.0 % (0 / 6)
be_tls_get_certificate_hash CBC 4 69.6 % (16 / 23) 31.2 % (5 / 16)
ssl_protocol_version_to_openssl CBC 34 46.2 % (6 / 13) 33.3 % (2 / 6)
X509_NAME_to_cstring CBC 67 79.3 % (23 / 29) 36.4 % (8 / 22)
info_cb CBC 3441 78.6 % (22 / 28) 48.0 % (12 / 25)
initialize_dh CBC 32 62.5 % (10 / 16) 25.0 % (4 / 16)
SSLerrmessage CBC 23 50.0 % (5 / 10) 33.3 % (2 / 6)
port_bio_method CBC 153 68.8 % (11 / 16) 50.0 % (6 / 12)
alpn_cb CBC 262 81.8 % (9 / 11) 50.0 % (8 / 16)
load_dh_buffer CBC 32 80.0 % (8 / 10) 33.3 % (2 / 6)
port_bio_write CBC 645 75.0 % (6 / 8) 12.5 % (1 / 8)
ssl_set_port_bio CBC 153 81.8 % (9 / 11) 50.0 % (2 / 4)
SSLerrmessageExt CBC 2 75.0 % (3 / 4) 50.0 % (1 / 2)
be_tls_get_cipher CBC 211 75.0 % (3 / 4) 50.0 % (1 / 2)
be_tls_get_cipher_bits CBC 210 80.0 % (4 / 5) 50.0 % (1 / 2)
be_tls_get_version CBC 211 75.0 % (3 / 4) 50.0 % (1 / 2)
initialize_ecdh CBC 32 80.0 % (4 / 5) 66.7 % (4 / 6)
verify_cb GNC 93 96.9 % (31 / 32) 66.7 % (4 / 6)
be_tls_close CBC 153 100.0 % (16 / 16) 87.5 % (7 / 8)
be_tls_destroy CBC 155 100.0 % (6 / 6) 100.0 % (2 / 2)
be_tls_get_peer_issuer_name CBC 106 100.0 % (5 / 5) 100.0 % (2 / 2)
be_tls_get_peer_serial CBC 106 100.0 % (10 / 10) 100.0 % (2 / 2)
be_tls_get_peer_subject_name CBC 105 100.0 % (5 / 5) 100.0 % (2 / 2)
default_openssl_tls_init CBC 33 100.0 % (8 / 8) 100.0 % (8 / 8)
dummy_ssl_passwd_cb GBC 1 100.0 % (5 / 5) 50.0 % (1 / 2)
port_bio_ctrl CBC 18768 100.0 % (13 / 13) 100.0 % (3 / 3)
port_bio_read CBC 2712 100.0 % (11 / 11) 70.0 % (7 / 10)
prepare_cert_name CBC 12 100.0 % (8 / 8) 100.0 % (2 / 2)
ssl_external_passwd_cb CBC 8 100.0 % (4 / 4) 50.0 % (1 / 2)

Generated by: LCOV version 2.4-beta