LCOV - code coverage report
Current view: top level - src/node - blockstorage.cpp (source / functions) Coverage Total Hit
Test: fuzz_coverage.info Lines: 48.8 % 660 322
Test Date: 2024-12-04 04:00:22 Functions: 63.5 % 63 40
Branches: 24.1 % 943 227

Function Name Sort by function name Hit count Sort by function hit count
_ZN4node12BlockManager15UpdateBlockInfoERK6CBlockjRK11FlatFilePos 0
_ZN4node12BlockManager15UpdatePruneLockERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_13PruneLockInfoE 0
_ZN4node12BlockManager16FindFilesToPruneERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 0
_ZN4node12BlockManager16GetBlockFileInfoEm 0
_ZN4node12BlockManager16InsertBlockIndexERK7uint256 0
_ZN4node12BlockManager17PruneOneBlockFileEi 0
_ZN4node12BlockManager22FindFilesToPruneManualERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 0
_ZN4node12BlockManager26CheckBlockDataAvailabilityERK11CBlockIndexS3_ 0
_ZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EE 0
_ZN4node12ImportingNowC2ERSt6atomicIbE 0
_ZN4node12ImportingNowD2Ev 0
_ZN4nodelsERSoRKNS_13BlockfileTypeE 0
_ZN4nodelsERSoRKNS_15BlockfileCursorE 0
_ZNK4node12BlockManager13GetFirstBlockERK11CBlockIndexjPS2_ 0
_ZNK4node12BlockManager13IsBlockPrunedERK11CBlockIndex 0
_ZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndex 0
_ZNK4node12BlockManager17UnlinkPrunedFilesERKSt3setIiSt4lessIiESaIiEE 0
_ZNK4node12BlockManager19GetBlockPosFilenameERK11FlatFilePos 0
_ZNK4node12BlockManager20CleanupBlockRevFilesEv 0
_ZNK4node31CBlockIndexHeightOnlyComparatorclEPK11CBlockIndexS3_ 0
_ZZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EEENKUlvE0_clEv 0
_ZZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EEENKUlvE_clEv 0
_ZZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndexENKUlvE_clEv 0
_ZN4node12BlockManager21CalculateCurrentUsageEv 1
_ZNK4node12BlockManager16LookupBlockIndexERK7uint256 5
_ZNK4node12BlockManager20ReadRawBlockFromDiskERSt6vectorIhSaIhEERK11FlatFilePos 251
_ZN6kernel11BlockTreeDB15WriteReindexingEb 960
_ZN6kernel11BlockTreeDB9WriteFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb 960
_ZN4node12BlockManager14LoadBlockIndexERKSt8optionalI7uint256E 1698
_ZN4node12BlockManager16LoadBlockIndexDBERKSt8optionalI7uint256E 1698
_ZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEv 1698
_ZN4node12BlockManagerC2ERKN4util15SignalInterruptEN6kernel16BlockManagerOptsE 1698
_ZN4nodeL19InitBlocksdirXorKeyERKN6kernel16BlockManagerOptsE 1698
_ZZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEvENKUlvE_clEv 1698
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndex 1769
_ZZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndexENKUlvE_clEv 1769
_ZN6kernel11BlockTreeDB17ReadLastBlockFileERi 2178
_ZN6kernel11BlockTreeDB18LoadBlockIndexGutsERKN9Consensus6ParamsESt8functionIFP11CBlockIndexRK7uint256EERKN4util15SignalInterruptE 2178
_ZN6kernel11BlockTreeDB14ReadReindexingERb 2658
_ZN6kernel11BlockTreeDB8ReadFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERb 2658
_ZN4node12BlockManager18GetAllBlockIndicesEv 3396
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11FlatFilePos 6831
_ZN6kernel11BlockTreeDB17ReadBlockFileInfoEiR14CBlockFileInfo 18419
_ZN4node12BlockManager11FindUndoPosER20BlockValidationStateiR11FlatFilePosj 82263
_ZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndex 82263
_ZNK4node12BlockManager12OpenUndoFileERK11FlatFilePosb 82263
_ZNK4node12BlockManager15UndoWriteToDiskERK10CBlockUndoR11FlatFilePosRK7uint256 82263
_ZZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndexENKUlvE_clEv 82263
_ZN4node12BlockManager15SaveBlockToDiskERK6CBlocki 92512
_ZN4node12BlockManager16FindNextBlockPosEjjm 92512
_ZNK4node12BlockManager16WriteBlockToDiskERK6CBlockR11FlatFilePos 92512
_ZNK4node12BlockManager13OpenBlockFileERK11FlatFilePosb 99594
_ZN4node12BlockManager13FlushUndoFileEib 109729
_ZN4node12BlockManager14FlushBlockFileEibb 109729
_ZN4node12BlockManager17WriteBlockIndexDBEv 109782
_ZN4node12BlockManager24FlushChainstateBlockFileEi 109782
_ZZN4node12BlockManager17WriteBlockIndexDBEvENKUlvE_clEv 109782
_ZN6kernel11BlockTreeDB14WriteBatchSyncERKSt6vectorISt4pairIiPK14CBlockFileInfoESaIS6_EEiRKS1_IPK11CBlockIndexSaISD_EE 110262
_ZN4node12BlockManager15AddToBlockIndexERK12CBlockHeaderRP11CBlockIndex 198147
_ZN4node12BlockManager22BlockfileTypeForHeightEi 286255
_ZN4node12BlockManager17GetLastCheckpointERK15CCheckpointData 334451
_ZN4node12BlockManager16LookupBlockIndexERK7uint256 1498372
_ZNK4node25CBlockIndexWorkComparatorclEPK11CBlockIndexS3_ 105774504

Generated by: LCOV version 2.0-1