LCOV - differential code coverage report
Current view: top level - src/backend/libpq - hba.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC ECB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 65.0 % 1001 651 1 1 348 4 35 612 1 78 30
Current Date: 2026-05-05 10:23:31 +0900 Functions: 82.4 % 34 28 1 5 9 19 1 2
Baseline: lcov-20260505-025707-baseline Branches: 51.2 % 968 496 13 459 2 21 473 118 20
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 8 8 2 6
(30,360] days: 95.2 % 21 20 1 20
(360..) days: 64.1 % 972 623 1 348 2 9 612 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:
(7,30] days: 60.0 % 10 6 3 1 1 5
(30,360] days: 87.5 % 8 7 1 7
(360..) days: 50.8 % 950 483 9 458 1 9 473

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 15763 87.0 % (20 / 23) 75.0 % (33 / 44)
check_hostname UNC 0 0.0 % (0 / 38) 0.0 % (0 / 32)
check_ident_usermap GNC 63 90.0 % (45 / 50) 79.4 % (27 / 34)
check_ip CBC 788 80.0 % (4 / 5) 50.0 % (2 / 4)
check_network_callback UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
check_role CBC 15123 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 132 88.2 % (15 / 17) 80.0 % (24 / 30)
copy_auth_token CBC 14064 100.0 % (3 / 3)
free_auth_file CBC 2386 100.0 % (6 / 6) 100.0 % (2 / 2)
free_auth_token CBC 36 75.0 % (3 / 4) 50.0 % (1 / 2)
hba_authname CBC 659 100.0 % (2 / 2)
hba_getauthmethod GNC 14690 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 14 71.4 % (5 / 7) 50.0 % (2 / 4)
load_hba CBC 1167 84.8 % (28 / 33) 70.8 % (17 / 24)
load_ident CBC 1164 76.7 % (23 / 30) 72.2 % (13 / 18)
make_auth_token CBC 47424 100.0 % (8 / 8)
next_field_expand CBC 231705 100.0 % (13 / 13) 91.7 % (11 / 12)
next_token CBC 231720 100.0 % (29 / 29) 94.7 % (36 / 38)
open_auth_file CBC 2390 77.8 % (14 / 18) 57.1 % (8 / 14)
parse_hba_auth_opt GNC 534 42.4 % (70 / 165) 27.8 % (65 / 234)
parse_hba_line GNC 6855 55.9 % (146 / 261) 46.5 % (120 / 258)
parse_ident_line GNC 172 93.1 % (27 / 29) 30.8 % (8 / 26)
pg_isblank GNC 945269 100.0 % (2 / 2) 75.0 % (3 / 4)
regcomp_auth_token GNC 14064 75.0 % (12 / 16) 50.0 % (4 / 8)
regexec_auth_token CBC 58 100.0 % (7 / 7) 50.0 % (2 / 4)
tokenize_auth_file GNC 2386 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.5.0-beta