LCOV - differential code coverage report
Current view: top level - src/backend/libpq - hba.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DCB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 60.1 % 1079 649 430 12 637 7
Current Date: 2025-09-06 07:49:51 +0900 Functions: 82.4 % 34 28 6 1 27
Baseline: lcov-20250907-010129-baseline Branches: 46.2 % 1076 497 579 2 4 491
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 87.8 % 41 36 5 12 24
(360..) days: 59.1 % 1038 613 425 613
Function coverage date bins:
(360..) days: 82.4 % 34 28 6 1 27
Branch coverage date bins:
(30,360] days: 51.8 % 56 29 27 4 25
(360..) days: 45.9 % 1020 468 552 2 466

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 12930 87.0 % (20 / 23) 75.0 % (33 / 44)
check_hba CBC 11978 75.0 % (36 / 48) 73.9 % (34 / 46)
check_hostname UBC 0 0.0 % (0 / 38) 0.0 % (0 / 32)
check_ident_usermap GNC 62 92.2 % (47 / 51) 79.4 % (27 / 34)
check_ip CBC 694 80.0 % (4 / 5) 50.0 % (2 / 4)
check_network_callback UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
check_role CBC 12386 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 124 88.2 % (15 / 17) 80.0 % (24 / 30)
copy_auth_token CBC 11118 100.0 % (3 / 3)
free_auth_file CBC 1909 100.0 % (6 / 6) 100.0 % (2 / 2)
free_auth_token CBC 36 75.0 % (3 / 4) 50.0 % (1 / 2)
hba_authname CBC 597 100.0 % (2 / 2)
hba_getauthmethod CBC 11978 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 941 84.8 % (28 / 33) 70.8 % (17 / 24)
load_ident CBC 940 76.7 % (23 / 30) 72.2 % (13 / 18)
make_auth_token CBC 37242 100.0 % (8 / 8)
next_field_expand CBC 188484 100.0 % (13 / 13) 91.7 % (11 / 12)
next_token CBC 188492 100.0 % (29 / 29) 94.7 % (36 / 38)
open_auth_file CBC 1912 77.8 % (14 / 18) 57.1 % (8 / 14)
parse_hba_auth_opt CBC 286 32.0 % (66 / 206) 21.1 % (63 / 298)
parse_hba_line CBC 5456 49.2 % (146 / 297) 40.3 % (121 / 300)
parse_ident_line CBC 98 93.1 % (27 / 29) 30.8 % (8 / 26)
pg_isblank CBC 753302 100.0 % (2 / 2) 83.3 % (5 / 6)
regcomp_auth_token CBC 11118 75.0 % (12 / 16) 50.0 % (4 / 8)
regexec_auth_token CBC 57 100.0 % (7 / 7) 50.0 % (2 / 4)
tokenize_auth_file CBC 1909 86.0 % (80 / 93) 69.6 % (39 / 56)
tokenize_error_callback CBC 4 100.0 % (4 / 4)
tokenize_expand_file CBC 2 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.4-beta