LCOV - code coverage report
Current view: top level - src/bin/psql - common.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 76.0 % 1049 797
Test Date: 2026-11-25 11:16:04 Functions: 92.9 % 42 39
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 65.0 % 804 523

Function Name Sort by function name Hit count Sort by function hit count
ClearOrSaveAllResults 0
pipelineReset 0
session_username 0
psql_cancel_callback 1
PrintTiming 2
SetShellResultVariables 4
recognized_connection_string 27
uri_prefix_length 27
ExecQueryTuples 29
command_no_begin 56
DescribeQuery 57
is_superuser 70
skip_white_space 72
PSQLexecWatch 99
expand_tilde 107
discardAbortedPipelineResults 108
StoreQueryTuple 608
HandleCopyResult 1183
psql_get_variable 2981
psql_setup_cancel_handler 11426
setQFout 11434
openQueryOutputFile 11454
get_conninfo_value 11666
PSQLexec 30759
addQueryComment 31595
PrintQueryTuples 97679
SetupGOutput 98458
NoticeProcessor 186411
PrintQueryStatus 230506
PrintQueryResult 231148
SetResultVariables 261707
CloseGOutput 261729
PrintNotifications 262682
SendQuery 262696
SetPipelineVariables 262722
ExecQueryAndProcessResults 262738
clean_extended_state 263494
ClearOrSaveResult 263568
CheckConnection 292922
ConnectionUp 293102
AcceptResult 294098
standard_strings 546390

Generated by: LCOV version 2.0-1