LCOV - differential code coverage report
Current view: top level - src/bin/psql - tab-complete.in.c (source / functions) Coverage Total Hit UNC UIC UBC GBC GIC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 27.7 % 2528 699 213 1616 2 50 647 54 15
Current Date: 2026-05-29 21:51:00 -0400 Functions: 97.4 % 39 38 1 6 32 2
Baseline: lcov-20260530-034037-baseline Branches: 27.0 % 1657 447 84 760 366 1 28 16 402 705 18
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 0.0 % 3 0 3
(7,30] days: 94.7 % 19 18 1 18
(30,360] days: 13.2 % 258 34 209 15 32 2
(360..) days: 28.8 % 2248 647 1601 2 645
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 97.2 % 36 35 1 3 32
Branch coverage date bins:
(1,7] days: 0.0 % 4 0 4
(7,30] days: 0.0 % 2 0 2
(30,360] days: 18.4 % 98 18 78 2 16 2
(360..) days: 27.6 % 1553 429 760 364 1 28 400

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 6503 100.0 % (8 / 8) 100.0 % (6 / 6)
HeadMatchesImpl CBC 10 100.0 % (9 / 9) 83.3 % (5 / 6)
MatchesArray CBC 33759 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 GNC 16 80.0 % (4 / 5) 50.0 % (1 / 2)
_complete_from_query CBC 286 94.6 % (140 / 148) 77.9 % (95 / 122)
alter_command_generator UBC 0 0.0 % (0 / 2)
append_variable_names GNC 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 GNC 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 186 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 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)
create_command_generator CBC 2 100.0 % (2 / 2)
dequote_file_name CBC 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 CBC 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 CBC 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 10399 100.0 % (27 / 27) 96.7 % (29 / 30)

Generated by: LCOV version 2.5.0-beta