LCOV - differential code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 67.5 % 1223 825 41 63 256 38 81 460 108 176 267 544 12 42
Current Date: 2023-04-08 15:15:32 Functions: 92.4 % 79 73 6 59 14 6 72 1
Baseline: 15
Baseline Date: 2023-04-08 15:09:40
Legend: Lines: hit not hit

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
errbacktrace EUB 0
errhint_plural UIC 0 0.0 % (0 / 9)
process_log_prefix_padding UIC 0 0.0 % (0 / 15)
set_backtrace EUB 0
write_stderr EUB 0
write_syslog UIC 0 0.0 % (0 / 43)
ThrowErrorData GIC 3 70.3 % (26 / 37)
errdetail_plural GIC 18 100.0 % (9 / 9)
errdetail_log_plural GIC 19 100.0 % (9 / 9)
GetErrorContextStack GNC 24 100.0 % (11 / 11)
ThrowErrorData ECB 3
GetErrorContextStack GIC 24
format_elog_string ECB 25
pre_format_elog_string GIC 25 100.0 % (4 / 4)
ReThrowError ECB 32
get_formatted_start_time GIC 40 100.0 % (7 / 7)
errcode_for_socket_access GIC 42 100.0 % (11 / 11)
write_pipe_chunks ECB 60
errcode_for_file_access GIC 65 48.3 % (14 / 29)
FreeErrorData GIC 69 100.0 % (4 / 4)
getinternalerrposition GNC 113 100.0 % (4 / 4)
getinternalerrposition GIC 113
errhidecontext ECB 785
internalerrquery GNC 248 100.0 % (9 / 9)
internalerrquery GIC 248
errhint ECB 2230
internalerrposition ECB 257
errmsg_plural ECB 359
errdetail_log ECB 559
errhidecontext GIC 785 100.0 % (5 / 5)
errdetail_internal GIC 1411 100.0 % (9 / 9)
assign_backtrace_functions ECB 1857
assign_syslog_facility GNC 1857 42.9 % (3 / 7)
assign_syslog_ident GNC 1857 75.0 % (6 / 8)
check_backtrace_functions ECB 1857
assign_log_destination GNC 1858 100.0 % (3 / 3)
check_log_destination ECB 1858
errhint GIC 2230 100.0 % (9 / 9)
geterrcode GIC 2282 100.0 % (4 / 4)
errsave_finish ECB 2857
CopyErrorData GIC 3123 93.8 % (30 / 32)
errposition GIC 4660 100.0 % (5 / 5)
err_generic_string ECB 5048
set_errdata_field ECB 5048
geterrposition GIC 7653 100.0 % (4 / 4)
reset_formatted_start_time ECB 10432
errdetail ECB 11147
errsave_start ECB 11440
DebugFileOpen GIC 13367 25.0 % (3 / 12)
errmsg_internal GIC 15314 100.0 % (10 / 10)
errstart_cold ECB 17840
errcontext_msg ECB 19815
set_errcontext_domain ECB 19815
FlushErrorState ECB 20871
get_backend_type_for_log GIC 21367 100.0 % (7 / 7)
errcode ECB 22682
send_message_to_frontend GNC 28251 87.5 % (63 / 72)
send_message_to_frontend GIC 28251
unpack_sql_state ECB 42102
unpack_sql_state GIC 42102 100.0 % (6 / 6)
pg_re_throw ECB 44776
errhidestmt ECB 147977
FreeErrorDataContents GNC 178822 96.2 % (25 / 26)
errmsg GIC 184338 100.0 % (10 / 10)
write_console ECB 187451
send_message_to_server_log ECB 187471
check_log_of_query ECB 187511
EmitErrorReport GIC 196571 92.9 % (13 / 14)
matches_backtrace_functions GNC 199659 30.0 % (3 / 10)
set_stack_entry_domain GNC 200014 100.0 % (4 / 4)
set_stack_entry_location GNC 200014 91.7 % (11 / 12)
get_error_stack_entry ECB 200070
error_severity GIC 215762 80.0 % (24 / 30)
err_sendstring ECB 221817
append_with_tabs GIC 225763 100.0 % (6 / 6)
log_line_prefix ECB 230454
log_status_format ECB 230454
get_formatted_log_time ECB 230494
err_gettext GNC 264171 100.0 % (4 / 4)
err_gettext GIC 264171
in_error_recursion_trouble ECB 704543
in_error_recursion_trouble GIC 704543 100.0 % (2 / 2)
message_level_is_interesting ECB 1090165
trace_recovery ECB 2335181
errstart ECB 99404666
should_output_to_client ECB 100492384
should_output_to_server GIC 100494831 100.0 % (2 / 2)
is_log_level_output GIC 100682342 75.0 % (9 / 12)

Generated by: LCOV version v1.16-55-g56c0a2a