LCOV - differential code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Coverage Total Hit UNC UIC UBC CBC DUB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 67.4 % 1260 849 5 1 405 849 5
Current Date: 2025-09-06 07:49:51 +0900 Functions: 93.7 % 79 74 1 4 74
Baseline: lcov-20250907-010129-baseline Branches: 48.1 % 901 433 4 464 433
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 31.6 % 38 12 5 21 12
(360..) days: 68.5 % 1222 837 1 384 837
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 93.6 % 78 73 1 4 73
Branch coverage date bins:
(30,360] days: 18.2 % 22 4 4 14 4
(360..) days: 48.8 % 879 429 450 429

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
errbacktrace UBC 0 0.0 % (0 / 9) 0.0 % (0 / 4)
process_log_prefix_padding UBC 0 0.0 % (0 / 15) 0.0 % (0 / 10)
set_backtrace UNC 0 0.0 % (0 / 11) 0.0 % (0 / 4)
write_stderr UBC 0 0.0 % (0 / 7)
write_syslog UBC 0 0.0 % (0 / 43) 0.0 % (0 / 32)
errhint_plural CBC 6 100.0 % (9 / 9) 33.3 % (4 / 12)
ThrowErrorData CBC 9 70.3 % (26 / 37) 53.6 % (15 / 28)
errdetail_log_plural CBC 20 100.0 % (9 / 9) 33.3 % (4 / 12)
GetErrorContextStack CBC 24 100.0 % (11 / 11) 100.0 % (2 / 2)
errdetail_plural CBC 30 100.0 % (9 / 9) 33.3 % (4 / 12)
format_elog_string CBC 30 100.0 % (10 / 10) 55.6 % (10 / 18)
pre_format_elog_string CBC 30 100.0 % (4 / 4)
ReThrowError CBC 32 81.8 % (27 / 33) 69.2 % (18 / 26)
errcode_for_socket_access CBC 33 72.7 % (8 / 11) 33.3 % (2 / 6)
get_formatted_start_time CBC 40 100.0 % (7 / 7) 100.0 % (2 / 2)
errhint_internal CBC 53 100.0 % (9 / 9) 37.5 % (3 / 8)
write_pipe_chunks CBC 60 78.3 % (18 / 23) 70.0 % (7 / 10)
errcode_for_file_access CBC 63 40.0 % (14 / 35) 28.6 % (4 / 14)
FreeErrorData CBC 71 100.0 % (4 / 4)
getinternalerrposition CBC 130 100.0 % (4 / 4) 25.0 % (1 / 4)
internalerrquery CBC 252 100.0 % (9 / 9) 62.5 % (5 / 8)
internalerrposition CBC 261 100.0 % (5 / 5) 25.0 % (1 / 4)
errmsg_plural CBC 566 100.0 % (10 / 10) 33.3 % (4 / 12)
errdetail_log CBC 643 100.0 % (9 / 9) 50.0 % (5 / 10)
assign_backtrace_functions CBC 1069 100.0 % (3 / 3)
assign_syslog_facility CBC 1069 42.9 % (3 / 7) 25.0 % (1 / 4)
assign_syslog_ident CBC 1069 75.0 % (6 / 8) 33.3 % (2 / 6)
check_backtrace_functions CBC 1069 30.4 % (7 / 23) 12.5 % (2 / 16)
assign_log_destination CBC 1070 100.0 % (3 / 3)
check_log_destination CBC 1070 63.3 % (19 / 30) 66.7 % (12 / 18)
errdetail_internal CBC 1576 100.0 % (9 / 9) 50.0 % (4 / 8)
errhint CBC 2741 100.0 % (9 / 9) 40.0 % (4 / 10)
geterrcode CBC 3015 100.0 % (4 / 4) 25.0 % (1 / 4)
CopyErrorData CBC 3201 95.2 % (40 / 42) 70.0 % (28 / 40)
errsave_finish CBC 3727 93.3 % (14 / 15) 50.0 % (3 / 6)
errposition CBC 5885 100.0 % (5 / 5) 25.0 % (1 / 4)
err_generic_string CBC 6242 90.9 % (20 / 22) 50.0 % (6 / 12)
set_errdata_field CBC 6242 100.0 % (4 / 4) 50.0 % (1 / 2)
geterrposition CBC 7510 100.0 % (4 / 4) 25.0 % (1 / 4)
errhidecontext CBC 12749 100.0 % (5 / 5) 25.0 % (1 / 4)
errdetail CBC 14101 100.0 % (9 / 9) 50.0 % (5 / 10)
reset_formatted_start_time CBC 14117 100.0 % (3 / 3)
DebugFileOpen CBC 18831 25.0 % (3 / 12) 5.6 % (1 / 18)
errcontext_msg CBC 20908 100.0 % (9 / 9) 66.7 % (8 / 12)
set_errcontext_domain CBC 20908 100.0 % (5 / 5) 50.0 % (3 / 6)
errstart_cold CBC 21478 100.0 % (2 / 2)
FlushErrorState CBC 24949 100.0 % (5 / 5)
errsave_start CBC 26160 100.0 % (15 / 15) 83.3 % (5 / 6)
errcode CBC 28054 100.0 % (5 / 5) 25.0 % (1 / 4)
errmsg_internal CBC 32344 100.0 % (10 / 10) 50.0 % (4 / 8)
send_message_to_frontend CBC 34024 87.8 % (65 / 74) 72.5 % (29 / 40)
unpack_sql_state CBC 43404 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_re_throw CBC 55061 25.0 % (3 / 12) 16.7 % (1 / 6)
errhidestmt CBC 146847 100.0 % (5 / 5) 25.0 % (1 / 4)
errmsg CBC 186090 100.0 % (10 / 10) 60.0 % (6 / 10)
FreeErrorDataContents CBC 193638 96.2 % (25 / 26) 91.7 % (22 / 24)
write_console CBC 205203 100.0 % (3 / 3)
send_message_to_server_log CBC 205223 68.8 % (66 / 96) 65.2 % (43 / 66)
check_log_of_query CBC 205263 100.0 % (8 / 8) 100.0 % (6 / 6)
EmitErrorReport CBC 215441 93.8 % (15 / 16) 66.7 % (8 / 12)
errfinish CBC 218609 92.3 % (36 / 39) 71.4 % (20 / 28)
matches_backtrace_functions CBC 218609 30.0 % (3 / 10) 10.0 % (1 / 10)
set_stack_entry_domain CBC 219009 100.0 % (4 / 4) 100.0 % (2 / 2)
set_stack_entry_location CBC 219009 91.7 % (11 / 12) 66.7 % (4 / 6)
get_error_stack_entry CBC 219065 77.8 % (7 / 9) 25.0 % (1 / 4)
error_severity CBC 239287 80.0 % (24 / 30) 77.8 % (7 / 9)
get_backend_type_for_log CBC 254531 100.0 % (7 / 7) 100.0 % (4 / 4)
append_with_tabs CBC 254578 100.0 % (6 / 6) 100.0 % (8 / 8)
log_line_prefix CBC 254668 100.0 % (3 / 3)
log_status_format CBC 254668 22.7 % (45 / 198) 16.9 % (25 / 148)
get_formatted_log_time CBC 254708 100.0 % (12 / 12) 100.0 % (4 / 4)
err_sendstring CBC 265854 80.0 % (4 / 5) 50.0 % (1 / 2)
err_gettext CBC 297680 100.0 % (4 / 4) 100.0 % (2 / 2)
in_error_recursion_trouble CBC 788728 100.0 % (2 / 2)
message_level_is_interesting CBC 884541 100.0 % (6 / 6) 83.3 % (5 / 6)
errstart CBC 43568748 80.6 % (29 / 36) 78.1 % (25 / 32)
should_output_to_client CBC 44452294 100.0 % (6 / 6) 100.0 % (10 / 10)
should_output_to_server CBC 44453289 100.0 % (2 / 2)
is_log_level_output CBC 44658552 75.0 % (9 / 12) 68.8 % (11 / 16)

Generated by: LCOV version 2.4-beta