LCOV - differential code coverage report
Current view: top level - src/bin/psql - tab-complete.in.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DUB DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 27.4 % 2462 675 4 6 1777 1 20 654 4 19
Current Date: 2026-10-12 11:56:10 +0200 Functions: 94.9 % 39 37 1 1 7 30
Baseline: lcov-20261012-baseline Branches: 27.0 % 1619 437 2 3 1177 1 4 432
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 3 3 3
(7,30] days: 0.0 % 2 0 2
(30,360] days: 24.2 % 190 46 4 140 17 29
(360..) days: 27.6 % 2267 626 6 1635 1 625
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 94.4 % 36 34 1 1 7 27
Branch coverage date bins:
(1,7] days: 50.0 % 4 2 2 2
(30,360] days: 24.3 % 74 18 56 2 16
(360..) days: 27.1 % 1541 417 3 1121 1 416

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
HeadMatchesArray CBC 4957 100.0 % (8 / 8) 100.0 % (6 / 6)
HeadMatchesImpl CBC 10 100.0 % (9 / 9) 83.3 % (5 / 6)
MatchesArray CBC 27581 81.0 % (17 / 21) 83.3 % (15 / 18)
MatchesImpl CBC 14 88.9 % (8 / 9) 66.7 % (4 / 6)
TailMatchesArray CBC 7393 100.0 % (8 / 8) 100.0 % (6 / 6)
TailMatchesImpl CBC 38 100.0 % (9 / 9) 83.3 % (5 / 6)
_complete_from_files CBC 16 80.0 % (4 / 5) 50.0 % (1 / 2)
_complete_from_query GNC 282 94.6 % (140 / 148) 77.9 % (95 / 122)
alter_command_generator UBC 0 0.0 % (0 / 2)
append_variable_names CBC 124 66.7 % (4 / 6) 50.0 % (1 / 2)
complete_from_const CBC 4 85.7 % (6 / 7) 66.7 % (4 / 6)
complete_from_files CBC 16 87.5 % (14 / 16) 83.3 % (10 / 12)
complete_from_list CBC 32 100.0 % (21 / 21) 95.0 % (19 / 20)
complete_from_query CBC 188 100.0 % (2 / 2)
complete_from_schema_query CBC 86 100.0 % (2 / 2)
complete_from_variables GNC 3 100.0 % (14 / 14) 100.0 % (8 / 8)
complete_from_versioned_query LBC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
complete_from_versioned_schema_query CBC 8 71.4 % (5 / 7) 50.0 % (2 / 4)
create_command_generator CBC 2 100.0 % (2 / 2)
create_or_drop_command_generator CBC 4 100.0 % (9 / 9) 87.5 % (7 / 8)
dequote_file_name GNC 12 83.3 % (10 / 12) 50.0 % (3 / 6)
drop_command_generator CBC 2 100.0 % (2 / 2)
ends_with CBC 3 100.0 % (3 / 3) 50.0 % (2 / 4)
escape_string CBC 71 100.0 % (5 / 5)
exec_query CBC 46 62.5 % (5 / 8) 50.0 % (4 / 8)
get_guctype CBC 2 100.0 % (12 / 12) 50.0 % (2 / 4)
get_previous_words GNC 67 96.0 % (48 / 50) 82.4 % (28 / 34)
identifier_needs_quotes CBC 49 66.7 % (6 / 9) 33.3 % (4 / 12)
initialize_readline GNC 3 100.0 % (14 / 14) 100.0 % (2 / 2)
make_like_pattern GNC 44 81.2 % (13 / 16) 60.0 % (6 / 10)
match_previous_words CBC 58 100.0 % (1 / 1)
parse_identifier CBC 55 80.0 % (32 / 40) 63.3 % (19 / 30)
pg_strdup_keyword_case CBC 40 100.0 % (12 / 12) 81.2 % (13 / 16)
psql_completion GNC 67 91.1 % (72 / 79) 80.9 % (38 / 47)
quote_file_name CBC 5 100.0 % (18 / 18) 68.2 % (15 / 22)
requote_identifier CBC 31 79.1 % (34 / 43) 72.5 % (29 / 40)
set_completion_reference CBC 19 100.0 % (3 / 3)
set_completion_reference_verbatim CBC 2 100.0 % (4 / 4)
word_matches CBC 8006 100.0 % (27 / 27) 96.7 % (29 / 30)

Generated by: LCOV version 2.0-1