LCOV - differential code coverage report
Current view: top level - src/bin/pg_resetwal - pg_resetwal.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 90.8 % 554 503 51 503
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 15 15 15
Baseline: lcov-20260726-baseline Branches: 75.0 % 316 237 79 237
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 95.8 % 96 92 4 92
(360..) days: 89.7 % 458 411 47 411
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 100.0 % 13 13 13
Branch coverage date bins:
(30,360] days: 89.0 % 82 73 9 73
(360..) days: 70.1 % 234 164 70 164

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
CheckDataVersion CBC 125 57.1 % (4 / 7) 50.0 % (1 / 2)
FindEndOfXLOG CBC 124 85.0 % (17 / 20) 71.4 % (10 / 14)
GuessControlValues CBC 4 100.0 % (49 / 49)
KillExistingArchiveStatus CBC 79 44.4 % (8 / 18) 30.0 % (6 / 20)
KillExistingWALSummaries CBC 79 53.3 % (8 / 15) 42.9 % (6 / 14)
KillExistingXLOG CBC 79 73.3 % (11 / 15) 64.3 % (9 / 14)
PrintControlValues CBC 44 100.0 % (35 / 35) 87.5 % (7 / 8)
PrintNewControlValues CBC 44 100.0 % (25 / 25) 100.0 % (16 / 16)
RewriteControlFile CBC 79 100.0 % (20 / 20)
WriteEmptyXLOG CBC 79 83.3 % (40 / 48) 42.9 % (6 / 14)
main CBC 204 96.1 % (222 / 231) 85.4 % (152 / 178)
read_controlfile CBC 124 80.8 % (21 / 26) 60.0 % (12 / 20)
strtouint32_strict CBC 109 91.7 % (11 / 12) 80.0 % (8 / 10)
strtouint64_strict CBC 14 88.9 % (8 / 9) 66.7 % (4 / 6)
usage CBC 1 100.0 % (24 / 24)

Generated by: LCOV version 2.0-1