LCOV - differential code coverage report
Current view: top level - src/backend/libpq - hba.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 60.1 % 1079 649 1 429 20 629 1 15
Current Date: 2026-03-14 14:10:32 -0400 Functions: 82.4 % 34 28 1 5 8 20 1 2
Baseline: lcov-20260315-024220-baseline Branches: 45.9 % 1074 493 1 2 578 7 486 1 5
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: 95.2 % 21 20 1 20
(360..) days: 59.5 % 1058 629 429 629
Function coverage date bins:
(30,360] days: 66.7 % 3 2 1 2
(360..) days: 83.9 % 31 26 5 6 20
Branch coverage date bins:
(30,360] days: 87.5 % 8 7 1 7
(360..) days: 45.6 % 1066 486 2 578 486

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_network_callback UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
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)
ipv4eq UBC 0 0.0 % (0 / 2)
ipv6eq UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
tokenize_expand_file CBC 1 82.6 % (19 / 23) 77.3 % (17 / 22)
tokenize_error_callback CBC 4 100.0 % (4 / 4)
is_member CBC 13 71.4 % (5 / 7) 50.0 % (2 / 4)
tokenize_include_file CBC 14 80.0 % (12 / 15) 50.0 % (5 / 10)
free_auth_token CBC 36 75.0 % (3 / 4) 50.0 % (1 / 2)
regexec_auth_token CBC 57 100.0 % (7 / 7) 50.0 % (2 / 4)
check_ident_usermap GNC 62 92.2 % (47 / 51) 79.4 % (27 / 34)
parse_ident_line GNC 107 93.1 % (27 / 29) 30.8 % (8 / 26)
check_usermap CBC 126 88.2 % (15 / 17) 80.0 % (24 / 30)
parse_hba_auth_opt CBC 315 32.0 % (66 / 206) 21.1 % (63 / 298)
hba_authname CBC 611 100.0 % (2 / 2)
check_ip CBC 702 80.0 % (4 / 5) 50.0 % (2 / 4)
load_ident CBC 1080 76.7 % (23 / 30) 72.2 % (13 / 18)
load_hba CBC 1081 84.8 % (28 / 33) 70.8 % (17 / 24)
free_auth_file CBC 2181 100.0 % (6 / 6) 100.0 % (2 / 2)
tokenize_auth_file GNC 2181 86.0 % (80 / 93) 69.6 % (39 / 56)
open_auth_file CBC 2183 77.8 % (14 / 18) 50.0 % (7 / 14)
parse_hba_line GNC 6290 49.2 % (146 / 297) 40.3 % (121 / 300)
copy_auth_token CBC 12803 100.0 % (3 / 3)
regcomp_auth_token GNC 12803 75.0 % (12 / 16) 50.0 % (4 / 8)
hba_getauthmethod GNC 13794 100.0 % (3 / 3)
check_role CBC 14205 88.2 % (15 / 17) 84.6 % (22 / 26)
check_db CBC 14785 87.0 % (20 / 23) 75.0 % (33 / 44)
make_auth_token CBC 42883 100.0 % (8 / 8)
next_field_expand CBC 217180 100.0 % (13 / 13) 91.7 % (11 / 12)
next_token CBC 217188 100.0 % (29 / 29) 94.7 % (36 / 38)
pg_isblank GNC 868767 100.0 % (2 / 2) 75.0 % (3 / 4)

Generated by: LCOV version 2.4-beta