LCOV - differential code coverage report
Current view: top level - src/backend/backup - basebackup.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 83.1 % 699 581 6 2 110 13 568 2
Current Date: 2026-11-05 14:14:01 +0100 Functions: 93.8 % 16 15 1 5 10
Baseline: lcov-20261105-baseline Branches: 59.3 % 646 383 9 2 252 17 366
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 2 2 2
(7,30] days: 88.2 % 17 15 2 15
(30,360] days: 79.3 % 29 23 6 13 10
(360..) days: 83.1 % 651 541 2 108 541
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 93.3 % 15 14 1 4 10
Branch coverage date bins:
(7,30] days: 58.3 % 12 7 5 7
(30,360] days: 65.6 % 32 21 9 2 17 4
(360..) days: 59.0 % 602 355 2 245 355

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
SendBaseBackup CBC 215 93.5 % (29 / 31) 76.9 % (20 / 26)
_tarWriteHeader CBC 201472 73.3 % (11 / 15) 42.9 % (6 / 14)
_tarWritePadding CBC 191095 100.0 % (8 / 8) 68.8 % (11 / 16)
backup_checksums_verifiable GNC 1427217 100.0 % (3 / 3) 75.0 % (3 / 4)
basebackup_read_file CBC 226350 77.8 % (7 / 9) 41.7 % (5 / 12)
compareWalFileNames UBC 0 0.0 % (0 / 4)
convert_link_to_directory CBC 3111 100.0 % (4 / 4) 100.0 % (2 / 2)
parse_basebackup_options CBC 214 77.9 % (116 / 149) 48.3 % (84 / 174)
perform_base_backup GNC 197 84.5 % (136 / 161) 58.2 % (71 / 122)
push_to_sink CBC 37329 42.9 % (6 / 14) 37.5 % (3 / 8)
read_file_data_into_buffer GNC 218656 81.5 % (22 / 27) 70.8 % (17 / 24)
sendDir CBC 6769 94.9 % (129 / 136) 82.8 % (106 / 128)
sendFile GNC 190664 78.7 % (70 / 89) 46.5 % (40 / 86)
sendFileWithContent CBC 432 92.0 % (23 / 25) 50.0 % (6 / 12)
sendTablespace CBC 76 66.7 % (6 / 9) 16.7 % (1 / 6)
verify_page_checksum GNC 517094 73.3 % (11 / 15) 66.7 % (8 / 12)

Generated by: LCOV version 2.0-1