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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 63.6 % 428 272 3 153 1 8 263 3 8
Current Date: 2026-05-05 10:23:31 +0900 Functions: 94.1 % 17 16 1 5 11 1
Baseline: lcov-20260505-025707-baseline Branches: 56.2 % 260 146 4 110 4 142 4 4
Baseline Date: 2026-05-05 10:27:06 +0900 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
open_walfile CBC 161 32.5 % (13 / 40) 22.2 % (4 / 18)
ReceiveXlogStream GNC 154 70.6 % (60 / 85) 60.9 % (28 / 46)
HandleCopyStream GNC 154 62.0 % (31 / 50) 52.6 % (20 / 38)
ProcessKeepaliveMsg UNC 0 0.0 % (0 / 19) 0.0 % (0 / 16)
ProcessWALDataMsg GNC 2051 66.7 % (32 / 48) 59.4 % (19 / 32)
writeTimeLineHistoryFile CBC 5 52.4 % (11 / 21) 58.3 % (7 / 12)
CheckServerVersionForStreaming CBC 329 53.8 % (7 / 13) 25.0 % (2 / 8)
CopyStreamPoll CBC 2915 76.0 % (19 / 25) 75.0 % (12 / 16)
HandleEndOfCopyStream CBC 154 66.7 % (10 / 15) 70.0 % (7 / 10)
CopyStreamReceive CBC 3156 81.0 % (17 / 21) 78.6 % (11 / 14)
ReadEndOfStreamingResult GNC 1 60.0 % (6 / 10) 50.0 % (3 / 6)
close_walfile CBC 166 83.3 % (20 / 24) 85.7 % (12 / 14)
mark_file_as_archived CBC 10 60.0 % (6 / 10) 50.0 % (2 / 4)
CheckCopyStreamStop CBC 3156 66.7 % (6 / 9) 70.0 % (7 / 10)
CalculateCopyStreamSleeptime CBC 1105 84.6 % (11 / 13) 75.0 % (6 / 8)
sendFeedback GNC 154 90.0 % (18 / 20) 66.7 % (4 / 6)
existsTimeLineHistoryFile CBC 155 100.0 % (5 / 5) 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta