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

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 17
uri_prefix_length 17
ExecQueryTuples 29
command_no_begin 56
DescribeQuery 57
is_superuser 70
skip_white_space 72
expand_tilde 107
discardAbortedPipelineResults 108
PSQLexecWatch 125
StoreQueryTuple 597
HandleCopyResult 1144
psql_get_variable 2939
psql_setup_cancel_handler 11166
setQFout 11174
openQueryOutputFile 11194
get_conninfo_value 11388
PSQLexec 30755
addQueryComment 31591
PrintQueryTuples 96407
SetupGOutput 97175
NoticeProcessor 184149
PrintQueryStatus 223651
PrintQueryResult 224293
SetResultVariables 253992
CloseGOutput 254040
PrintNotifications 254967
SendQuery 254981
SetPipelineVariables 255033
ExecQueryAndProcessResults 255049
clean_extended_state 255763
ClearOrSaveResult 255874
CheckConnection 284408
ConnectionUp 284588
AcceptResult 286400
standard_strings 527550

Generated by: LCOV version 2.0-1