LCOV - differential code coverage report
Current view: top level - src/bin/pg_basebackup - walmethods.c (source / functions) Coverage Total Hit UBC CBC
Current: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 62.9 % 531 334 197 334
Current Date: 2026-11-28 16:48:44 +0900 Functions: 82.6 % 23 19 4 19
Baseline: lcov-20261128-baseline Branches: 53.8 % 314 169 145 169
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 40.0 % 5 2 3 2
(7,30] days: 33.3 % 6 2 4 2
(30,360] days: 100.0 % 8 8 8
(360..) days: 62.9 % 512 322 190 322
Function coverage date bins:
(360..) days: 82.6 % 23 19 4 19
Branch coverage date bins:
(1,7] days: 30.0 % 10 3 7 3
(360..) days: 54.6 % 304 166 138 166

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
tar_finish CBC 15 54.2 % (26 / 48) 36.8 % (14 / 38)
tar_close CBC 19 59.4 % (38 / 64) 54.3 % (25 / 46)
dir_sync UBC 0 0.0 % (0 / 23) 0.0 % (0 / 18)
dir_open_for_write CBC 183 57.0 % (49 / 86) 61.9 % (26 / 42)
dir_close CBC 183 78.2 % (43 / 55) 58.3 % (21 / 36)
tar_open_for_write CBC 19 55.3 % (42 / 76) 62.5 % (25 / 40)
dir_write CBC 1825 82.4 % (28 / 34) 53.8 % (14 / 26)
tar_sync CBC 19 50.0 % (6 / 12) 25.0 % (2 / 8)
tar_write CBC 30631 73.7 % (14 / 19) 50.0 % (6 / 12)
tar_write_compressed_data CBC 8106 73.9 % (17 / 23) 75.0 % (15 / 20)
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_existsfile CBC 168 77.8 % (7 / 9) 50.0 % (1 / 2)
dir_finish CBC 159 75.0 % (6 / 8) 75.0 % (3 / 4)
tar_write_padding_data CBC 15 90.0 % (9 / 10) 75.0 % (3 / 4)
CreateWalTarMethod CBC 15 100.0 % (15 / 15) 100.0 % (4 / 4)
dir_get_file_name CBC 539 100.0 % (6 / 6) 100.0 % (6 / 6)
tar_free CBC 15 100.0 % (7 / 7) 100.0 % (2 / 2)
tar_get_file_name CBC 49 100.0 % (4 / 4) 100.0 % (2 / 2)
CreateWalDirectoryMethod CBC 161 100.0 % (9 / 9)
dir_free CBC 159 100.0 % (5 / 5)
tar_existsfile CBC 13 100.0 % (3 / 3)
tar_get_file_size UBC 0 0.0 % (0 / 4)

Generated by: LCOV version 2.0-1