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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 62.8 % 529 332 197 2 8 322 8
Current Date: 2026-05-29 21:51:00 -0400 Functions: 82.6 % 23 19 4 7 12
Baseline: lcov-20260530-034037-baseline Branches: 54.5 % 308 168 140 6 162
Baseline Date: 2026-05-29 14:39:03 -0700 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 149 77.8 % (7 / 9) 50.0 % (1 / 2)
dir_close CBC 163 77.4 % (41 / 53) 66.7 % (20 / 30)
dir_open_for_write GNC 163 57.0 % (49 / 86) 61.9 % (26 / 42)
dir_get_file_name GNC 481 100.0 % (6 / 6) 100.0 % (6 / 6)
dir_write GNC 1617 82.4 % (28 / 34) 53.8 % (14 / 26)
tar_write_compressed_data CBC 6087 73.9 % (17 / 23) 75.0 % (15 / 20)
tar_write CBC 28656 73.7 % (14 / 19) 50.0 % (6 / 12)

Generated by: LCOV version 2.5.0-beta