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: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 63.5 % 427 271 3 153 8 263 3 8
Current Date: 2025-09-06 07:49:51 +0900 Functions: 94.1 % 17 16 1 5 11 1
Baseline: lcov-20250907-010129-baseline Branches: 56.2 % 260 146 4 110 4 142
Baseline Date: 2025-09-05 08:21:35 +0100 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
open_walfile CBC 141 32.5 % (13 / 40) 22.2 % (4 / 18)
ReceiveXlogStream GNC 136 70.2 % (59 / 84) 60.9 % (28 / 46)
HandleCopyStream GNC 136 62.0 % (31 / 50) 52.6 % (20 / 38)
ProcessKeepaliveMsg UNC 0 0.0 % (0 / 19) 0.0 % (0 / 16)
ProcessWALDataMsg GNC 1511 66.7 % (32 / 48) 59.4 % (19 / 32)
writeTimeLineHistoryFile CBC 3 52.4 % (11 / 21) 58.3 % (7 / 12)
CheckServerVersionForStreaming CBC 293 53.8 % (7 / 13) 25.0 % (2 / 8)
CopyStreamPoll CBC 2490 76.0 % (19 / 25) 75.0 % (12 / 16)
HandleEndOfCopyStream CBC 136 66.7 % (10 / 15) 70.0 % (7 / 10)
CopyStreamReceive CBC 2661 81.0 % (17 / 21) 78.6 % (11 / 14)
ReadEndOfStreamingResult GNC 1 60.0 % (6 / 10) 50.0 % (3 / 6)
close_walfile CBC 146 83.3 % (20 / 24) 85.7 % (12 / 14)
mark_file_as_archived CBC 6 60.0 % (6 / 10) 50.0 % (2 / 4)
CheckCopyStreamStop CBC 2661 66.7 % (6 / 9) 70.0 % (7 / 10)
CalculateCopyStreamSleeptime CBC 1150 84.6 % (11 / 13) 75.0 % (6 / 8)
sendFeedback GNC 136 90.0 % (18 / 20) 66.7 % (4 / 6)
existsTimeLineHistoryFile CBC 137 100.0 % (5 / 5) 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta