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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 62.8 % 529 332 197 2 8 322 8
Current Date: 2026-05-05 10:23:31 +0900 Functions: 82.6 % 23 19 4 7 12
Baseline: lcov-20260505-025707-baseline Branches: 54.5 % 308 168 140 6 162
Baseline Date: 2026-05-05 10:27:06 +0900 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
CreateWalDirectoryMethod GNC 140 100.0 % (9 / 9)
CreateWalTarMethod GNC 14 100.0 % (15 / 15) 100.0 % (4 / 4)
GetLastWalMethodError UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
dir_close CBC 160 77.4 % (41 / 53) 66.7 % (20 / 30)
dir_existsfile CBC 147 77.8 % (7 / 9) 50.0 % (1 / 2)
dir_finish CBC 138 75.0 % (6 / 8) 75.0 % (3 / 4)
dir_free CBC 138 100.0 % (5 / 5)
dir_get_file_name GNC 474 100.0 % (6 / 6) 100.0 % (6 / 6)
dir_get_file_size UBC 0 0.0 % (0 / 7) 0.0 % (0 / 2)
dir_open_for_write GNC 160 57.0 % (49 / 86) 61.9 % (26 / 42)
dir_sync UBC 0 0.0 % (0 / 23) 0.0 % (0 / 18)
dir_write GNC 1727 82.4 % (28 / 34) 53.8 % (14 / 26)
tar_close CBC 16 59.4 % (38 / 64) 54.3 % (25 / 46)
tar_existsfile CBC 12 100.0 % (3 / 3)
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_get_file_name GNC 44 100.0 % (4 / 4) 100.0 % (2 / 2)
tar_get_file_size UBC 0 0.0 % (0 / 4)
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_write CBC 28558 73.7 % (14 / 19) 50.0 % (6 / 12)
tar_write_compressed_data CBC 5967 73.9 % (17 / 23) 75.0 % (15 / 20)
tar_write_padding_data CBC 14 90.0 % (9 / 10) 75.0 % (3 / 4)

Generated by: LCOV version 2.5.0-beta