LCOV - differential code coverage report
Current view: top level - src/backend/libpq - hba.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC ECB DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 60.6 % 1001 607 10 384 26 581 1 81 27
Current Date: 2026-06-29 16:15:13 +0200 Functions: 82.4 % 34 28 1 5 9 19 1 2
Baseline: lcov-20260630-baseline Branches: 45.2 % 968 438 22 2 506 12 426
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 69.0 % 29 20 7 2 20
(360..) days: 60.4 % 972 587 3 382 6 581 1
Function coverage date bins:
(30,360] days: 66.7 % 3 2 1 2
(360..) days: 83.9 % 31 26 5 7 19
Branch coverage date bins:
(30,360] days: 38.9 % 18 7 9 2 7
(360..) days: 45.4 % 950 431 13 2 504 5 426

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
parse_hba_auth_opt GNC 425 29.7 % (49 / 165) 18.8 % (44 / 234)
parse_hba_line GNC 6677 51.0 % (133 / 261) 38.8 % (100 / 258)
check_hostname UNC 0 0.0 % (0 / 38) 0.0 % (0 / 32)
check_hba GNC 14422 64.6 % (31 / 48) 52.2 % (24 / 46)
parse_ident_line GNC 161 93.1 % (27 / 29) 30.8 % (8 / 26)
tokenize_auth_file GNC 2294 86.0 % (80 / 93) 69.6 % (39 / 56)
check_db CBC 15190 87.0 % (20 / 23) 75.0 % (33 / 44)
load_hba CBC 1124 72.7 % (24 / 33) 58.3 % (14 / 24)
check_ident_usermap GNC 25 88.0 % (44 / 50) 76.5 % (26 / 34)
check_usermap CBC 60 88.2 % (15 / 17) 76.7 % (23 / 30)
open_auth_file CBC 2297 77.8 % (14 / 18) 50.0 % (7 / 14)
load_ident CBC 1124 76.7 % (23 / 30) 72.2 % (13 / 18)
tokenize_expand_file CBC 2 82.6 % (19 / 23) 77.3 % (17 / 22)
tokenize_include_file CBC 14 80.0 % (12 / 15) 50.0 % (5 / 10)
check_network_callback UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
check_role CBC 14515 88.2 % (15 / 17) 84.6 % (22 / 26)
check_same_host_or_net UBC 0 0.0 % (0 / 9) 0.0 % (0 / 4)
hostname_match UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
ipv6eq UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
regcomp_auth_token GNC 13685 75.0 % (12 / 16) 50.0 % (4 / 8)
check_ip CBC 375 80.0 % (4 / 5) 50.0 % (2 / 4)
is_member CBC 14 71.4 % (5 / 7) 50.0 % (2 / 4)
next_token CBC 227541 100.0 % (29 / 29) 94.7 % (36 / 38)
regexec_auth_token CBC 24 100.0 % (7 / 7) 50.0 % (2 / 4)
free_auth_token CBC 2 75.0 % (3 / 4) 50.0 % (1 / 2)
next_field_expand CBC 227526 100.0 % (13 / 13) 91.7 % (11 / 12)
pg_isblank GNC 923244 100.0 % (2 / 2) 75.0 % (3 / 4)
free_auth_file CBC 2294 100.0 % (6 / 6) 100.0 % (2 / 2)
copy_auth_token CBC 13685 100.0 % (3 / 3)
hba_authname CBC 360 100.0 % (2 / 2)
hba_getauthmethod GNC 14422 100.0 % (3 / 3)
ipv4eq UBC 0 0.0 % (0 / 2)
make_auth_token CBC 46051 100.0 % (8 / 8)
tokenize_error_callback CBC 4 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1