LCOV - differential code coverage report
Current view: top level - src/backend/access/transam - commit_ts.c (source / functions) Coverage Total Hit UBC CBC
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 82.6 % 276 228 48 228
Current Date: 2026-11-05 14:14:01 +0100 Functions: 86.7 % 30 26 4 26
Baseline: lcov-20261105-baseline Branches: 65.1 % 126 82 44 82
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 84.2 % 19 16 3 16
(360..) days: 82.5 % 257 212 45 212
Function coverage date bins:
(30,360] days: 75.0 % 4 3 1 3
(360..) days: 88.5 % 26 23 3 23
Branch coverage date bins:
(360..) days: 65.1 % 126 82 44 82

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
ActivateCommitTs CBC 36 100.0 % (21 / 21) 100.0 % (8 / 8)
AdvanceOldestCommitTsXid CBC 116 100.0 % (7 / 7) 75.0 % (3 / 4)
BootStrapCommitTs CBC 59 100.0 % (2 / 2)
CheckPointCommitTs CBC 2031 100.0 % (3 / 3)
CommitTsPagePrecedes CBC 50818 100.0 % (7 / 7) 100.0 % (4 / 4)
CommitTsParameterChange CBC 41 85.7 % (6 / 7) 83.3 % (5 / 6)
CommitTsShmemBuffers CBC 2608 100.0 % (4 / 4) 100.0 % (2 / 2)
CommitTsShmemInit CBC 1303 100.0 % (7 / 7)
CommitTsShmemRequest CBC 1307 90.0 % (9 / 10) 66.7 % (4 / 6)
CompleteCommitTsInitialization CBC 1052 100.0 % (5 / 5) 100.0 % (2 / 2)
DeactivateCommitTs CBC 1031 100.0 % (11 / 11)
ExtendCommitTs CBC 181005 100.0 % (13 / 13) 70.0 % (7 / 10)
GetLatestCommitTsData CBC 4 100.0 % (11 / 11) 66.7 % (4 / 6)
SetCommitTsLimit CBC 1186 66.7 % (8 / 12) 25.0 % (2 / 8)
SetXidCommitTsInPage CBC 864 90.0 % (9 / 10) 50.0 % (1 / 2)
StartupCommitTs CBC 14 100.0 % (3 / 3)
TransactionIdGetCommitTsData CBC 112 100.0 % (39 / 39) 84.6 % (22 / 26)
TransactionIdSetCommitTs CBC 864 100.0 % (8 / 8) 50.0 % (1 / 2)
TransactionIdToCTsPage CBC 1121 100.0 % (2 / 2)
TransactionTreeSetCommitTsData CBC 179822 76.0 % (19 / 25) 58.3 % (7 / 12)
TruncateCommitTs CBC 116 66.7 % (4 / 6) 50.0 % (1 / 2)
WriteTruncateXlogRec UBC 0 0.0 % (0 / 7)
check_commit_ts_buffers CBC 2649 100.0 % (2 / 2)
commit_ts_errdetail_for_io_error UBC 0 0.0 % (0 / 3)
commit_ts_redo UBC 0 0.0 % (0 / 14) 0.0 % (0 / 8)
committssyncfiletag UBC 0 0.0 % (0 / 2)
error_commit_ts_disabled CBC 9 100.0 % (2 / 2) 75.0 % (3 / 4)
pg_last_committed_xact CBC 4 85.7 % (12 / 14) 33.3 % (2 / 6)
pg_xact_commit_timestamp CBC 20 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_xact_commit_timestamp_origin CBC 5 61.5 % (8 / 13) 33.3 % (2 / 6)

Generated by: LCOV version 2.0-1