LCOV - differential code coverage report
Current view: top level - src/backend/backup - basebackup.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: c3df85756ceb0246958ef2b72c04aba51e52de13 vs 167cb26718e3eae4fef470900b4cd1d434f15649 Lines: 83.7 % 674 564 110 7 557 7
Current Date: 2025-12-18 07:33:40 +0900 Functions: 93.3 % 15 14 1 3 11
Baseline: lcov-20251218-005734-baseline Branches: 59.4 % 626 372 254 372
Baseline Date: 2025-12-17 11:55:04 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 3 3 3
(30,360] days: 100.0 % 6 6 4 2
(360..) days: 83.5 % 665 555 110 555
Function coverage date bins:
(360..) days: 93.3 % 15 14 1 3 11
Branch coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 59.3 % 624 370 254 370

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
parse_basebackup_options CBC 181 77.9 % (116 / 149) 48.3 % (84 / 174)
perform_base_backup GNC 164 83.9 % (130 / 155) 58.9 % (73 / 124)
sendFile CBC 158029 78.3 % (65 / 83) 44.9 % (35 / 78)
push_to_sink CBC 26669 42.9 % (6 / 14) 37.5 % (3 / 8)
sendDir GNC 5642 94.9 % (129 / 136) 82.8 % (106 / 128)
_tarWriteHeader CBC 166927 73.3 % (11 / 15) 42.9 % (6 / 14)
compareWalFileNames UBC 0 0.0 % (0 / 4)
read_file_data_into_buffer CBC 184996 87.0 % (20 / 23) 75.0 % (15 / 20)
sendTablespace CBC 78 66.7 % (6 / 9) 16.7 % (1 / 6)
basebackup_read_file CBC 195250 77.8 % (7 / 9) 41.7 % (5 / 12)
sendFileWithContent CBC 215 92.0 % (23 / 25) 41.7 % (5 / 12)
SendBaseBackup GNC 182 96.8 % (30 / 31) 80.8 % (21 / 26)
_tarWritePadding CBC 158242 100.0 % (8 / 8) 68.8 % (11 / 16)
convert_link_to_directory CBC 2598 100.0 % (4 / 4) 100.0 % (2 / 2)
verify_page_checksum CBC 452878 100.0 % (9 / 9) 83.3 % (5 / 6)

Generated by: LCOV version 2.4-beta