LCOV - differential code coverage report
Current view: top level - src/interfaces/libpq - fe-secure-openssl.c (source / functions) Coverage Total Hit UBC CBC
Current: 7a15cff1f11193467898da1c1fabf06fd2caee04 vs 84a3778c79c2d28b4dc281d03ef2ab019b16483b Lines: 55.1 % 691 381 310 381
Current Date: 2025-12-15 18:36:29 -0500 Functions: 83.9 % 31 26 5 26
Baseline: lcov-20251216-010103-baseline Branches: 51.4 % 428 220 208 220
Baseline Date: 2025-12-15 13:30:48 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 86.7 % 15 13 2 13
(360..) days: 54.4 % 676 368 308 368
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 83.3 % 30 25 5 25
Branch coverage date bins:
(30,360] days: 70.0 % 10 7 3 7
(360..) days: 51.0 % 418 213 205 213

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
PQgetSSLKeyPassHook_OpenSSL UBC 0 0.0 % (0 / 2)
PQgetssl UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
PQsetSSLKeyPassHook_OpenSSL UBC 0 0.0 % (0 / 3)
PQsslAttributeNames UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
PQsslStruct UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
PQsslAttribute CBC 1 14.8 % (4 / 27) 7.7 % (2 / 26)
PQdefaultSSLKeyPassHook_OpenSSL CBC 2 66.7 % (6 / 9) 50.0 % (3 / 6)
PQssl_passwd_cb CBC 2 80.0 % (4 / 5) 50.0 % (1 / 2)
pgtls_get_peer_certificate_hash CBC 5 57.1 % (16 / 28) 50.0 % (6 / 12)
SSL_CTX_keylog_cb CBC 10 84.6 % (11 / 13) 66.7 % (4 / 6)
SSLerrfree CBC 24 100.0 % (4 / 4) 50.0 % (1 / 2)
SSLerrmessage CBC 24 40.0 % (8 / 20) 25.0 % (3 / 12)
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)
is_ip_address CBC 36 100.0 % (3 / 3) 100.0 % (4 / 4)
pgtls_verify_peer_name_matches_certificate_guts CBC 36 100.0 % (46 / 46) 81.2 % (26 / 32)
cert_cb CBC 108 100.0 % (6 / 6) 100.0 % (2 / 2)
pgconn_bio_method CBC 159 62.5 % (15 / 24) 43.8 % (7 / 16)
ssl_set_pgconn_bio CBC 159 81.8 % (9 / 11) 50.0 % (2 / 4)
initialize_SSL CBC 161 49.8 % (112 / 225) 61.8 % (110 / 178)
ssl_protocol_version_to_openssl CBC 163 50.0 % (5 / 10) 37.5 % (3 / 8)
verify_cb CBC 297 100.0 % (2 / 2)
open_client_SSL CBC 300 48.4 % (31 / 64) 37.8 % (14 / 37)
pgtls_open_client CBC 304 100.0 % (6 / 6) 100.0 % (4 / 4)
pgtls_write CBC 353 27.1 % (13 / 48) 19.0 % (4 / 21)
pgtls_read CBC 354 50.0 % (24 / 48) 33.3 % (7 / 21)
pgtls_read_pending CBC 392 100.0 % (2 / 2)
pgconn_bio_write CBC 803 45.5 % (5 / 11) 25.0 % (1 / 4)
pgconn_bio_read CBC 2762 86.7 % (13 / 15) 83.3 % (5 / 6)
pgconn_bio_ctrl CBC 14854 100.0 % (13 / 13) 100.0 % (3 / 3)
pgtls_close CBC 27532 81.2 % (13 / 16) 75.0 % (6 / 8)

Generated by: LCOV version 2.4-beta