LCOV - code coverage report
Current view: top level - src/node - blockstorage.cpp (source / functions) Hit Total Coverage
Test: fuzz_coverage.info Lines: 242 719 33.7 %
Date: 2023-11-06 23:13:05 Functions: 29 65 44.6 %
Branches: 152 1110 13.7 %

Function Name Sort by function name Hit count Sort by hit count
_ZN4node12BlockManager11FindUndoPosER20BlockValidationStateiR11FlatFilePosj 200
_ZN4node12BlockManager12FindBlockPosER11FlatFilePosjjmb 201
_ZN4node12BlockManager13FlushUndoFileEib 0
_ZN4node12BlockManager13IsBlockPrunedEPK11CBlockIndex 0
_ZN4node12BlockManager14FlushBlockFileEibb 0
_ZN4node12BlockManager14LoadBlockIndexERKSt8optionalI7uint256E 1
_ZN4node12BlockManager15AddToBlockIndexERK12CBlockHeaderRP11CBlockIndex 201
_ZN4node12BlockManager15SaveBlockToDiskERK6CBlockiPK11FlatFilePos 201
_ZN4node12BlockManager15UpdatePruneLockERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_13PruneLockInfoE 0
_ZN4node12BlockManager16FindFilesToPruneERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 0
_ZN4node12BlockManager16GetBlockFileInfoEm 0
_ZN4node12BlockManager16InsertBlockIndexERK7uint256 0
_ZN4node12BlockManager16LoadBlockIndexDBERKSt8optionalI7uint256E 1
_ZN4node12BlockManager16LookupBlockIndexERK7uint256 400
_ZN4node12BlockManager17GetLastCheckpointERK15CCheckpointData 400
_ZN4node12BlockManager17PruneOneBlockFileEi 0
_ZN4node12BlockManager17WriteBlockIndexDBEv 0
_ZN4node12BlockManager18GetAllBlockIndicesEv 2
_ZN4node12BlockManager19GetFirstStoredBlockERK11CBlockIndexPS2_ 0
_ZN4node12BlockManager21CalculateCurrentUsageEv 0
_ZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndex 200
_ZN4node12BlockManager22BlockfileTypeForHeightEi 402
_ZN4node12BlockManager22FindFilesToPruneManualERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 0
_ZN4node12BlockManager24FlushChainstateBlockFileEi 0
_ZN4node12BlockManager26CheckBlockDataAvailabilityERK11CBlockIndexS3_ 0
_ZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEv 1
_ZN4node12ImportBlocksER17ChainstateManagerSt6vectorIN2fs4pathESaIS4_EE 0
_ZN4node12ImportingNowC2ERSt6atomicIbE 0
_ZN4node12ImportingNowD2Ev 0
_ZN4nodelsERSoRKNS_13BlockfileTypeE 0
_ZN4nodelsERSoRKNS_15BlockfileCursorE 0
_ZN6kernel11BlockTreeDB14ReadReindexingERb 1
_ZN6kernel11BlockTreeDB14WriteBatchSyncERKSt6vectorISt4pairIiPK14CBlockFileInfoESaIS6_EEiRKS1_IPK11CBlockIndexSaISD_EE 0
_ZN6kernel11BlockTreeDB15WriteReindexingEb 0
_ZN6kernel11BlockTreeDB17ReadBlockFileInfoEiR14CBlockFileInfo 2
_ZN6kernel11BlockTreeDB17ReadLastBlockFileERi 1
_ZN6kernel11BlockTreeDB18LoadBlockIndexGutsERKN9Consensus6ParamsESt8functionIFP11CBlockIndexRK7uint256EERKN4util15SignalInterruptE 1
_ZN6kernel11BlockTreeDB8ReadFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERb 1
_ZN6kernel11BlockTreeDB9WriteFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb 0
_ZNK4node12BlockManager11UndoFileSeqEv 400
_ZNK4node12BlockManager12BlockFileSeqEv 403
_ZNK4node12BlockManager12OpenUndoFileERK11FlatFilePosb 200
_ZNK4node12BlockManager13OpenBlockFileERK11FlatFilePosb 202
_ZNK4node12BlockManager15UndoWriteToDiskERK10CBlockUndoR11FlatFilePosRK7uint256 200
_ZNK4node12BlockManager16LookupBlockIndexERK7uint256 0
_ZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndex 0
_ZNK4node12BlockManager16WriteBlockToDiskERK6CBlockR11FlatFilePos 201
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndex 1
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11FlatFilePos 1
_ZNK4node12BlockManager17UnlinkPrunedFilesERKSt3setIiSt4lessIiESaIiEE 0
_ZNK4node12BlockManager19GetBlockPosFilenameERK11FlatFilePos 0
_ZNK4node12BlockManager20CleanupBlockRevFilesEv 0
_ZNK4node12BlockManager20ReadRawBlockFromDiskERSt6vectorIhSaIhEERK11FlatFilePos 0
_ZNK4node25CBlockIndexWorkComparatorclEPK11CBlockIndexS3_ 184104
_ZNK4node31CBlockIndexHeightOnlyComparatorclEPK11CBlockIndexS3_ 0
_ZZN4node12BlockManager14LoadBlockIndexERKSt8optionalI7uint256EENK3$_0clERKS2_ 0
_ZZN4node12BlockManager17WriteBlockIndexDBEvENK3$_0clEv 0
_ZZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndexENK3$_0clEv 200
_ZZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEvENK3$_0clEv 1
_ZZN4node12ImportBlocksER17ChainstateManagerSt6vectorIN2fs4pathESaIS4_EEENK3$_0clEv 0
_ZZN4node12ImportBlocksER17ChainstateManagerSt6vectorIN2fs4pathESaIS4_EEENK3$_1clEv 0
_ZZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndexENK3$_0clEv 0
_ZZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndexENK3$_0clEv 1
__cxx_global_var_init 0
__cxx_global_var_init.1 0

Generated by: LCOV version 1.14