LCOV - differential code coverage report
Current view: top level - src/backend/tcop - postgres.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GNC CBC ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 76.4 % 1592 1217 19 356 3 51 1163 1 13 36
Current Date: 2026-03-14 14:10:32 -0400 Functions: 91.4 % 58 53 1 4 9 44 4
Baseline: lcov-20260315-024220-baseline Branches: 58.2 % 1183 688 12 2 2 479 5 24 659 13 19
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 73.7 % 99 73 19 7 51 22
(360..) days: 76.6 % 1493 1144 349 3 1141 1
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 90.7 % 54 49 1 4 5 44
Branch coverage date bins:
(30,360] days: 69.4 % 72 50 12 10 24 26
(360..) days: 57.4 % 1111 638 2 2 469 5 633

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 CBC 3857 32.3 % (40 / 124) 27.6 % (24 / 87)
set_plan_disabling_options UBC 0 0.0 % (0 / 31) 0.0 % (0 / 11)
pg_rewrite_query CBC 421133 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)
PostgresMain CBC 13918 93.7 % (237 / 253) 74.5 % (108 / 145)
ProcessInterrupts GNC 4875 83.0 % (73 / 88) 66.7 % (76 / 114)
exec_bind_message CBC 9960 90.6 % (145 / 160) 69.3 % (88 / 127)
exec_execute_message CBC 9927 81.2 % (65 / 80) 52.0 % (39 / 75)
pg_parse_query GNC 359147 38.1 % (8 / 21) 27.8 % (5 / 18)
get_stats_option_name UBC 0 0.0 % (0 / 11) 0.0 % (0 / 7)
pg_plan_query GNC 241232 50.0 % (10 / 20) 50.0 % (7 / 14)
bind_param_error_callback CBC 1 59.1 % (13 / 22) 42.9 % (6 / 14)
check_restrict_nonsystem_relation_kind CBC 1482 64.0 % (16 / 25) 78.6 % (11 / 14)
check_log_duration CBC 353138 68.0 % (17 / 25) 27.1 % (13 / 48)
ProcessClientWriteInterrupt CBC 2189579 45.5 % (5 / 11) 8.3 % (1 / 12)
check_log_statement CBC 360064 50.0 % (5 / 10) 25.0 % (3 / 12)
exec_parse_message CBC 4285 91.4 % (53 / 58) 69.8 % (30 / 43)
PostgresSingleUserMain CBC 72 85.7 % (24 / 28) 30.0 % (3 / 10)
ShowUsage CBC 10 91.7 % (44 / 48) 60.0 % (6 / 10)
report_recovery_conflict GNC 12 80.0 % (16 / 20) 66.7 % (12 / 18)
start_xact_command CBC 758099 69.2 % (9 / 13) 41.7 % (5 / 12)
InteractiveBackend CBC 30950 88.0 % (22 / 25) 90.9 % (20 / 22)
ProcessClientReadInterrupt CBC 14579830 78.6 % (11 / 14) 64.3 % (9 / 14)
SocketBackend CBC 382241 94.1 % (48 / 51) 73.9 % (17 / 23)
errdetail_recovery_conflict GNC 12 88.9 % (24 / 27) 77.8 % (7 / 9)
exec_describe_statement_message CBC 50 88.0 % (22 / 25) 60.0 % (12 / 20)
exec_simple_query CBC 350719 96.7 % (89 / 92) 86.9 % (53 / 61)
forbidden_in_wal_sender CBC 35250 50.0 % (3 / 6) 12.5 % (1 / 8)
FloatExceptionHandler UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
check_client_connection_check_interval CBC 1184 60.0 % (3 / 5) 25.0 % (1 / 4)
check_log_stats CBC 1191 66.7 % (4 / 6) 62.5 % (5 / 8)
check_stage_log_stats CBC 3552 60.0 % (3 / 5) 25.0 % (1 / 4)
exec_describe_portal_message CBC 9929 85.7 % (12 / 14) 64.3 % (9 / 14)
pg_analyze_and_rewrite_fixedparams CBC 396184 75.0 % (6 / 8) 50.0 % (2 / 4)
pg_analyze_and_rewrite_varparams CBC 5357 83.3 % (10 / 12) 66.7 % (8 / 12)
pg_analyze_and_rewrite_withcb CBC 20205 75.0 % (6 / 8) 50.0 % (2 / 4)
IsTransactionExitStmtList CBC 1 85.7 % (6 / 7) 50.0 % (3 / 6)
ProcessRecoveryConflictInterrupts GNC 19 91.7 % (11 / 12) 70.0 % (7 / 10)
assign_transaction_timeout CBC 2077 85.7 % (6 / 7) 70.0 % (7 / 10)
die CBC 1157 88.9 % (8 / 9) 83.3 % (5 / 6)
enable_statement_timeout CBC 758099 88.9 % (8 / 9) 66.7 % (8 / 12)
IsTransactionExitStmt CBC 919 100.0 % (9 / 9) 91.7 % (11 / 12)
IsTransactionStmtList CBC 9927 100.0 % (7 / 7) 83.3 % (5 / 6)
ReadCommand CBC 413191 100.0 % (5 / 5) 100.0 % (2 / 2)
ResetUsage CBC 10 100.0 % (4 / 4)
StatementCancelHandler CBC 65 100.0 % (6 / 6) 50.0 % (1 / 2)
assign_restrict_nonsystem_relation_kind CBC 1487 100.0 % (4 / 4)
disable_statement_timeout CBC 698981 100.0 % (4 / 4) 100.0 % (2 / 2)
drop_unnamed_stmt CBC 353667 100.0 % (6 / 6) 100.0 % (2 / 2)
errdetail_execute CBC 138120 100.0 % (10 / 10) 90.0 % (9 / 10)
errdetail_params CBC 3894 100.0 % (6 / 6) 70.0 % (7 / 10)
finish_xact_command CBC 667050 100.0 % (7 / 7) 100.0 % (2 / 2)
interactive_getc CBC 11968331 100.0 % (5 / 5) 50.0 % (1 / 2)
log_disconnections CBC 130 100.0 % (10 / 10) 75.0 % (3 / 4)
pg_plan_queries GNC 425092 100.0 % (16 / 16) 87.5 % (7 / 8)

Generated by: LCOV version 2.4-beta