LCOV - differential code coverage report
Current view: top level - src/bin/pg_basebackup - receivelog.c (source / functions) Coverage Total Hit UNC UBC GIC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 63.6 % 428 272 3 153 1 8 263 3 8
Current Date: 2026-05-29 21:51:00 -0400 Functions: 94.1 % 17 16 1 5 11 1
Baseline: lcov-20260530-034037-baseline Branches: 56.2 % 260 146 4 110 4 142 4 4
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: 72.7 % 11 8 3 8
(360..) days: 63.3 % 417 264 153 1 263
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 93.8 % 16 15 1 4 11
Branch coverage date bins:
(30,360] days: 50.0 % 8 4 4 4
(360..) days: 56.3 % 252 142 110 142

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
HandleCopyStream GNC 156 62.0 % (31 / 50) 52.6 % (20 / 38)
ReceiveXlogStream GNC 156 70.6 % (60 / 85) 60.9 % (28 / 46)
ProcessKeepaliveMsg UNC 0 0.0 % (0 / 19) 0.0 % (0 / 16)
open_walfile CBC 163 32.5 % (13 / 40) 22.2 % (4 / 18)
ProcessWALDataMsg GNC 1914 66.7 % (32 / 48) 59.4 % (19 / 32)
CheckServerVersionForStreaming CBC 333 53.8 % (7 / 13) 25.0 % (2 / 8)
writeTimeLineHistoryFile CBC 5 52.4 % (11 / 21) 58.3 % (7 / 12)
CopyStreamPoll CBC 2869 76.0 % (19 / 25) 75.0 % (12 / 16)
CheckCopyStreamStop CBC 3097 66.7 % (6 / 9) 70.0 % (7 / 10)
CopyStreamReceive CBC 3097 81.0 % (17 / 21) 78.6 % (11 / 14)
HandleEndOfCopyStream CBC 156 66.7 % (10 / 15) 70.0 % (7 / 10)
ReadEndOfStreamingResult GNC 1 60.0 % (6 / 10) 50.0 % (3 / 6)
CalculateCopyStreamSleeptime CBC 1183 84.6 % (11 / 13) 75.0 % (6 / 8)
close_walfile CBC 169 83.3 % (20 / 24) 85.7 % (12 / 14)
mark_file_as_archived CBC 11 60.0 % (6 / 10) 50.0 % (2 / 4)
sendFeedback GNC 156 90.0 % (18 / 20) 66.7 % (4 / 6)
existsTimeLineHistoryFile CBC 157 100.0 % (5 / 5) 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta