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: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 27.5 % 2523 694 4 6 1819 1 17 676 4 17
Current Date: 2026-08-27 14:31:44 +0300 Functions: 94.9 % 39 37 1 1 6 31
Baseline: lcov-20260827-baseline Branches: 26.9 % 1655 445 3 1207 1 2 442
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 0.0 % 1 0 1
(1,7] days: 100.0 % 1 1 1
(7,30] days: 0.0 % 2 0 2
(30,360] days: 26.2 % 260 68 4 188 17 51
(360..) days: 27.7 % 2259 625 6 1628 1 624
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 94.4 % 36 34 1 1 6 28
Branch coverage date bins:
(30,360] days: 21.4 % 84 18 66 2 16
(360..) days: 27.2 % 1571 427 3 1141 1 426

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 6507 100.0 % (8 / 8) 100.0 % (6 / 6)
HeadMatchesImpl CBC 10 100.0 % (9 / 9) 83.3 % (5 / 6)
MatchesArray CBC 33664 81.0 % (17 / 21) 83.3 % (15 / 18)
MatchesImpl CBC 14 88.9 % (8 / 9) 66.7 % (4 / 6)
TailMatchesArray CBC 9428 100.0 % (8 / 8) 100.0 % (6 / 6)
TailMatchesImpl CBC 36 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 286 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 48 100.0 % (21 / 21) 95.0 % (19 / 20)
complete_from_query CBC 188 100.0 % (2 / 2)
complete_from_schema_query CBC 90 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 75 100.0 % (5 / 5)
exec_query CBC 48 62.5 % (5 / 8) 50.0 % (4 / 8)
get_guctype CBC 2 100.0 % (12 / 12) 50.0 % (2 / 4)
get_previous_words GNC 77 96.0 % (48 / 50) 82.4 % (28 / 34)
identifier_needs_quotes CBC 53 66.7 % (6 / 9) 33.3 % (4 / 12)
initialize_readline CBC 3 100.0 % (14 / 14) 100.0 % (2 / 2)
make_like_pattern GNC 46 81.2 % (13 / 16) 60.0 % (6 / 10)
match_previous_words CBC 68 100.0 % (1 / 1)
parse_identifier CBC 59 80.0 % (32 / 40) 63.3 % (19 / 30)
pg_strdup_keyword_case CBC 48 100.0 % (12 / 12) 81.2 % (13 / 16)
psql_completion GNC 77 91.1 % (72 / 79) 80.9 % (38 / 47)
quote_file_name CBC 5 100.0 % (18 / 18) 68.2 % (15 / 22)
requote_identifier CBC 33 79.1 % (34 / 43) 72.5 % (29 / 40)
set_completion_reference CBC 21 100.0 % (3 / 3)
set_completion_reference_verbatim CBC 2 100.0 % (4 / 4)
word_matches CBC 10409 100.0 % (27 / 27) 96.7 % (29 / 30)

Generated by: LCOV version 2.0-1