LCOV - code coverage report
Current view:
top level
-
src/bin/pg_dump
- pg_backup_archiver.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 18devel
Lines:
1583
1960
80.8 %
Date:
2024-11-23 23:14:59
Functions:
92
97
94.8 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
ArchiveEntry
71020
CloneArchive
52
CloseArchive
382
CreateArchive
348
DeCloneArchive
52
EndLO
148
EndRestoreLO
32
EndRestoreLOs
32
InitDumpOptions
470
NewDumpOptions
80
NewRestoreOptions
440
OpenArchive
76
PrintTOCSummary
8
ProcessArchiveRestoreOptions
376
ReadHead
76
ReadInt
228792
ReadOffset
8266
ReadStr
179108
ReadToc
76
RestoreArchive
318
RestoreOutput
268
RestoringToDB
3981450
SaveOutput
326
SetArchiveOptions
738
SetOutput
268
SortTocFromFile
0
StartLO
148
StartRestoreLO
32
StartRestoreLOs
32
StrictNamesCheck
0
TocEntrySizeCompareBinaryheap
278
TocEntrySizeCompareQsort
1266
TocIDRequired
20688
WriteData
3645168
WriteDataChunks
62
WriteDataChunksForTocEntry
598
WriteHead
62
WriteInt
300374
WriteOffset
12796
WriteStr
234930
WriteToc
100
_allocAH
424
_becomeOwner
77146
_becomeUser
120
_disableTriggersIfNecessary
7210
_discoverArchiveFormat
56
_doSetFixedOutputState
458
_doSetSessionAuth
2
_enableTriggersIfNecessary
7208
_fileExistsInDirectory
22
_getObjectDescription
38518
_moveBefore
0
_printTableAccessMethodNoStorage
1030
_printTocEntry
69348
_reconnectToDB
112
_selectOutputSchema
77282
_selectTableAccessMethod
68318
_selectTablespace
69348
_tocEntryIsACL
69818
_tocEntryRequired
83110
_tocEntryRestorePass
178356
ahprintf
380058
ahwrite
3976762
archprintf
7024
archputs
43244
buildTocEntryArrays
358
checkSeek
96
dumpOptionsFromRestoreOptions
80
dumpTimestamp
84
dump_lo_buf
16
fix_dependencies
8
getTocEntryByDumpId
21016
has_lock_conflicts
288
identify_locking_dependencies
192
inhibit_data_for_failed_table
0
is_load_via_partition_root
32
mark_create_done
9330
mark_dump_job_done
236
mark_restore_job_done
92
move_to_ready_heap
24
parallel_restore
92
pending_list_append
92
pending_list_header_init
8
pending_list_remove
92
pop_next_work_item
142
processEncodingEntry
76
processSearchPathEntry
76
processStdStringsEntry
76
reduce_dependencies
192
repoint_table_dependencies
8
restore_toc_entries_parallel
8
restore_toc_entries_postfork
8
restore_toc_entries_prefork
8
restore_toc_entry
69378
sanitize_line
202604
setupRestoreWorker
20
warn_or_exit_horribly
0
Generated by:
LCOV version 1.14