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: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 71.3 % 1023 729 1 293 5 724 1 7
Current Date: 2026-11-28 16:48:44 +0900 Functions: 78.1 % 32 25 7 4 21
Baseline: lcov-20261128-baseline Branches: 63.2 % 768 485 3 280 3 482
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 50.0 % 6 3 3 3
(7,30] days: 0.0 % 2 0 2
(30,360] days: 89.5 % 19 17 1 1 5 12
(360..) days: 71.2 % 996 709 287 709
Function coverage date bins:
(360..) days: 78.1 % 32 25 7 4 21
Branch coverage date bins:
(1,7] days: 50.0 % 12 6 6 6
(30,360] days: 70.0 % 30 21 3 6 3 18
(360..) days: 63.1 % 726 458 268 458

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 CBC 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 170 92.6 % (25 / 27) 83.3 % (5 / 6)
sigchld_handler CBC 171 100.0 % (3 / 3)
kill_bgchild_atexit CBC 174 100.0 % (4 / 4) 75.0 % (3 / 4)
StartLogStreamer GNC 175 75.6 % (34 / 45) 57.1 % (24 / 42)
ReceiveArchiveStream CBC 200 70.0 % (14 / 20) 62.5 % (5 / 8)
ReceiveCopyData CBC 200 87.5 % (14 / 16) 75.0 % (6 / 8)
BaseBackup CBC 222 71.7 % (157 / 219) 59.4 % (126 / 212)
CreateBackupStreamer CBC 226 65.7 % (46 / 70) 62.5 % (45 / 72)
GetCopyDataUInt64 CBC 237 83.3 % (5 / 6) 50.0 % (1 / 2)
verify_dir_is_empty_or_create CBC 240 81.2 % (13 / 16) 54.5 % (6 / 11)
main GNC 254 74.6 % (197 / 264) 77.5 % (138 / 178)
progress_report CBC 278 60.7 % (17 / 28) 43.3 % (13 / 30)
disconnect_atexit CBC 392 100.0 % (4 / 4) 100.0 % (2 / 2)
cleanup_directories_atexit CBC 422 50.0 % (13 / 26) 55.0 % (22 / 40)
GetCopyDataString CBC 478 90.0 % (9 / 10) 75.0 % (3 / 4)
GetCopyDataEnd CBC 672 75.0 % (3 / 4) 50.0 % (1 / 2)
reached_end_position GNC 3490 88.9 % (16 / 18) 83.3 % (10 / 12)
progress_update_filename GNC 171660 42.9 % (3 / 7) 50.0 % (3 / 6)
GetCopyDataByte CBC 433224 75.0 % (3 / 4) 50.0 % (1 / 2)
ReceiveArchiveStreamChunk CBC 433224 80.0 % (48 / 60) 65.9 % (27 / 41)

Generated by: LCOV version 2.0-1