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: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 69.1 % 1023 707 1 315 5 702 1 7
Current Date: 2026-10-12 11:56:10 +0200 Functions: 78.1 % 32 25 7 4 21
Baseline: lcov-20261012-baseline Branches: 60.5 % 762 461 3 298 3 458
Baseline Date: 2026-10-12 10:36:06 +0200 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: 68.7 % 1004 690 314 690
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: 60.1 % 732 440 292 440

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 212 69.4 % (152 / 219) 57.8 % (119 / 206)
main GNC 244 73.5 % (194 / 264) 75.8 % (135 / 178)
progress_report CBC 263 10.7 % (3 / 28) 3.3 % (1 / 30)
CreateBackupStreamer CBC 215 65.7 % (46 / 70) 62.5 % (45 / 72)
StartLogStreamer GNC 168 75.6 % (34 / 45) 57.1 % (24 / 42)
cleanup_directories_atexit CBC 405 50.0 % (13 / 26) 55.0 % (22 / 40)
parse_max_rate CBC 1 50.0 % (14 / 28) 35.7 % (10 / 28)
ReceiveArchiveStreamChunk CBC 410475 80.0 % (48 / 60) 65.9 % (27 / 41)
tablespace_list_append CBC 22 92.3 % (24 / 26) 71.1 % (27 / 38)
progress_update_filename GNC 164190 42.9 % (3 / 7) 16.7 % (1 / 6)
verify_dir_is_empty_or_create CBC 230 81.2 % (13 / 16) 54.5 % (6 / 11)
ReceiveBackupManifestChunk UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
ReceiveTarFile UBC 0 0.0 % (0 / 22) 0.0 % (0 / 4)
ReceiveArchiveStream CBC 191 70.0 % (14 / 20) 62.5 % (5 / 8)
ReceiveBackupManifest UBC 0 0.0 % (0 / 8) 0.0 % (0 / 2)
ReceiveCopyData CBC 191 87.5 % (14 / 16) 75.0 % (6 / 8)
ReportCopyDataParseError UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
reached_end_position GNC 4107 88.9 % (16 / 18) 83.3 % (10 / 12)
GetCopyDataByte CBC 410475 75.0 % (3 / 4) 50.0 % (1 / 2)
GetCopyDataEnd CBC 641 75.0 % (3 / 4) 50.0 % (1 / 2)
GetCopyDataString CBC 456 90.0 % (9 / 10) 75.0 % (3 / 4)
GetCopyDataUInt64 CBC 226 83.3 % (5 / 6) 50.0 % (1 / 2)
LogStreamerMain CBC 163 92.6 % (25 / 27) 83.3 % (5 / 6)
get_tablespace_mapping CBC 49 100.0 % (7 / 7) 75.0 % (3 / 4)
kill_bgchild_atexit CBC 167 100.0 % (4 / 4) 75.0 % (3 / 4)
backup_parse_compress_options CBC 32 100.0 % (10 / 10) 100.0 % (4 / 4)
disconnect_atexit CBC 375 100.0 % (4 / 4) 100.0 % (2 / 2)
ReceiveBackupManifestInMemory UBC 0 0.0 % (0 / 3)
ReceiveBackupManifestInMemoryChunk UBC 0 0.0 % (0 / 4)
ReceiveTarCopyChunk UBC 0 0.0 % (0 / 6)
sigchld_handler CBC 166 100.0 % (3 / 3)
usage CBC 1 100.0 % (46 / 46)

Generated by: LCOV version 2.0-1