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 ECB DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 76.8 % 1605 1233 34 2 336 6 74 1153 1 28 48
Current Date: 2026-05-29 21:51:00 -0400 Functions: 91.4 % 58 53 2 3 13 40 4
Baseline: lcov-20260530-034037-baseline Branches: 58.5 % 1203 704 24 3 17 455 6 27 38 633 33 49
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 69.1 % 110 76 34 74 2
(360..) days: 77.4 % 1495 1157 2 336 6 1151 1
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 90.7 % 54 49 2 3 9 40
Branch coverage date bins:
(30,360] days: 62.5 % 64 40 24 38 2
(360..) days: 58.3 % 1139 664 3 17 455 6 27 631

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
process_postgres_switches GNC 4296 32.3 % (40 / 124) 27.6 % (24 / 87)
ProcessInterrupts GNC 5429 88.5 % (85 / 96) 67.4 % (89 / 132)
exec_bind_message CBC 10172 90.6 % (145 / 160) 69.3 % (88 / 127)
PostgresMain GNC 14942 94.5 % (239 / 253) 75.2 % (109 / 145)
exec_execute_message CBC 10129 81.2 % (65 / 80) 52.0 % (39 / 75)
check_log_duration CBC 425829 68.0 % (17 / 25) 27.1 % (13 / 48)
pg_rewrite_query CBC 511623 36.7 % (11 / 30) 28.6 % (8 / 28)
quickdie UBC 0 0.0 % (0 / 18) 0.0 % (0 / 14)
set_debug_options UNC 0 0.0 % (0 / 18) 0.0 % (0 / 14)
exec_parse_message CBC 4458 91.4 % (53 / 58) 69.8 % (30 / 43)
pg_parse_query GNC 441096 38.1 % (8 / 21) 27.8 % (5 / 18)
ProcessClientWriteInterrupt CBC 2465983 45.5 % (5 / 11) 8.3 % (1 / 12)
set_plan_disabling_options UBC 0 0.0 % (0 / 31) 0.0 % (0 / 11)
check_log_statement CBC 440239 50.0 % (5 / 10) 25.0 % (3 / 12)
bind_param_error_callback CBC 1 59.1 % (13 / 22) 42.9 % (6 / 14)
exec_describe_statement_message CBC 59 88.0 % (22 / 25) 60.0 % (12 / 20)
PostgresSingleUserMain GNC 78 86.7 % (26 / 30) 30.0 % (3 / 10)
ProcessRecoveryConflictInterrupt GNC 18 64.5 % (20 / 31) 63.2 % (12 / 19)
forbidden_in_wal_sender CBC 36311 50.0 % (3 / 6) 12.5 % (1 / 8)
get_stats_option_name UNC 0 0.0 % (0 / 11) 0.0 % (0 / 7)
pg_plan_query GNC 293715 50.0 % (10 / 20) 50.0 % (7 / 14)
start_xact_command CBC 920999 69.2 % (9 / 13) 41.7 % (5 / 12)
SocketBackend CBC 459465 94.1 % (48 / 51) 73.9 % (17 / 23)
exec_simple_query CBC 430890 96.7 % (89 / 92) 90.2 % (55 / 61)
report_recovery_conflict GNC 12 80.0 % (16 / 20) 66.7 % (12 / 18)
ProcessClientReadInterrupt CBC 17248358 78.6 % (11 / 14) 64.3 % (9 / 14)
ShowUsage CBC 10 87.5 % (42 / 48) 50.0 % (5 / 10)
exec_describe_portal_message CBC 10131 85.7 % (12 / 14) 64.3 % (9 / 14)
enable_statement_timeout CBC 920999 88.9 % (8 / 9) 66.7 % (8 / 12)
pg_analyze_and_rewrite_varparams CBC 5621 83.3 % (10 / 12) 66.7 % (8 / 12)
IsTransactionExitStmtList CBC 1 85.7 % (6 / 7) 50.0 % (3 / 6)
ProcessRecoveryConflictInterrupts GNC 18 91.7 % (11 / 12) 70.0 % (7 / 10)
assign_transaction_timeout CBC 2275 85.7 % (6 / 7) 70.0 % (7 / 10)
check_client_connection_check_interval CBC 1292 60.0 % (3 / 5) 25.0 % (1 / 4)
check_log_stats CBC 1299 66.7 % (4 / 6) 62.5 % (5 / 8)
check_restrict_nonsystem_relation_kind CBC 1593 64.0 % (16 / 25) 78.6 % (11 / 14)
check_stage_log_stats CBC 3876 60.0 % (3 / 5) 25.0 % (1 / 4)
errdetail_params CBC 3989 100.0 % (6 / 6) 70.0 % (7 / 10)
FloatExceptionHandler UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
InteractiveBackend CBC 36441 88.0 % (22 / 25) 90.9 % (20 / 22)
pg_analyze_and_rewrite_fixedparams CBC 482098 75.0 % (6 / 8) 50.0 % (2 / 4)
pg_analyze_and_rewrite_withcb CBC 25589 75.0 % (6 / 8) 50.0 % (2 / 4)
IsTransactionExitStmt CBC 1179 100.0 % (9 / 9) 91.7 % (11 / 12)
IsTransactionStmtList CBC 10129 100.0 % (7 / 7) 83.3 % (5 / 6)
StatementCancelHandler CBC 65 100.0 % (6 / 6) 50.0 % (1 / 2)
die GNC 1303 91.7 % (11 / 12) 87.5 % (7 / 8)
errdetail_execute CBC 205549 100.0 % (10 / 10) 90.0 % (9 / 10)
interactive_getc CBC 14374638 100.0 % (5 / 5) 50.0 % (1 / 2)
log_disconnections CBC 130 100.0 % (10 / 10) 75.0 % (3 / 4)
pg_plan_queries GNC 515343 100.0 % (16 / 16) 87.5 % (7 / 8)
ReadCommand CBC 495906 100.0 % (5 / 5) 100.0 % (2 / 2)
disable_statement_timeout CBC 845141 100.0 % (4 / 4) 100.0 % (2 / 2)
drop_unnamed_stmt CBC 433995 100.0 % (6 / 6) 100.0 % (2 / 2)
finish_xact_command CBC 811194 100.0 % (7 / 7) 100.0 % (2 / 2)
ResetUsage CBC 10 100.0 % (4 / 4)
assign_restrict_nonsystem_relation_kind CBC 1599 100.0 % (4 / 4)

Generated by: LCOV version 2.5.0-beta