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 15:15:00 Functions: 73 79 92.4 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
CopyErrorData 6376
DebugFileOpen 33072
EmitErrorReport 732808
FlushErrorState 47530
FreeErrorData 142
FreeErrorDataContents 691616
GetErrorContextStack 48
ReThrowError 64
ThrowErrorData 30
append_with_tabs 1006290
assign_backtrace_functions 1966
assign_log_destination 1968
assign_syslog_facility 1966
assign_syslog_ident 1966
check_backtrace_functions 1966
check_log_destination 1968
check_log_of_query 710366
err_generic_string 11902
err_gettext 1216078
err_sendstring 1562994
errbacktrace 0
errcode 52592
errcode_for_file_access 128
errcode_for_socket_access 84
errcontext_msg 40374
errdetail 44624
errdetail_internal 3018
errdetail_log 1164
errdetail_log_plural 34
errdetail_plural 54
errfinish 739116
errhidecontext 1650
errhidestmt 361234
errhint 191096
errhint_plural 0
errmsg 637290
errmsg_internal 101508
errmsg_plural 1094
error_severity 907456
errposition 10212
errsave_finish 7156
errsave_start 52200
errstart 38085750
errstart_cold 40368
format_elog_string 54
get_backend_type_for_log 47760
get_error_stack_entry 740034
get_formatted_log_time 1006514
get_formatted_start_time 80
geterrcode 4910
geterrlevel 720
geterrposition 15280
getinternalerrposition 254
in_error_recursion_trouble 3694952
internalerrposition 518
internalerrquery 500
is_log_level_output 40661588
log_line_prefix 1006434
log_status_format 1006434
matches_backtrace_functions 739116
message_level_is_interesting 1865472
pg_re_throw 104220
pre_format_elog_string 54
process_log_prefix_padding 0
reset_formatted_start_time 26418
send_message_to_frontend 197090
send_message_to_server_log 710286
set_backtrace 0
set_errcontext_domain 40374
set_errdata_field 11902
set_stack_entry_domain 739922
set_stack_entry_location 739922
should_output_to_client 39949884
should_output_to_server 39951222
unpack_sql_state 215772
write_console 710246
write_pipe_chunks 120
write_stderr 0
write_syslog 0

Generated by: LCOV version 1.14