LCOV - code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 834 1232 67.7 %
Date: 2024-11-21 12:15:04 Functions: 73 79 92.4 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
errbacktrace 0
errhint_plural 0
process_log_prefix_padding 0
set_backtrace 0
write_stderr 0
write_syslog 0
ThrowErrorData 30
errdetail_log_plural 34
GetErrorContextStack 48
errdetail_plural 54
format_elog_string 54
pre_format_elog_string 54
ReThrowError 64
errcode_for_socket_access 74
get_formatted_start_time 80
write_pipe_chunks 120
errcode_for_file_access 128
FreeErrorData 142
getinternalerrposition 254
internalerrquery 500
internalerrposition 518
geterrlevel 700
errmsg_plural 1100
errdetail_log 1164
errhidecontext 1650
assign_backtrace_functions 1966
assign_syslog_facility 1966
assign_syslog_ident 1966
check_backtrace_functions 1966
assign_log_destination 1968
check_log_destination 1968
errdetail_internal 3018
geterrcode 4912
CopyErrorData 6376
errsave_finish 7156
errposition 10214
err_generic_string 11896
set_errdata_field 11896
geterrposition 15280
reset_formatted_start_time 26398
DebugFileOpen 32966
errstart_cold 40354
errcontext_msg 40360
set_errcontext_domain 40360
FlushErrorState 47536
get_backend_type_for_log 47882
errdetail 48032
errsave_start 52196
errcode 52538
pg_re_throw 104238
errmsg_internal 108512
send_message_to_frontend 197102
errhint 199762
unpack_sql_state 215784
errhidestmt 360750
errmsg 645382
FreeErrorDataContents 706714
write_console 725346
send_message_to_server_log 725386
check_log_of_query 725466
EmitErrorReport 747910
errfinish 754218
matches_backtrace_functions 754218
set_stack_entry_domain 755024
set_stack_entry_location 755024
get_error_stack_entry 755136
error_severity 922568
append_with_tabs 1033402
log_line_prefix 1033546
log_status_format 1033546
get_formatted_log_time 1033626
err_gettext 1243208
err_sendstring 1563078
message_level_is_interesting 1935972
in_error_recursion_trouble 3742324
errstart 38144302
should_output_to_client 40078936
should_output_to_server 40080274
is_log_level_output 40805740

Generated by: LCOV version 1.14