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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 69.7 % 1024 714 310 16 698 23
Current Date: 2026-05-05 10:23:31 +0900 Functions: 78.1 % 32 25 7 5 20
Baseline: lcov-20260505-025707-baseline Branches: 61.0 % 762 465 5 292 17 448 5 35
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 16 16 16
(360..) days: 69.2 % 1008 698 310 698
Function coverage date bins:
(360..) days: 78.1 % 32 25 7 5 20
Branch coverage date bins:
(30,360] days: 77.3 % 22 17 5 17
(360..) days: 60.5 % 740 448 292 448

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 39 100.0 % (10 / 10) 100.0 % (4 / 4)
get_tablespace_mapping CBC 49 100.0 % (7 / 7) 75.0 % (3 / 4)
LogStreamerMain CBC 148 92.6 % (25 / 27) 83.3 % (5 / 6)
sigchld_handler CBC 150 100.0 % (3 / 3)
kill_bgchild_atexit CBC 152 100.0 % (4 / 4) 75.0 % (3 / 4)
StartLogStreamer GNC 153 76.1 % (35 / 46) 57.1 % (24 / 42)
ReceiveArchiveStream CBC 183 70.0 % (14 / 20) 62.5 % (5 / 8)
ReceiveCopyData CBC 183 87.5 % (14 / 16) 75.0 % (6 / 8)
BaseBackup CBC 204 69.3 % (151 / 218) 57.8 % (119 / 206)
CreateBackupStreamer GNC 205 74.3 % (52 / 70) 68.1 % (49 / 72)
GetCopyDataUInt64 CBC 219 83.3 % (5 / 6) 50.0 % (1 / 2)
verify_dir_is_empty_or_create CBC 220 81.2 % (13 / 16) 54.5 % (6 / 11)
main CBC 236 73.5 % (194 / 264) 75.8 % (135 / 178)
progress_report CBC 258 10.7 % (3 / 28) 3.3 % (1 / 30)
disconnect_atexit CBC 352 100.0 % (4 / 4) 100.0 % (2 / 2)
cleanup_directories_atexit CBC 382 50.0 % (13 / 26) 55.0 % (22 / 40)
GetCopyDataString CBC 444 90.0 % (9 / 10) 75.0 % (3 / 4)
GetCopyDataEnd CBC 620 75.0 % (3 / 4) 50.0 % (1 / 2)
reached_end_position GNC 3082 89.5 % (17 / 19) 83.3 % (10 / 12)
progress_update_filename CBC 161433 42.9 % (3 / 7) 16.7 % (1 / 6)
GetCopyDataByte CBC 406764 75.0 % (3 / 4) 50.0 % (1 / 2)
ReceiveArchiveStreamChunk GNC 406764 80.0 % (48 / 60) 65.9 % (27 / 41)

Generated by: LCOV version 2.5.0-beta