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

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