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 17:13:01 Functions: 92.4 % 79 73 6 59 14 6 72 1
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 (120,180] days: 85.3 % 75 64 11 64 1
View type: Flat (180,240] days: 55.9 % 68 38 30 1 37 1
Legend: Lines: hit not hit (240..) days: 66.9 % 1080 723 63 256 38 80 460 7 176 243 441
Function coverage date bins:
(120,180] days: 87.5 % 8 7 7 1
(180,240] days: 100.0 % 6 6 6
(240..) days: 43.8 % 137 60 6 59 1 5 66

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

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