LCOV - differential code coverage report
Current view: top level - src/bin/pg_basebackup - receivelog.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 7a15cff1f11193467898da1c1fabf06fd2caee04 vs 84a3778c79c2d28b4dc281d03ef2ab019b16483b Lines: 63.5 % 427 271 3 153 8 263 3 8
Current Date: 2025-12-15 18:36:29 -0500 Functions: 94.1 % 17 16 1 5 11 1
Baseline: lcov-20251216-010103-baseline Branches: 56.2 % 260 146 4 110 4 142
Baseline Date: 2025-12-15 13:30:48 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 83.3 % 18 15 3 8 7
(360..) days: 62.6 % 409 256 153 256
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 % 10 5 4 1 4 1
(360..) days: 56.4 % 250 141 109 141

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
ProcessKeepaliveMsg UNC 0 0.0 % (0 / 19) 0.0 % (0 / 16)
ReadEndOfStreamingResult GNC 1 60.0 % (6 / 10) 50.0 % (3 / 6)
writeTimeLineHistoryFile CBC 3 52.4 % (11 / 21) 58.3 % (7 / 12)
mark_file_as_archived CBC 7 60.0 % (6 / 10) 50.0 % (2 / 4)
HandleCopyStream GNC 138 62.0 % (31 / 50) 52.6 % (20 / 38)
HandleEndOfCopyStream CBC 138 66.7 % (10 / 15) 70.0 % (7 / 10)
ReceiveXlogStream GNC 138 70.2 % (59 / 84) 60.9 % (28 / 46)
sendFeedback GNC 138 90.0 % (18 / 20) 66.7 % (4 / 6)
existsTimeLineHistoryFile CBC 139 100.0 % (5 / 5) 100.0 % (2 / 2)
open_walfile CBC 143 32.5 % (13 / 40) 22.2 % (4 / 18)
close_walfile CBC 149 83.3 % (20 / 24) 85.7 % (12 / 14)
CheckServerVersionForStreaming CBC 297 53.8 % (7 / 13) 25.0 % (2 / 8)
CalculateCopyStreamSleeptime CBC 1344 84.6 % (11 / 13) 75.0 % (6 / 8)
ProcessWALDataMsg GNC 1511 66.7 % (32 / 48) 59.4 % (19 / 32)
CopyStreamPoll CBC 2667 76.0 % (19 / 25) 75.0 % (12 / 16)
CheckCopyStreamStop CBC 2855 66.7 % (6 / 9) 70.0 % (7 / 10)
CopyStreamReceive CBC 2855 81.0 % (17 / 21) 78.6 % (11 / 14)

Generated by: LCOV version 2.4-beta