LCOV - differential code coverage report
Current view: top level - src/backend/tcop - postgres.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC DUB DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 77.4 % 1640 1270 1 3 366 3 43 1224 4 5
Current Date: 2026-10-12 11:56:10 +0200 Functions: 91.5 % 59 54 5 6 48
Baseline: lcov-20261012-baseline Branches: 59.4 % 1237 735 13 2 1 486 5 3 39 688
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 78.5 % 149 117 1 31 1 43 73
(360..) days: 77.3 % 1491 1153 3 335 2 1151
Function coverage date bins:
(30,360] days: 100.0 % 5 5 1 4
(360..) days: 90.7 % 54 49 5 5 44
Branch coverage date bins:
(30,360] days: 69.3 % 114 79 13 22 1 39 39
(360..) days: 58.4 % 1123 656 2 1 464 4 3 649

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
FloatExceptionHandler UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
HandleRecoveryConflictInterrupt CBC 20 100.0 % (4 / 4) 50.0 % (1 / 2)
InteractiveBackend CBC 35545 88.0 % (22 / 25) 90.9 % (20 / 22)
IsTransactionExitStmt CBC 1166 100.0 % (9 / 9) 91.7 % (11 / 12)
IsTransactionExitStmtList CBC 1 85.7 % (6 / 7) 50.0 % (3 / 6)
IsTransactionStmtList CBC 12097 100.0 % (7 / 7) 83.3 % (5 / 6)
PostgresMain CBC 15469 93.7 % (237 / 253) 74.5 % (108 / 145)
PostgresSingleUserMain CBC 82 86.7 % (26 / 30) 30.0 % (3 / 10)
ProcessClientReadInterrupt CBC 16627056 78.6 % (11 / 14) 64.3 % (9 / 14)
ProcessClientWriteInterrupt CBC 2470385 63.6 % (7 / 11) 25.0 % (3 / 12)
ProcessInterrupts CBC 6801 84.4 % (81 / 96) 65.2 % (86 / 132)
ProcessRecoveryConflictInterrupt CBC 20 67.7 % (21 / 31) 68.4 % (13 / 19)
ProcessRecoveryConflictInterrupts CBC 20 91.7 % (11 / 12) 70.0 % (7 / 10)
ReadCommand CBC 495141 100.0 % (5 / 5) 100.0 % (2 / 2)
ResetUsage CBC 10 100.0 % (4 / 4)
ShowUsage CBC 10 87.5 % (42 / 48) 50.0 % (5 / 10)
SocketBackend CBC 459596 94.1 % (48 / 51) 73.9 % (17 / 23)
StatementCancelHandler CBC 71 100.0 % (6 / 6) 50.0 % (1 / 2)
assign_restrict_nonsystem_relation_kind CBC 1564 100.0 % (4 / 4)
assign_transaction_timeout CBC 2342 85.7 % (6 / 7) 70.0 % (7 / 10)
bind_param_error_callback CBC 1 59.1 % (13 / 22) 42.9 % (6 / 14)
check_client_connection_check_interval CBC 1328 60.0 % (3 / 5) 25.0 % (1 / 4)
check_log_duration CBC 420420 68.0 % (17 / 25) 27.1 % (13 / 48)
check_log_statement CBC 432490 50.0 % (5 / 10) 25.0 % (3 / 12)
check_log_stats CBC 1335 66.7 % (4 / 6) 62.5 % (5 / 8)
check_restrict_nonsystem_relation_kind CBC 1558 64.0 % (16 / 25) 78.6 % (11 / 14)
check_stage_log_stats CBC 3984 60.0 % (3 / 5) 25.0 % (1 / 4)
die CBC 1454 91.7 % (11 / 12) 87.5 % (7 / 8)
disable_statement_timeout CBC 830369 100.0 % (4 / 4) 100.0 % (2 / 2)
drop_unnamed_stmt CBC 424478 100.0 % (6 / 6) 100.0 % (2 / 2)
enable_statement_timeout CBC 908128 88.9 % (8 / 9) 66.7 % (8 / 12)
errdetail_execute GNC 198311 100.0 % (14 / 14) 92.9 % (13 / 14)
errdetail_params CBC 3999 100.0 % (6 / 6) 70.0 % (7 / 10)
errdetail_recovery_conflict CBC 12 88.9 % (24 / 27) 77.8 % (7 / 9)
exec_bind_message GNC 12144 90.8 % (148 / 163) 68.7 % (90 / 131)
exec_describe_portal_message CBC 12099 85.7 % (12 / 14) 64.3 % (9 / 14)
exec_describe_statement_message CBC 60 88.0 % (22 / 25) 60.0 % (12 / 20)
exec_execute_message GNC 12097 86.0 % (74 / 86) 60.2 % (50 / 83)
exec_parse_message GNC 4689 91.8 % (56 / 61) 70.2 % (33 / 47)
exec_simple_query GNC 421161 100.0 % (98 / 98) 92.8 % (64 / 69)
finish_xact_command CBC 794115 100.0 % (7 / 7) 100.0 % (2 / 2)
forbidden_in_wal_sender CBC 42453 50.0 % (3 / 6) 12.5 % (1 / 8)
get_stats_option_name UBC 0 0.0 % (0 / 11) 0.0 % (0 / 7)
interactive_getc CBC 13822141 100.0 % (5 / 5) 50.0 % (1 / 2)
log_disconnections CBC 7 100.0 % (10 / 10) 50.0 % (2 / 4)
pg_analyze_and_rewrite_fixedparams CBC 472870 75.0 % (6 / 8) 50.0 % (2 / 4)
pg_analyze_and_rewrite_varparams CBC 5785 83.3 % (10 / 12) 66.7 % (8 / 12)
pg_analyze_and_rewrite_withcb CBC 23710 75.0 % (6 / 8) 50.0 % (2 / 4)
pg_parse_query CBC 431657 38.1 % (8 / 21) 27.8 % (5 / 18)
pg_plan_queries CBC 504385 100.0 % (16 / 16) 87.5 % (7 / 8)
pg_plan_query CBC 286409 50.0 % (10 / 20) 50.0 % (7 / 14)
pg_rewrite_query CBC 500694 36.7 % (11 / 30) 28.6 % (8 / 28)
process_postgres_switches CBC 4476 32.3 % (40 / 124) 27.6 % (24 / 87)
quickdie UBC 0 0.0 % (0 / 18) 0.0 % (0 / 14)
report_recovery_conflict CBC 12 80.0 % (16 / 20) 66.7 % (12 / 18)
set_debug_options UBC 0 0.0 % (0 / 18) 0.0 % (0 / 14)
set_plan_disabling_options UBC 0 0.0 % (0 / 31) 0.0 % (0 / 11)
start_xact_command CBC 908128 69.2 % (9 / 13) 41.7 % (5 / 12)
truncate_query_log GNC 208318 92.3 % (12 / 13) 66.7 % (4 / 6)

Generated by: LCOV version 2.0-1