LCOV - code coverage report
Current view: top level - src/bin/psql - command.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 66.0 % 2603 1718
Test Date: 2026-07-23 09:15:52 Functions: 91.7 % 109 100
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 53.8 % 1863 1003

Function Name Sort by function name Hit count Sort by function hit count
HandleSlashCmds 32388
SyncVariables 10699
UnsyncVariables 0
_align2string 5
_unicode_linestyle2string 12
connection_warnings 221
copy_previous_query 2296
count_lines_in_buf 162
discard_query_text 165
do_connect 218
do_edit 0
do_pset 1405
do_shell 0
do_watch 7
echo_hidden_command 324
editFile 0
exec_command 32387
exec_command_C 4
exec_command_T 4
exec_command_a 52
exec_command_bind 532
exec_command_bind_named 116
exec_command_cd 4
exec_command_close_prepared 33
exec_command_connect 222
exec_command_conninfo 4
exec_command_copy 99
exec_command_copyright 5
exec_command_crosstabview 100
exec_command_d 4769
exec_command_dfo 249
exec_command_echo 20585
exec_command_edit 4
exec_command_ef_ev 8
exec_command_elif 32
exec_command_else 88
exec_command_encoding 12
exec_command_endif 141
exec_command_endpipeline 225
exec_command_errverbose 8
exec_command_f 4
exec_command_flush 16
exec_command_flushrequest 40
exec_command_g 302
exec_command_gdesc 57
exec_command_getenv 227
exec_command_getresults 128
exec_command_gexec 37
exec_command_gset 599
exec_command_help 6
exec_command_html 4
exec_command_if 152
exec_command_include 8
exec_command_list 4
exec_command_lo 41
exec_command_out 28
exec_command_parse 75
exec_command_password 5
exec_command_print 28
exec_command_prompt 4
exec_command_pset 1246
exec_command_quit 280
exec_command_reset 56
exec_command_restrict 37
exec_command_s 4
exec_command_sendpipeline 481
exec_command_set 718
exec_command_setenv 12
exec_command_sf_sv 170
exec_command_shell_escape 4
exec_command_slash_command_help 4
exec_command_startpipeline 225
exec_command_syncpipeline 99
exec_command_t 52
exec_command_timing 6
exec_command_unrestrict 36
exec_command_unset 34
exec_command_watch 22
exec_command_write 8
exec_command_x 49
exec_command_z 20
gather_boolean_expression 176
get_create_object_cmd 162
ignore_boolean_expression 12
ignore_slash_filepipe 12
ignore_slash_options 260
ignore_slash_whole_line 28
is_branching_command 0
is_true_boolean_expression 164
lookup_object_oid 162
minimal_error_message 0
param_is_newly_set 24
printGSSInfo 3
printPsetInfo 3
printSSLInfo 3
print_with_linenumbers 28
process_command_g_options 16
process_file 10204
prompt_for_password 0
pset_bool_string 24
pset_quoted_string 24
pset_value_string 96
read_connect_arg 883
restorePsetInfo 94
savePsetInfo 94
save_query_text_state 196
set_unicode_line_style 0
strip_lineno_from_objdesc 0
wait_until_connected 218

Generated by: LCOV version 2.0-1