LCOV - differential code coverage report
Current view: top level - src/bin/pg_basebackup - walmethods.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 62.8 % 529 332 197 332
Current Date: 2026-07-25 17:13:00 -0400 Functions: 82.6 % 23 19 4 19
Baseline: lcov-20260726-baseline Branches: 54.5 % 308 168 140 168
Baseline Date: 2026-07-25 19:16:42 +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 324
Function coverage date bins:
(360..) days: 82.6 % 23 19 4 19
Branch coverage date bins:
(360..) days: 54.5 % 308 168 140 168

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 CBC 145 100.0 % (9 / 9)
CreateWalTarMethod CBC 14 100.0 % (15 / 15) 100.0 % (4 / 4)
GetLastWalMethodError UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
dir_close CBC 165 77.4 % (41 / 53) 66.7 % (20 / 30)
dir_existsfile CBC 152 77.8 % (7 / 9) 50.0 % (1 / 2)
dir_finish CBC 143 75.0 % (6 / 8) 75.0 % (3 / 4)
dir_free CBC 143 100.0 % (5 / 5)
dir_get_file_name CBC 489 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 CBC 165 57.0 % (49 / 86) 61.9 % (26 / 42)
dir_sync UBC 0 0.0 % (0 / 23) 0.0 % (0 / 18)
dir_write CBC 1691 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 CBC 44 100.0 % (4 / 4) 100.0 % (2 / 2)
tar_get_file_size UBC 0 0.0 % (0 / 4)
tar_open_for_write CBC 16 55.3 % (42 / 76) 62.5 % (25 / 40)
tar_sync CBC 16 50.0 % (6 / 12) 25.0 % (2 / 8)
tar_write CBC 28660 73.7 % (14 / 19) 50.0 % (6 / 12)
tar_write_compressed_data CBC 6117 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.0-1