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

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