LCOV - differential code coverage report
Current view: top level - src/bin/pg_dump - pg_backup_tar.c (source / functions) Coverage Total Hit UBC CBC
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 83.6 % 432 361 71 361
Current Date: 2025-09-06 07:49:51 +0900 Functions: 100.0 % 32 32 32
Baseline: lcov-20250906-005545-baseline Branches: 54.8 % 208 114 94 114
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 5 5 5
(360..) days: 83.4 % 427 356 71 356
Function coverage date bins:
(360..) days: 100.0 % 32 32 32
Branch coverage date bins:
(360..) days: 54.8 % 208 114 94 114

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
isValidTarHeader CBC 1 53.8 % (7 / 13) 30.0 % (3 / 10)
_EndLO CBC 2 100.0 % (4 / 4)
_EndLOs CBC 2 100.0 % (4 / 4)
_LoadLOs CBC 2 96.4 % (27 / 28) 66.7 % (8 / 12)
_StartLO CBC 2 81.8 % (9 / 11) 50.0 % (2 / 4)
_StartLOs CBC 2 100.0 % (5 / 5)
_CloseArchive CBC 4 97.3 % (36 / 37) 80.0 % (8 / 10)
tarPrintf CBC 4 100.0 % (16 / 16) 100.0 % (2 / 2)
InitArchiveFmt_Tar CBC 5 88.7 % (47 / 53) 60.0 % (12 / 20)
_EndData CBC 41 100.0 % (5 / 5)
_PrintFileData CBC 41 90.0 % (9 / 10) 75.0 % (3 / 4)
_StartData CBC 41 100.0 % (4 / 4)
_tarGetHeader CBC 47 73.1 % (19 / 26) 43.8 % (7 / 16)
_tarPositionTo CBC 47 50.0 % (15 / 30) 41.7 % (10 / 24)
_tarAddFile CBC 49 71.4 % (20 / 28) 54.5 % (12 / 22)
_tarWriteHeader CBC 49 80.0 % (4 / 5) 50.0 % (1 / 2)
_PrintTocData CBC 86 89.5 % (17 / 19) 71.4 % (10 / 14)
tarClose CBC 96 87.5 % (7 / 8) 75.0 % (3 / 4)
tarOpen CBC 96 76.0 % (19 / 25) 50.0 % (6 / 12)
_WriteData CBC 174 80.0 % (4 / 5) 50.0 % (1 / 2)
_ArchiveEntry CBC 405 100.0 % (9 / 9) 100.0 % (2 / 2)
_ReadExtraToc CBC 405 100.0 % (11 / 11) 75.0 % (3 / 4)
_WriteExtraToc CBC 405 100.0 % (6 / 6) 100.0 % (2 / 2)
_PrintExtraToc CBC 794 80.0 % (4 / 5) 25.0 % (1 / 4)
_scriptOut CBC 2309 100.0 % (3 / 3)
_ReadBuf CBC 4484 83.3 % (5 / 6) 50.0 % (1 / 2)
_WriteBuf CBC 4484 83.3 % (5 / 6) 50.0 % (1 / 2)
_ReadByte CBC 39984 85.7 % (6 / 7) 50.0 % (1 / 2)
_WriteByte CBC 39984 85.7 % (6 / 7) 50.0 % (1 / 2)
tarRead CBC 44556 100.0 % (8 / 8) 100.0 % (4 / 4)
tarWrite CBC 46955 100.0 % (4 / 4)
_tarReadRaw CBC 64983 66.7 % (16 / 24) 38.5 % (10 / 26)

Generated by: LCOV version 2.4-beta