LCOV - differential code coverage report
Current view: top level - src/backend/libpq - hba.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 7a15cff1f11193467898da1c1fabf06fd2caee04 vs 84a3778c79c2d28b4dc281d03ef2ab019b16483b Lines: 60.1 % 1079 649 1 429 20 629 1 15
Current Date: 2025-12-15 18:36:29 -0500 Functions: 82.4 % 34 28 1 5 8 20 1 2
Baseline: lcov-20251216-010103-baseline Branches: 46.1 % 1074 495 1 578 7 488
Baseline Date: 2025-12-15 13:30:48 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 5 5 5
(7,30] days: 100.0 % 1 1 1
(30,360] days: 86.0 % 43 37 1 5 14 23
(360..) days: 58.8 % 1030 606 424 606
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:
(7,30] days: 75.0 % 4 3 1 3
(30,360] days: 51.8 % 56 29 27 4 25
(360..) days: 45.7 % 1014 463 551 463

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_line GNC 5705 49.2 % (146 / 297) 40.3 % (121 / 300)
parse_hba_auth_opt CBC 312 32.0 % (66 / 206) 21.1 % (63 / 298)
tokenize_auth_file GNC 1989 86.0 % (80 / 93) 69.6 % (39 / 56)
check_hba GNC 12470 75.0 % (36 / 48) 73.9 % (34 / 46)
check_same_host_or_net UBC 0 0.0 % (0 / 9) 0.0 % (0 / 4)
check_network_callback UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
hostname_match UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
load_ident CBC 980 76.7 % (23 / 30) 72.2 % (13 / 18)
ipv6eq UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
load_hba CBC 981 84.8 % (28 / 33) 70.8 % (17 / 24)
check_ident_usermap GNC 63 92.2 % (47 / 51) 79.4 % (27 / 34)
open_auth_file CBC 1992 77.8 % (14 / 18) 57.1 % (8 / 14)
regcomp_auth_token GNC 11634 75.0 % (12 / 16) 50.0 % (4 / 8)
tokenize_expand_file CBC 2 82.6 % (19 / 23) 77.3 % (17 / 22)
check_db CBC 13418 87.0 % (20 / 23) 75.0 % (33 / 44)
tokenize_include_file CBC 21 80.0 % (12 / 15) 60.0 % (6 / 10)
check_role CBC 12880 88.2 % (15 / 17) 84.6 % (22 / 26)
check_usermap CBC 125 88.2 % (15 / 17) 80.0 % (24 / 30)
ipv4eq UBC 0 0.0 % (0 / 2)
is_member CBC 14 71.4 % (5 / 7) 50.0 % (2 / 4)
parse_ident_line GNC 107 93.1 % (27 / 29) 30.8 % (8 / 26)
check_ip CBC 700 80.0 % (4 / 5) 50.0 % (2 / 4)
free_auth_token CBC 36 75.0 % (3 / 4) 50.0 % (1 / 2)
copy_auth_token CBC 11634 100.0 % (3 / 3)
free_auth_file CBC 1989 100.0 % (6 / 6) 100.0 % (2 / 2)
hba_authname CBC 599 100.0 % (2 / 2)
make_auth_token CBC 38982 100.0 % (8 / 8)
next_field_expand CBC 196603 100.0 % (13 / 13) 91.7 % (11 / 12)
next_token CBC 196611 100.0 % (29 / 29) 94.7 % (36 / 38)
pg_isblank GNC 787247 100.0 % (2 / 2) 75.0 % (3 / 4)
regexec_auth_token CBC 58 100.0 % (7 / 7) 50.0 % (2 / 4)
tokenize_error_callback CBC 4 100.0 % (4 / 4)

Generated by: LCOV version 2.4-beta