LCOV - differential code coverage report
Current view: top level - src/bin/pg_basebackup - walmethods.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 62.4 % 529 330 199 8 322 8
Current Date: 2026-03-14 14:10:32 -0400 Functions: 82.6 % 23 19 4 7 12
Baseline: lcov-20260315-024220-baseline Branches: 52.6 % 308 162 146 162
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 7 7 7
(30,360] days: 100.0 % 1 1 1
(360..) days: 61.8 % 521 322 199 322
Function coverage date bins:
(360..) days: 82.6 % 23 19 4 7 12
Branch coverage date bins:
(360..) days: 52.6 % 308 162 146 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
tar_close CBC 13 56.2 % (36 / 64) 47.8 % (22 / 46)
tar_finish CBC 13 54.2 % (26 / 48) 36.8 % (14 / 38)
dir_sync UBC 0 0.0 % (0 / 23) 0.0 % (0 / 18)
tar_open_for_write GNC 13 55.3 % (42 / 76) 57.5 % (23 / 40)
dir_open_for_write GNC 153 57.0 % (49 / 86) 61.9 % (26 / 42)
dir_write GNC 1398 82.4 % (28 / 34) 53.8 % (14 / 26)
dir_close CBC 153 77.4 % (41 / 53) 66.7 % (20 / 30)
tar_sync CBC 13 50.0 % (6 / 12) 25.0 % (2 / 8)
tar_write CBC 26600 73.7 % (14 / 19) 50.0 % (6 / 12)
tar_write_compressed_data CBC 6072 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 140 77.8 % (7 / 9) 50.0 % (1 / 2)
dir_finish CBC 132 75.0 % (6 / 8) 75.0 % (3 / 4)
tar_get_file_name GNC 39 100.0 % (4 / 4) 50.0 % (1 / 2)
tar_write_padding_data CBC 13 90.0 % (9 / 10) 75.0 % (3 / 4)
CreateWalTarMethod GNC 13 100.0 % (15 / 15) 100.0 % (4 / 4)
dir_get_file_name GNC 453 100.0 % (6 / 6) 100.0 % (6 / 6)
tar_free CBC 13 100.0 % (7 / 7) 100.0 % (2 / 2)
CreateWalDirectoryMethod GNC 134 100.0 % (9 / 9)
dir_free CBC 132 100.0 % (5 / 5)
tar_existsfile CBC 10 100.0 % (3 / 3)
tar_get_file_size UBC 0 0.0 % (0 / 4)

Generated by: LCOV version 2.4-beta