LCOV - differential code coverage report
Current view: top level - src/backend/storage/file - fd.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 72.7 % 971 706 18 41 174 32 30 494 50 132 193 500 10 33
Current Date: 2023-04-08 17:13:01 Functions: 90.2 % 92 83 1 8 76 7 8 78 5
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 [..60] days: 69.8 % 63 44 18 1 1 43 2
View type: Flat (120,180] days: 100.0 % 3 3 3
Legend: Lines: hit not hit (180,240] days: 100.0 % 6 6 2 4
(240..) days: 72.6 % 899 653 40 174 32 30 491 132 192 488
Function coverage date bins:
[..60] days: 100.0 % 4 4 4
(120,180] days: 100.0 % 3 3 3
(240..) days: 44.7 % 170 76 1 8 76 8 77

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
AcquireExternalFD ECB 126279
AllocateDir GIC 40863 65.0 % (13 / 20)
AllocateFile GIC 63940 65.0 % (13 / 20)
AllocateVfd ECB 1746847
AtEOSubXact_Files GIC 8795 42.9 % (3 / 7)
AtEOXact_Files GIC 486167 100.0 % (5 / 5)
BasicOpenFile GIC 24767 100.0 % (2 / 2)
BasicOpenFilePerm ECB 2476900
BeforeShmemExit_Files GIC 13291 100.0 % (4 / 4)
CleanupTempFiles ECB 499458
ClosePipeStream GIC 311 71.4 % (5 / 7)
CloseTransientFile GIC 596643 71.4 % (5 / 7)
Delete ECB 2054304
FileAccess GIC 3545355 88.9 % (8 / 9)
FileClose GIC 978713 81.5 % (22 / 27)
FileFallocate ECB 385
FileGetRawDesc UIC 0 0.0 % (0 / 3)
FileGetRawFlags EUB 0
FileGetRawMode EUB 0
FilePathName UIC 0 0.0 % (0 / 3)
FilePrefetch GNC 212103 88.9 % (8 / 9)
FileRead ECB 1721666
FileSize GIC 4252400 83.3 % (5 / 6)
FileSync GIC 59883 88.9 % (8 / 9)
FileTruncate ECB 396
FileWrite GNC 993512 65.5 % (19 / 29)
FileWriteback GIC 134022 75.0 % (9 / 12)
FileZero ECB 343400
FreeDesc GIC 694748 89.5 % (17 / 19)
FreeDir ECB 40158
FreeFile GIC 57537 71.4 % (5 / 7)
FreeVfd ECB 1453862
GetNextTempTableSpace ECB 1896
GetTempTablespaces GIC 174 80.0 % (4 / 5)
InitTemporaryFileAccess GIC 13291 100.0 % (6 / 6)
Insert GIC 2283732 100.0 % (8 / 8)
LruDelete ECB 264855
LruInsert ECB 105661
MakePGDirectory ECB 1638
OpenTemporaryFile ECB 1783
OpenTemporaryFileInTablespace ECB 1783
OpenTransientFile GIC 599546 100.0 % (2 / 2)
OpenTransientFilePerm ECB 599552
PathNameCreateTemporaryDir ECB 171
PathNameCreateTemporaryFile ECB 1610
PathNameDeleteTemporaryDir ECB 198
PathNameDeleteTemporaryFile ECB 3228
PathNameOpenFile ECB 1746847
PathNameOpenFilePerm GIC 1746847 95.8 % (23 / 24)
PathNameOpenTemporaryFile ECB 4059
ReadDir GIC 1011151 100.0 % (2 / 2)
ReadDirExtended ECB 1898454
RegisterTemporaryFile GIC 5110 100.0 % (6 / 6)
ReleaseExternalFD GIC 159582 100.0 % (4 / 4)
ReleaseLruFile ECB 264791
ReleaseLruFiles GIC 2733022 80.0 % (4 / 5)
RemovePgTempFiles ECB 596
RemovePgTempFilesInDir ECB 648
RemovePgTempRelationFiles GIC 647 100.0 % (10 / 10)
RemovePgTempRelationFilesInDbspace ECB 2026
ReportTemporaryFileUsage ECB 3222
ReserveExternalFD ECB 175848
SetTempTablespaces ECB 3645
SyncDataDirectory ECB 131
TempTablespacePath GIC 9649 100.0 % (6 / 6)
TempTablespacesAreSet GIC 4525 100.0 % (2 / 2)
assign_io_direct ECB 1859
check_io_direct GNC 1859 70.4 % (19 / 27)
closeAllVfds ECB 26
count_usable_fds GIC 593 76.7 % (23 / 30)
data_sync_elevel GIC 19861 100.0 % (2 / 2)
datadir_fsync_fname UIC 0 0.0 % (0 / 4)
do_syncfs EUB 0
durable_rename GIC 4718 44.0 % (11 / 25)
durable_unlink ECB 121
fsync_fname ECB 19861
fsync_fname_ext ECB 34108
fsync_parent_path ECB 4809
looks_like_temp_rel_name ECB 831248
pg_fdatasync UNC 0 0.0 % (0 / 4)
pg_flush_data ECB 287494
pg_fsync ECB 117698
pg_fsync_no_writethrough GIC 117698 75.0 % (3 / 4)
pg_fsync_writethrough UIC 0 0.0 % (0 / 5)
pg_truncate ECB 174303
pre_sync_fname UIC 0 0.0 % (0 / 13)
reserveAllocatedDesc GIC 704666 50.0 % (10 / 20)
set_max_safe_fds GIC 593 87.5 % (7 / 8)
unlink_if_exists_fname ECB 1562
walkdir ECB 162

Generated by: LCOV version v1.16-55-g56c0a2a