LCOV - differential code coverage report
Current view: top level - src/bin/pg_basebackup - pg_basebackup.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 71.3 % 1023 729 1 293 5 724 1 7
Current Date: 2026-11-05 14:14:01 +0100 Functions: 78.1 % 32 25 7 4 21
Baseline: lcov-20261105-baseline Branches: 63.3 % 762 482 3 277 3 479
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 89.5 % 19 17 1 1 5 12
(360..) days: 70.9 % 1004 712 292 712
Function coverage date bins:
(360..) days: 78.1 % 32 25 7 4 21
Branch coverage date bins:
(30,360] days: 70.0 % 30 21 3 6 3 18
(360..) days: 63.0 % 732 461 271 461

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
BaseBackup CBC 220 71.7 % (157 / 219) 59.7 % (123 / 206)
CreateBackupStreamer CBC 224 65.7 % (46 / 70) 62.5 % (45 / 72)
GetCopyDataByte CBC 427243 75.0 % (3 / 4) 50.0 % (1 / 2)
GetCopyDataEnd CBC 665 75.0 % (3 / 4) 50.0 % (1 / 2)
GetCopyDataString CBC 474 90.0 % (9 / 10) 75.0 % (3 / 4)
GetCopyDataUInt64 CBC 234 83.3 % (5 / 6) 50.0 % (1 / 2)
LogStreamerMain CBC 168 92.6 % (25 / 27) 83.3 % (5 / 6)
ReceiveArchiveStream CBC 198 70.0 % (14 / 20) 62.5 % (5 / 8)
ReceiveArchiveStreamChunk CBC 427243 80.0 % (48 / 60) 65.9 % (27 / 41)
ReceiveBackupManifest UBC 0 0.0 % (0 / 8) 0.0 % (0 / 2)
ReceiveBackupManifestChunk UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
ReceiveBackupManifestInMemory UBC 0 0.0 % (0 / 3)
ReceiveBackupManifestInMemoryChunk UBC 0 0.0 % (0 / 4)
ReceiveCopyData CBC 198 87.5 % (14 / 16) 75.0 % (6 / 8)
ReceiveTarCopyChunk UBC 0 0.0 % (0 / 6)
ReceiveTarFile UBC 0 0.0 % (0 / 22) 0.0 % (0 / 4)
ReportCopyDataParseError UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
StartLogStreamer GNC 173 75.6 % (34 / 45) 57.1 % (24 / 42)
backup_parse_compress_options CBC 32 100.0 % (10 / 10) 100.0 % (4 / 4)
cleanup_directories_atexit CBC 418 50.0 % (13 / 26) 55.0 % (22 / 40)
disconnect_atexit CBC 388 100.0 % (4 / 4) 100.0 % (2 / 2)
get_tablespace_mapping CBC 49 100.0 % (7 / 7) 75.0 % (3 / 4)
kill_bgchild_atexit CBC 172 100.0 % (4 / 4) 75.0 % (3 / 4)
main GNC 252 74.6 % (197 / 264) 77.5 % (138 / 178)
parse_max_rate CBC 1 50.0 % (14 / 28) 35.7 % (10 / 28)
progress_report CBC 275 60.7 % (17 / 28) 43.3 % (13 / 30)
progress_update_filename GNC 169240 42.9 % (3 / 7) 50.0 % (3 / 6)
reached_end_position GNC 4286 88.9 % (16 / 18) 83.3 % (10 / 12)
sigchld_handler CBC 170 100.0 % (3 / 3)
tablespace_list_append CBC 22 92.3 % (24 / 26) 71.1 % (27 / 38)
usage CBC 1 100.0 % (46 / 46)
verify_dir_is_empty_or_create CBC 238 81.2 % (13 / 16) 54.5 % (6 / 11)

Generated by: LCOV version 2.0-1