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 DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 69.2 % 1025 709 1 315 18 691 26
Current Date: 2026-06-29 16:15:13 +0200 Functions: 78.1 % 32 25 7 6 19
Baseline: lcov-20260630-baseline Branches: 60.5 % 762 461 8 293 20 441
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 94.7 % 19 18 1 18
(360..) days: 68.7 % 1006 691 315 691
Function coverage date bins:
(360..) days: 78.1 % 32 25 7 6 19
Branch coverage date bins:
(30,360] days: 71.4 % 28 20 8 20
(360..) days: 60.1 % 734 441 293 441

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
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)
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)
parse_max_rate CBC 1 50.0 % (14 / 28) 35.7 % (10 / 28)
usage CBC 1 100.0 % (46 / 46)
tablespace_list_append GNC 22 92.3 % (24 / 26) 71.1 % (27 / 38)
backup_parse_compress_options CBC 32 100.0 % (10 / 10) 100.0 % (4 / 4)
get_tablespace_mapping CBC 49 100.0 % (7 / 7) 75.0 % (3 / 4)
LogStreamerMain CBC 150 92.6 % (25 / 27) 83.3 % (5 / 6)
sigchld_handler CBC 150 100.0 % (3 / 3)
kill_bgchild_atexit CBC 154 100.0 % (4 / 4) 75.0 % (3 / 4)
StartLogStreamer GNC 155 76.1 % (35 / 46) 57.1 % (24 / 42)
ReceiveArchiveStream GNC 178 70.0 % (14 / 20) 62.5 % (5 / 8)
ReceiveCopyData CBC 178 87.5 % (14 / 16) 75.0 % (6 / 8)
BaseBackup CBC 199 69.4 % (152 / 219) 57.8 % (119 / 206)
CreateBackupStreamer GNC 202 65.7 % (46 / 70) 62.5 % (45 / 72)
GetCopyDataUInt64 CBC 212 83.3 % (5 / 6) 50.0 % (1 / 2)
verify_dir_is_empty_or_create CBC 217 81.2 % (13 / 16) 54.5 % (6 / 11)
main CBC 231 73.5 % (194 / 264) 75.8 % (135 / 178)
progress_report CBC 249 10.7 % (3 / 28) 3.3 % (1 / 30)
disconnect_atexit CBC 349 100.0 % (4 / 4) 100.0 % (2 / 2)
cleanup_directories_atexit CBC 379 50.0 % (13 / 26) 55.0 % (22 / 40)
GetCopyDataString CBC 430 90.0 % (9 / 10) 75.0 % (3 / 4)
GetCopyDataEnd CBC 601 75.0 % (3 / 4) 50.0 % (1 / 2)
reached_end_position GNC 3023 89.5 % (17 / 19) 83.3 % (10 / 12)
progress_update_filename CBC 161422 42.9 % (3 / 7) 16.7 % (1 / 6)
GetCopyDataByte CBC 400249 75.0 % (3 / 4) 50.0 % (1 / 2)
ReceiveArchiveStreamChunk GNC 400249 80.0 % (48 / 60) 65.9 % (27 / 41)

Generated by: LCOV version 2.0-1