LCOV - code coverage report
Current view: top level - src/bin/pg_dump - pg_backup_archiver.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 82.2 % 2045 1681
Test Date: 2026-11-30 16:16:11 Functions: 94.8 % 96 91
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 68.8 % 1517 1043

Function Name Sort by function name Hit count Sort by function hit count
ArchiveEntry 44192
CloneArchive 30
CloseArchive 293
CreateArchive 235
DeCloneArchive 30
EndLO 85
EndRestoreLO 16
EndRestoreLOs 16
InitDumpOptions 345
NewDumpOptions 85
NewRestoreOptions 339
OpenArchive 81
PrintTOCSummary 4
ProcessArchiveRestoreOptions 292
ReadHead 81
ReadInt 170149
ReadOffset 6930
ReadStr 132965
ReadToc 81
RestoreArchive 223
RestoreOutput 163
RestoringToDB 2051087
SaveOutput 227
SetArchiveOptions 538
SetOutput 165
SortTocFromFile 0
StartLO 85
StartRestoreLO 16
StartRestoreLOs 16
StrictNamesCheck 0
TocEntrySizeCompareBinaryheap 187
TocEntrySizeCompareQsort 466
TocIDRequired 11725
WriteData 1847617
WriteDataChunks 73
WriteDataChunksForTocEntry 477
WriteHead 73
WriteInt 191533
WriteOffset 8614
WriteStr 149382
WriteToc 86
_allocAH 316
_becomeOwner 47452
_becomeUser 84
_disableTriggersIfNecessary 4525
_discoverArchiveFormat 66
_doSetFixedOutputState 357
_doSetSessionAuth 1
_enableTriggersIfNecessary 4522
_fileExistsInDirectory 16
_getObjectDescription 21337
_moveBefore 0
_printTableAccessMethodNoStorage 617
_printTocEntry 42308
_reconnectToDB 114
_selectOutputSchema 47526
_selectTableAccessMethod 41691
_selectTablespace 42308
_tocEntryIsACL 42662
_tocEntryRequired 53170
_tocEntryRestorePass 110202
ahprintf 227280
ahwrite 2048699
archprintf 4453
archputs 24626
buildTocEntryArrays 270
checkSeek 127
dumpOptionsFromRestoreOptions 85
dumpTimestamp 114
dump_lo_buf 10
fix_dependencies 6
getTocEntryByDumpId 12353
has_lock_conflicts 180
identify_locking_dependencies 142
inhibit_data_for_failed_table 0
is_load_via_partition_root 24
mark_create_done 5727
mark_dump_job_done 72
mark_restore_job_done 64
move_to_ready_heap 18
parallel_restore 64
pending_list_append 64
pending_list_header_init 6
pending_list_remove 64
pop_next_work_item 96
processEncodingEntry 81
processSearchPathEntry 81
processStdStringsEntry 81
reduce_dependencies 142
repoint_table_dependencies 6
restore_toc_entries_parallel 6
restore_toc_entries_postfork 6
restore_toc_entries_prefork 6
restore_toc_entry 42331
setupRestoreWorker 14
warn_or_exit_horribly 0

Generated by: LCOV version 2.0-1