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 CBC DUB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 28.2 % 2351 662 29 1660 662 8
Current Date: 2025-09-06 07:49:51 +0900 Functions: 97.4 % 38 37 1 37
Baseline: lcov-20250907-010129-baseline Branches: 27.8 % 1513 420 18 14 3 1058 12 2 406
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 0.0 % 1 0 1
(30,360] days: 38.7 % 261 101 28 132 101
(360..) days: 26.9 % 2089 561 1528 561
Function coverage date bins:
(30,360] days: 100.0 % 6 6 6
(360..) days: 96.9 % 32 31 1 31
Branch coverage date bins:
(30,360] days: 8.8 % 825 73 18 14 3 717 12 2 59
(360..) days: 50.4 % 688 347 341 347

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 4709 100.0 % (8 / 8) 100.0 % (6 / 6)
HeadMatchesImpl CBC 3 100.0 % (9 / 9) 83.3 % (5 / 6)
MatchesArray CBC 26181 81.0 % (17 / 21) 83.3 % (15 / 18)
MatchesImpl CBC 14 88.9 % (8 / 9) 66.7 % (4 / 6)
TailMatchesArray CBC 7415 100.0 % (8 / 8) 100.0 % (6 / 6)
TailMatchesImpl CBC 32 100.0 % (9 / 9) 83.3 % (5 / 6)
_complete_from_query CBC 282 94.6 % (140 / 148) 77.9 % (95 / 122)
alter_command_generator UBC 0 0.0 % (0 / 2)
append_variable_names CBC 124 57.1 % (4 / 7) 50.0 % (1 / 2)
complete_from_const CBC 4 85.7 % (6 / 7) 66.7 % (4 / 6)
complete_from_files CBC 16 80.0 % (4 / 5) 50.0 % (1 / 2)
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 CBC 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)
create_or_drop_command_generator CBC 4 100.0 % (9 / 9) 87.5 % (7 / 8)
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 2 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 CBC 67 96.0 % (48 / 50) 82.4 % (28 / 34)
identifier_needs_quotes CBC 49 66.7 % (6 / 9) 33.3 % (4 / 12)
initialize_readline CBC 2 100.0 % (14 / 14) 100.0 % (2 / 2)
make_like_pattern CBC 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 CBC 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 7776 96.3 % (26 / 27) 93.3 % (28 / 30)

Generated by: LCOV version 2.4-beta