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: c3df85756ceb0246958ef2b72c04aba51e52de13 vs 167cb26718e3eae4fef470900b4cd1d434f15649 Lines: 69.9 % 1031 721 310 6 715 6
Current Date: 2025-12-18 07:33:40 +0900 Functions: 78.1 % 32 25 7 3 22
Baseline: lcov-20251218-005734-baseline Branches: 61.9 % 780 483 2 295 2 481
Baseline Date: 2025-12-17 11:55:04 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 85.7 % 7 6 1 6
(360..) days: 69.8 % 1024 715 309 715
Function coverage date bins:
(360..) days: 78.1 % 32 25 7 3 22
Branch coverage date bins:
(30,360] days: 50.0 % 4 2 2 2
(360..) days: 62.0 % 776 481 295 481

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 188 69.3 % (151 / 218) 57.8 % (119 / 206)
main CBC 220 73.5 % (194 / 264) 75.8 % (135 / 178)
progress_report CBC 242 10.7 % (3 / 28) 3.3 % (1 / 30)
CreateBackupStreamer CBC 189 76.6 % (59 / 77) 74.4 % (67 / 90)
StartLogStreamer GNC 137 76.1 % (35 / 46) 57.1 % (24 / 42)
cleanup_directories_atexit CBC 350 50.0 % (13 / 26) 55.0 % (22 / 40)
parse_max_rate CBC 1 50.0 % (14 / 28) 35.7 % (10 / 28)
ReceiveArchiveStreamChunk GNC 348097 80.0 % (48 / 60) 65.9 % (27 / 41)
tablespace_list_append CBC 22 92.3 % (24 / 26) 71.1 % (27 / 38)
progress_update_filename CBC 135563 42.9 % (3 / 7) 16.7 % (1 / 6)
verify_dir_is_empty_or_create CBC 204 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 167 70.0 % (14 / 20) 62.5 % (5 / 8)
ReceiveBackupManifest UBC 0 0.0 % (0 / 8) 0.0 % (0 / 2)
ReceiveCopyData CBC 167 87.5 % (14 / 16) 75.0 % (6 / 8)
ReportCopyDataParseError UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
reached_end_position GNC 2247 89.5 % (17 / 19) 83.3 % (10 / 12)
GetCopyDataByte CBC 348097 75.0 % (3 / 4) 50.0 % (1 / 2)
GetCopyDataEnd CBC 572 75.0 % (3 / 4) 50.0 % (1 / 2)
GetCopyDataString CBC 412 90.0 % (9 / 10) 75.0 % (3 / 4)
GetCopyDataUInt64 CBC 203 83.3 % (5 / 6) 50.0 % (1 / 2)
LogStreamerMain CBC 132 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 136 100.0 % (4 / 4) 75.0 % (3 / 4)
backup_parse_compress_options CBC 39 100.0 % (10 / 10) 100.0 % (4 / 4)
disconnect_atexit CBC 320 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 134 100.0 % (3 / 3)
usage CBC 1 100.0 % (46 / 46)

Generated by: LCOV version 2.4-beta