LCOV - differential code coverage report
Current view: top level - src/bin/psql - tab-complete.in.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 27.8 % 2446 679 136 1631 1 30 648 40 14
Current Date: 2026-03-14 14:10:32 -0400 Functions: 97.4 % 39 38 1 5 33 1
Baseline: lcov-20260315-024220-baseline Branches: 27.3 % 1602 437 66 15 24 1060 12 4 16 405
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 0.0 % 20 0 20
(7,30] days: 6.9 % 29 2 27 2
(30,360] days: 21.3 % 141 30 89 22 28 2
(360..) days: 28.7 % 2256 647 1609 1 646
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 97.3 % 37 36 1 3 33
Branch coverage date bins:
(1,7] days: 0.0 % 8 0 8
(7,30] days: 0.0 % 4 0 4
(30,360] days: 24.3 % 74 18 54 2 16 2
(360..) days: 27.6 % 1516 419 15 24 1058 12 4 403

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

Generated by: LCOV version 2.4-beta