LCOV - differential code coverage report
Current view: top level - src/bin/pg_basebackup - walmethods.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 62.8 % 529 332 197 2 8 322 8
Current Date: 2026-06-29 16:15:13 +0200 Functions: 82.6 % 23 19 4 7 12
Baseline: lcov-20260630-baseline Branches: 54.5 % 308 168 140 6 162
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 8 8 8
(360..) days: 62.2 % 521 324 197 2 322
Function coverage date bins:
(360..) days: 82.6 % 23 19 4 7 12
Branch coverage date bins:
(360..) days: 54.5 % 308 168 140 6 162

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
GetLastWalMethodError UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
dir_get_file_size UBC 0 0.0 % (0 / 7) 0.0 % (0 / 2)
dir_sync UBC 0 0.0 % (0 / 23) 0.0 % (0 / 18)
tar_get_file_size UBC 0 0.0 % (0 / 4)
tar_existsfile CBC 12 100.0 % (3 / 3)
CreateWalTarMethod GNC 14 100.0 % (15 / 15) 100.0 % (4 / 4)
tar_finish CBC 14 54.2 % (26 / 48) 36.8 % (14 / 38)
tar_free CBC 14 100.0 % (7 / 7) 100.0 % (2 / 2)
tar_write_padding_data CBC 14 90.0 % (9 / 10) 75.0 % (3 / 4)
tar_close CBC 16 59.4 % (38 / 64) 54.3 % (25 / 46)
tar_open_for_write GNC 16 55.3 % (42 / 76) 62.5 % (25 / 40)
tar_sync CBC 16 50.0 % (6 / 12) 25.0 % (2 / 8)
tar_get_file_name GNC 44 100.0 % (4 / 4) 100.0 % (2 / 2)
dir_finish CBC 140 75.0 % (6 / 8) 75.0 % (3 / 4)
dir_free CBC 140 100.0 % (5 / 5)
CreateWalDirectoryMethod GNC 142 100.0 % (9 / 9)
dir_existsfile CBC 148 77.8 % (7 / 9) 50.0 % (1 / 2)
dir_close CBC 160 77.4 % (41 / 53) 66.7 % (20 / 30)
dir_open_for_write GNC 160 57.0 % (49 / 86) 61.9 % (26 / 42)
dir_get_file_name GNC 476 100.0 % (6 / 6) 100.0 % (6 / 6)
dir_write GNC 1707 82.4 % (28 / 34) 53.8 % (14 / 26)
tar_write_compressed_data CBC 6117 73.9 % (17 / 23) 75.0 % (15 / 20)
tar_write CBC 28709 73.7 % (14 / 19) 50.0 % (6 / 12)

Generated by: LCOV version 2.0-1