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 GNC CBC EUB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 69.9 % 1367 956 18 1 1 391 2 101 853 1 6 8
Current Date: 2026-05-05 10:23:31 +0900 Functions: 91.7 % 84 77 2 5 11 66
Baseline: lcov-20260505-025707-baseline Branches: 51.7 % 973 503 16 1 453 2 66 435 6 4
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 80.2 % 126 101 18 7 101 1
(360..) days: 68.9 % 1241 855 1 1 384 2 853
Function coverage date bins:
(30,360] days: 60.0 % 5 3 1 1 3
(360..) days: 93.7 % 79 74 1 4 8 66
Branch coverage date bins:
(30,360] days: 80.5 % 82 66 16 66
(360..) days: 49.0 % 891 437 1 453 2 435

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
log_status_format CBC 381587 22.7 % (45 / 198) 16.9 % (25 / 148)
write_syslog UBC 0 0.0 % (0 / 43) 0.0 % (0 / 32)
send_message_to_server_log GNC 317676 68.8 % (66 / 96) 65.2 % (43 / 66)
DebugFileOpen CBC 23053 25.0 % (3 / 12) 5.6 % (1 / 18)
check_backtrace_functions GNC 1286 30.4 % (7 / 23) 12.5 % (2 / 16)
CopyErrorData GNC 3656 95.2 % (40 / 42) 70.0 % (28 / 40)
ThrowErrorData CBC 52 73.0 % (27 / 37) 57.1 % (16 / 28)
process_log_prefix_padding UBC 0 0.0 % (0 / 15) 0.0 % (0 / 10)
errfinish GNC 336366 92.7 % (38 / 41) 73.5 % (25 / 34)
matches_backtrace_functions CBC 336366 30.0 % (3 / 10) 10.0 % (1 / 10)
ReThrowError CBC 38 81.8 % (27 / 33) 69.2 % (18 / 26)
check_log_min_messages GNC 1835 90.7 % (78 / 86) 85.7 % (48 / 56)
errcode_for_file_access CBC 100 57.1 % (20 / 35) 42.9 % (6 / 14)
errdetail_log_plural CBC 47 100.0 % (9 / 9) 33.3 % (4 / 12)
errdetail_plural CBC 39 100.0 % (9 / 9) 33.3 % (4 / 12)
errhint_plural CBC 6 100.0 % (9 / 9) 33.3 % (4 / 12)
errmsg_plural CBC 727 100.0 % (10 / 10) 33.3 % (4 / 12)
format_elog_string CBC 105 100.0 % (10 / 10) 55.6 % (10 / 18)
errstart CBC 49883340 80.6 % (29 / 36) 78.1 % (25 / 32)
check_log_destination CBC 1287 63.3 % (19 / 30) 66.7 % (12 / 18)
err_generic_string CBC 9006 90.9 % (20 / 22) 50.0 % (6 / 12)
errhint CBC 3434 100.0 % (9 / 9) 40.0 % (4 / 10)
send_message_to_frontend CBC 48959 97.3 % (72 / 74) 85.0 % (34 / 40)
errdetail CBC 16721 100.0 % (9 / 9) 50.0 % (5 / 10)
errdetail_log CBC 1188 100.0 % (9 / 9) 50.0 % (5 / 10)
errhint_internal CBC 53 100.0 % (9 / 9) 37.5 % (3 / 8)
is_log_level_output GNC 51266631 83.3 % (10 / 12) 72.2 % (13 / 18)
pg_re_throw CBC 75403 25.0 % (3 / 12) 16.7 % (1 / 6)
EmitErrorReport CBC 332749 93.8 % (15 / 16) 66.7 % (8 / 12)
assign_syslog_ident CBC 1286 75.0 % (6 / 8) 33.3 % (2 / 6)
errbacktrace UBC 0 0.0 % (0 / 9) 0.0 % (0 / 4)
errcode_for_socket_access CBC 35 72.7 % (8 / 11) 33.3 % (2 / 6)
errcontext_msg CBC 29910 100.0 % (9 / 9) 66.7 % (8 / 12)
errdetail_internal CBC 2113 100.0 % (9 / 9) 50.0 % (4 / 8)
errmsg_internal CBC 51234 100.0 % (10 / 10) 50.0 % (4 / 8)
set_backtrace UNC 0 0.0 % (0 / 11) 0.0 % (0 / 4)
FreeErrorDataContents CBC 114 92.3 % (24 / 26) 87.5 % (21 / 24)
assign_syslog_facility CBC 1286 42.9 % (3 / 7) 25.0 % (1 / 4)
errcode CBC 38779 100.0 % (5 / 5) 25.0 % (1 / 4)
errhidecontext CBC 24208 100.0 % (5 / 5) 25.0 % (1 / 4)
errhidestmt CBC 234942 100.0 % (5 / 5) 25.0 % (1 / 4)
errmsg CBC 285249 100.0 % (10 / 10) 70.0 % (7 / 10)
errposition CBC 10066 100.0 % (5 / 5) 25.0 % (1 / 4)
errsave_finish CBC 6153 93.3 % (14 / 15) 50.0 % (3 / 6)
get_error_stack_entry CBC 337328 77.8 % (7 / 9) 25.0 % (1 / 4)
geterrcode CBC 5627 100.0 % (4 / 4) 25.0 % (1 / 4)
geterrposition CBC 9644 100.0 % (4 / 4) 25.0 % (1 / 4)
getinternalerrposition CBC 154 100.0 % (4 / 4) 25.0 % (1 / 4)
internalerrposition CBC 300 100.0 % (5 / 5) 25.0 % (1 / 4)
internalerrquery CBC 292 100.0 % (9 / 9) 62.5 % (5 / 8)
set_errcontext_domain CBC 29910 100.0 % (5 / 5) 50.0 % (3 / 6)
write_pipe_chunks CBC 60 78.3 % (18 / 23) 70.0 % (7 / 10)
error_severity GNC 366675 80.0 % (24 / 30) 77.8 % (7 / 9)
set_stack_entry_location CBC 337258 91.7 % (11 / 12) 66.7 % (4 / 6)
err_sendstring CBC 383998 80.0 % (4 / 5) 50.0 % (1 / 2)
errsave_start CBC 36398 100.0 % (15 / 15) 83.3 % (5 / 6)
get_backend_type_for_log GNC 381430 88.9 % (8 / 9) 83.3 % (5 / 6)
message_level_is_interesting CBC 1065575 100.0 % (6 / 6) 83.3 % (5 / 6)
set_errdata_field CBC 9006 100.0 % (4 / 4) 50.0 % (1 / 2)
GetErrorContextStack CBC 32 100.0 % (11 / 11) 100.0 % (2 / 2)
append_with_tabs CBC 381427 100.0 % (6 / 6) 100.0 % (8 / 8)
assign_log_min_messages GNC 1833 100.0 % (4 / 4) 100.0 % (2 / 2)
check_log_of_query CBC 317716 100.0 % (8 / 8) 100.0 % (6 / 6)
err_gettext CBC 445308 100.0 % (4 / 4) 100.0 % (2 / 2)
get_formatted_log_time CBC 381627 100.0 % (12 / 12) 100.0 % (4 / 4)
get_formatted_start_time CBC 40 100.0 % (7 / 7) 100.0 % (2 / 2)
log_min_messages_cmp GNC 48 100.0 % (8 / 8) 100.0 % (4 / 4)
set_stack_entry_domain CBC 337258 100.0 % (4 / 4) 100.0 % (2 / 2)
should_output_to_client CBC 50947797 100.0 % (6 / 6) 100.0 % (10 / 10)
unpack_sql_state CBC 59301 100.0 % (6 / 6) 100.0 % (2 / 2)
FlushErrorState CBC 34769 100.0 % (5 / 5)
FreeErrorData CBC 71 100.0 % (4 / 4)
assign_backtrace_functions CBC 1286 100.0 % (3 / 3)
assign_log_destination CBC 1287 100.0 % (3 / 3)
backtrace_cleanup UNC 0 0.0 % (0 / 2)
errstart_cold CBC 28953 100.0 % (2 / 2)
in_error_recursion_trouble CBC 1166801 100.0 % (2 / 2)
log_line_prefix CBC 381587 100.0 % (3 / 3)
pre_format_elog_string CBC 105 100.0 % (4 / 4)
reset_formatted_start_time CBC 17466 100.0 % (3 / 3)
should_output_to_server GNC 50948915 100.0 % (2 / 2)
vwrite_stderr UBC 0 0.0 % (0 / 5)
write_console CBC 317656 100.0 % (3 / 3)
write_stderr UBC 0 0.0 % (0 / 5)

Generated by: LCOV version 2.5.0-beta