LCOV - differential code coverage report
Current view: top level - src/bin/pg_rewind - pg_rewind.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 82.7 % 416 344 72 344
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 14 14 14
Baseline: lcov-20260726-baseline Branches: 64.1 % 237 152 85 152
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 2 2 2
(30,360] days: 77.8 % 9 7 2 7
(360..) days: 82.7 % 405 335 70 335
Function coverage date bins:
(360..) days: 100.0 % 14 14 14
Branch coverage date bins:
(30,360] days: 83.3 % 6 5 1 5
(360..) days: 63.6 % 231 147 84 147

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
main CBC 26 84.1 % (143 / 170) 72.6 % (69 / 95)
progress_report CBC 50207 17.6 % (3 / 17) 6.2 % (1 / 16)
getRestoreCommand CBC 19 73.1 % (19 / 26) 43.8 % (7 / 16)
ensureCleanShutdown CBC 10 76.0 % (19 / 25) 50.0 % (6 / 12)
perform_rewind CBC 15 92.2 % (59 / 64) 83.3 % (25 / 30)
digestControlFile CBC 60 63.6 % (7 / 11) 50.0 % (5 / 10)
sanityChecks CBC 18 78.9 % (15 / 19) 66.7 % (16 / 24)
MinXLogRecPtr CBC 15 83.3 % (5 / 6) 75.0 % (3 / 4)
checkControlFile CBC 60 85.7 % (6 / 7) 50.0 % (1 / 2)
createBackupLabel CBC 14 93.3 % (14 / 15) 50.0 % (1 / 2)
disconnect_atexit CBC 19 75.0 % (3 / 4) 50.0 % (1 / 2)
findCommonAncestorTimeline CBC 15 90.9 % (10 / 11) 62.5 % (5 / 8)
getTimelineHistory CBC 30 100.0 % (20 / 20) 75.0 % (12 / 16)
usage CBC 1 100.0 % (21 / 21)

Generated by: LCOV version 2.0-1