LCOV - code coverage report
Current view: top level - src/node - blockstorage.cpp (source / functions) Hit Total Coverage
Test: fuzz_coverage.info Lines: 317 714 44.4 %
Date: 2023-10-05 15:40:34 Functions: 42 66 63.6 %
Branches: 222 1128 19.7 %

Function Name Sort by function name Hit count Sort by hit count
_ZN4node12BlockManager11FindUndoPosER20BlockValidationStateiR11FlatFilePosj 40547
_ZN4node12BlockManager12FindBlockPosER11FlatFilePosjjmb 45243
_ZN4node12BlockManager13FlushUndoFileEib 50036
_ZN4node12BlockManager13IsBlockPrunedEPK11CBlockIndex 45
_ZN4node12BlockManager14FlushBlockFileEibb 50036
_ZN4node12BlockManager14LoadBlockIndexERKSt8optionalI7uint256E 836
_ZN4node12BlockManager15AddToBlockIndexERK12CBlockHeaderRP11CBlockIndex 82952
_ZN4node12BlockManager15SaveBlockToDiskERK6CBlockiPK11FlatFilePos 45243
_ZN4node12BlockManager15UpdatePruneLockERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_13PruneLockInfoE 0
_ZN4node12BlockManager16FindFilesToPruneERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 0
_ZN4node12BlockManager16GetBlockFileInfoEm 0
_ZN4node12BlockManager16InsertBlockIndexERK7uint256 0
_ZN4node12BlockManager16LoadBlockIndexDBERKSt8optionalI7uint256E 836
_ZN4node12BlockManager16LookupBlockIndexERK7uint256 1764172
_ZN4node12BlockManager17GetLastCheckpointERK15CCheckpointData 154304
_ZN4node12BlockManager17PruneOneBlockFileEi 0
_ZN4node12BlockManager17WriteBlockIndexDBEv 50036
_ZN4node12BlockManager18GetAllBlockIndicesEv 1672
_ZN4node12BlockManager19GetFirstStoredBlockERK11CBlockIndexPS2_ 0
_ZN4node12BlockManager21CalculateCurrentUsageEv 1
_ZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndex 40547
_ZN4node12BlockManager22BlockfileTypeForHeightEi 136662
_ZN4node12BlockManager22FindFilesToPruneManualERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 0
_ZN4node12BlockManager24FlushChainstateBlockFileEi 50036
_ZN4node12BlockManager26CheckBlockDataAvailabilityERK11CBlockIndexS3_ 0
_ZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEv 836
_ZN4node12ImportBlocksER17ChainstateManagerSt6vectorIN2fs4pathESaIS4_EE 0
_ZN4node12ImportingNowC2ERSt6atomicIbE 0
_ZN4node12ImportingNowD2Ev 0
_ZN4nodelsERSoRKNS_13BlockfileTypeE 0
_ZN4nodelsERSoRKNS_15BlockfileCursorE 0
_ZN6kernel11BlockTreeDB14ReadReindexingERb 836
_ZN6kernel11BlockTreeDB14WriteBatchSyncERKSt6vectorISt4pairIiPK14CBlockFileInfoESaIS6_EEiRKS1_IPK11CBlockIndexSaISD_EE 50036
_ZN6kernel11BlockTreeDB15WriteReindexingEb 0
_ZN6kernel11BlockTreeDB17ReadBlockFileInfoEiR14CBlockFileInfo 1672
_ZN6kernel11BlockTreeDB17ReadLastBlockFileERi 836
_ZN6kernel11BlockTreeDB18LoadBlockIndexGutsERKN9Consensus6ParamsESt8functionIFP11CBlockIndexRK7uint256EERKN4util15SignalInterruptE 836
_ZN6kernel11BlockTreeDB8ReadFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERb 836
_ZN6kernel11BlockTreeDB9WriteFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb 0
_ZNK4node12BlockManager11UndoFileSeqEv 131130
_ZNK4node12BlockManager12BlockFileSeqEv 190238
_ZNK4node12BlockManager12OpenUndoFileERK11FlatFilePosb 40547
_ZNK4node12BlockManager13OpenBlockFileERK11FlatFilePosb 94959
_ZNK4node12BlockManager15UndoWriteToDiskERK10CBlockUndoR11FlatFilePosRK7uint256 40547
_ZNK4node12BlockManager16LookupBlockIndexERK7uint256 4
_ZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndex 0
_ZNK4node12BlockManager16WriteBlockToDiskERK6CBlockR11FlatFilePos 45243
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndex 36700
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11FlatFilePos 45210
_ZNK4node12BlockManager17UnlinkPrunedFilesERKSt3setIiSt4lessIiESaIiEE 0
_ZNK4node12BlockManager19GetBlockPosFilenameERK11FlatFilePos 0
_ZNK4node12BlockManager20CleanupBlockRevFilesEv 0
_ZNK4node12BlockManager20ReadRawBlockFromDiskERSt6vectorIhSaIhEERK11FlatFilePos 4506
_ZNK4node25CBlockIndexWorkComparatorclEPK11CBlockIndexS3_ 67651359
_ZNK4node31CBlockIndexHeightOnlyComparatorclEPK11CBlockIndexS3_ 0
_ZZN4node12BlockManager14LoadBlockIndexERKSt8optionalI7uint256EENK3$_0clERKS2_ 0
_ZZN4node12BlockManager17WriteBlockIndexDBEvENK3$_0clEv 50036
_ZZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndexENK3$_0clEv 40547
_ZZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEvENK3$_0clEv 836
_ZZN4node12ImportBlocksER17ChainstateManagerSt6vectorIN2fs4pathESaIS4_EEENK3$_0clEv 0
_ZZN4node12ImportBlocksER17ChainstateManagerSt6vectorIN2fs4pathESaIS4_EEENK3$_1clEv 0
_ZZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndexENK3$_0clEv 0
_ZZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndexENK3$_0clEv 36700
__cxx_global_var_init 173
__cxx_global_var_init.1 173
__cxx_global_var_init.2 173

Generated by: LCOV version 1.14