LCOV - differential code coverage report
Current view: top level - src/bin/pg_dump - pg_backup_tar.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 84.5 % 419 354 2 63 3 351 2 3
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 31 31 3 28
Baseline: lcov-20260726-baseline Branches: 56.1 % 198 111 1 86 1 110
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 60.0 % 5 3 2 3
(30,360] days: 100.0 % 2 2 2
(360..) days: 84.7 % 412 349 63 349
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 30 30 2 28
Branch coverage date bins:
(7,30] days: 50.0 % 2 1 1 1
(360..) days: 56.1 % 196 110 86 110

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
_tarPositionTo GNC 48 50.0 % (15 / 30) 41.7 % (10 / 24)
_tarAddFile CBC 50 71.4 % (20 / 28) 54.5 % (12 / 22)
_tarReadRaw CBC 67151 66.7 % (16 / 24) 38.5 % (10 / 26)
_tarGetHeader GNC 48 73.1 % (19 / 26) 43.8 % (7 / 16)
InitArchiveFmt_Tar CBC 5 88.7 % (47 / 53) 60.0 % (12 / 20)
tarOpen CBC 98 76.0 % (19 / 25) 50.0 % (6 / 12)
_PrintTocData CBC 88 89.5 % (17 / 19) 71.4 % (10 / 14)
_StartLO CBC 2 81.8 % (9 / 11) 50.0 % (2 / 4)
_CloseArchive CBC 4 97.3 % (36 / 37) 80.0 % (8 / 10)
_LoadLOs CBC 2 96.4 % (27 / 28) 66.7 % (8 / 12)
_PrintExtraToc CBC 814 80.0 % (4 / 5) 25.0 % (1 / 4)
_PrintFileData CBC 42 90.0 % (9 / 10) 75.0 % (3 / 4)
_ReadBuf CBC 4581 83.3 % (5 / 6) 50.0 % (1 / 2)
_ReadByte CBC 40909 85.7 % (6 / 7) 50.0 % (1 / 2)
_WriteBuf CBC 4581 83.3 % (5 / 6) 50.0 % (1 / 2)
_WriteByte CBC 40909 85.7 % (6 / 7) 50.0 % (1 / 2)
_WriteData CBC 274 80.0 % (4 / 5) 50.0 % (1 / 2)
_tarWriteHeader CBC 50 80.0 % (4 / 5) 50.0 % (1 / 2)
tarClose CBC 98 87.5 % (7 / 8) 75.0 % (3 / 4)
_ArchiveEntry CBC 415 100.0 % (9 / 9) 100.0 % (2 / 2)
_EndData CBC 42 100.0 % (5 / 5)
_EndLO CBC 2 100.0 % (4 / 4)
_EndLOs CBC 2 100.0 % (4 / 4)
_ReadExtraToc CBC 415 100.0 % (11 / 11) 75.0 % (3 / 4)
_StartData CBC 42 100.0 % (4 / 4)
_StartLOs CBC 2 100.0 % (5 / 5)
_WriteExtraToc CBC 415 100.0 % (6 / 6) 100.0 % (2 / 2)
_scriptOut CBC 2369 100.0 % (3 / 3)
tarPrintf GNC 4 100.0 % (16 / 16) 100.0 % (2 / 2)
tarRead CBC 45577 100.0 % (8 / 8) 100.0 % (4 / 4)
tarWrite CBC 48137 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1