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: 7a15cff1f11193467898da1c1fabf06fd2caee04 vs 84a3778c79c2d28b4dc281d03ef2ab019b16483b Lines: 69.9 % 1031 721 310 6 715 6
Current Date: 2025-12-15 18:36:29 -0500 Functions: 78.1 % 32 25 7 3 22
Baseline: lcov-20251216-010103-baseline Branches: 61.9 % 780 483 2 295 2 481
Baseline Date: 2025-12-15 13:30:48 -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
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 39 100.0 % (10 / 10) 100.0 % (4 / 4)
get_tablespace_mapping CBC 49 100.0 % (7 / 7) 75.0 % (3 / 4)
LogStreamerMain CBC 132 92.6 % (25 / 27) 83.3 % (5 / 6)
sigchld_handler CBC 134 100.0 % (3 / 3)
kill_bgchild_atexit CBC 136 100.0 % (4 / 4) 75.0 % (3 / 4)
StartLogStreamer GNC 137 76.1 % (35 / 46) 57.1 % (24 / 42)
ReceiveArchiveStream CBC 167 70.0 % (14 / 20) 62.5 % (5 / 8)
ReceiveCopyData CBC 167 87.5 % (14 / 16) 75.0 % (6 / 8)
BaseBackup CBC 188 69.3 % (151 / 218) 57.8 % (119 / 206)
CreateBackupStreamer CBC 189 76.6 % (59 / 77) 74.4 % (67 / 90)
GetCopyDataUInt64 CBC 203 83.3 % (5 / 6) 50.0 % (1 / 2)
verify_dir_is_empty_or_create CBC 204 81.2 % (13 / 16) 54.5 % (6 / 11)
main CBC 220 73.5 % (194 / 264) 75.8 % (135 / 178)
progress_report CBC 242 10.7 % (3 / 28) 3.3 % (1 / 30)
disconnect_atexit CBC 320 100.0 % (4 / 4) 100.0 % (2 / 2)
cleanup_directories_atexit CBC 350 50.0 % (13 / 26) 55.0 % (22 / 40)
GetCopyDataString CBC 412 90.0 % (9 / 10) 75.0 % (3 / 4)
GetCopyDataEnd CBC 572 75.0 % (3 / 4) 50.0 % (1 / 2)
reached_end_position GNC 2770 89.5 % (17 / 19) 83.3 % (10 / 12)
progress_update_filename CBC 135578 42.9 % (3 / 7) 16.7 % (1 / 6)
GetCopyDataByte CBC 348126 75.0 % (3 / 4) 50.0 % (1 / 2)
ReceiveArchiveStreamChunk GNC 348126 80.0 % (48 / 60) 65.9 % (27 / 41)

Generated by: LCOV version 2.4-beta