LCOV - differential code coverage report
Current view: top level - src/backend/libpq - hba.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 60.6 % 1001 607 394 2 605 2
Current Date: 2026-08-27 14:31:44 +0300 Functions: 82.4 % 34 28 6 2 26
Baseline: lcov-20260827-baseline Branches: 45.5 % 968 440 528 440
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: 100.0 % 2 2 2
(30,360] days: 47.1 % 17 8 9 8
(360..) days: 60.8 % 982 597 385 597
Function coverage date bins:
(30,360] days: 66.7 % 3 2 1 2
(360..) days: 83.9 % 31 26 5 2 24
Branch coverage date bins:
(30,360] days: 21.4 % 14 3 11 3
(360..) days: 45.8 % 954 437 517 437

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
check_db CBC 15760 87.0 % (20 / 23) 75.0 % (33 / 44)
check_hba CBC 14972 64.6 % (31 / 48) 52.2 % (24 / 46)
check_hostname UBC 0 0.0 % (0 / 38) 0.0 % (0 / 32)
check_ident_usermap CBC 24 88.0 % (44 / 50) 76.5 % (26 / 34)
check_ip CBC 375 80.0 % (4 / 5) 50.0 % (2 / 4)
check_network_callback UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
check_role CBC 15063 88.2 % (15 / 17) 84.6 % (22 / 26)
check_same_host_or_net UBC 0 0.0 % (0 / 9) 0.0 % (0 / 4)
check_usermap CBC 59 88.2 % (15 / 17) 76.7 % (23 / 30)
copy_auth_token CBC 14198 100.0 % (3 / 3)
free_auth_file CBC 2382 100.0 % (6 / 6) 100.0 % (2 / 2)
free_auth_token CBC 2 75.0 % (3 / 4) 50.0 % (1 / 2)
hba_authname CBC 384 100.0 % (2 / 2)
hba_getauthmethod CBC 14972 100.0 % (3 / 3)
hostname_match UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
ipv4eq UBC 0 0.0 % (0 / 2)
ipv6eq UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
is_member CBC 13 71.4 % (5 / 7) 50.0 % (2 / 4)
load_hba CBC 1163 72.7 % (24 / 33) 58.3 % (14 / 24)
load_ident CBC 1163 76.7 % (23 / 30) 72.2 % (13 / 18)
make_auth_token CBC 47765 100.0 % (8 / 8)
next_field_expand CBC 236243 100.0 % (13 / 13) 91.7 % (11 / 12)
next_token CBC 236258 100.0 % (29 / 29) 94.7 % (36 / 38)
open_auth_file CBC 2386 77.8 % (14 / 18) 57.1 % (8 / 14)
parse_hba_auth_opt CBC 425 29.7 % (49 / 165) 18.8 % (44 / 234)
parse_hba_line CBC 6933 51.0 % (133 / 261) 38.8 % (100 / 258)
parse_ident_line CBC 161 93.1 % (27 / 29) 30.8 % (8 / 26)
pg_isblank CBC 957794 100.0 % (2 / 2) 75.0 % (3 / 4)
regcomp_auth_token GNC 14198 75.0 % (12 / 16) 50.0 % (4 / 8)
regexec_auth_token GNC 23 100.0 % (7 / 7) 50.0 % (2 / 4)
tokenize_auth_file CBC 2382 86.0 % (80 / 93) 69.6 % (39 / 56)
tokenize_error_callback CBC 4 100.0 % (4 / 4)
tokenize_expand_file CBC 3 82.6 % (19 / 23) 77.3 % (17 / 22)
tokenize_include_file CBC 21 80.0 % (12 / 15) 60.0 % (6 / 10)

Generated by: LCOV version 2.0-1