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: 2025-01-22 04:09:46 Functions: 63.5 % 63 40
Branches: 24.2 % 939 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 6
_ZNK4node12BlockManager20ReadRawBlockFromDiskERSt6vectorIhSaIhEERK11FlatFilePos 297
_ZN6kernel11BlockTreeDB15WriteReindexingEb 1238
_ZN6kernel11BlockTreeDB9WriteFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb 1238
_ZN4node12BlockManager14LoadBlockIndexERKSt8optionalI7uint256E 2041
_ZN4node12BlockManager16LoadBlockIndexDBERKSt8optionalI7uint256E 2041
_ZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEv 2041
_ZN4node12BlockManagerC2ERKN4util15SignalInterruptEN6kernel16BlockManagerOptsE 2041
_ZN4nodeL19InitBlocksdirXorKeyERKN6kernel16BlockManagerOptsE 2041
_ZZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEvENKUlvE_clEv 2041
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndex 2124
_ZZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndexENKUlvE_clEv 2124
_ZN6kernel11BlockTreeDB17ReadLastBlockFileERi 2660
_ZN6kernel11BlockTreeDB18LoadBlockIndexGutsERKN9Consensus6ParamsESt8functionIFP11CBlockIndexRK7uint256EERKN4util15SignalInterruptE 2660
_ZN6kernel11BlockTreeDB14ReadReindexingERb 3279
_ZN6kernel11BlockTreeDB8ReadFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERb 3279
_ZN4node12BlockManager18GetAllBlockIndicesEv 4082
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11FlatFilePos 14644
_ZN6kernel11BlockTreeDB17ReadBlockFileInfoEiR14CBlockFileInfo 24312
_ZN4node12BlockManager11FindUndoPosER20BlockValidationStateiR11FlatFilePosj 101270
_ZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndex 101270
_ZNK4node12BlockManager12OpenUndoFileERK11FlatFilePosb 101270
_ZNK4node12BlockManager15UndoWriteToDiskERK10CBlockUndoR11FlatFilePosRK7uint256 101270
_ZZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndexENKUlvE_clEv 101270
_ZN4node12BlockManager15SaveBlockToDiskERK6CBlocki 115396
_ZN4node12BlockManager16FindNextBlockPosEjjm 115396
_ZNK4node12BlockManager16WriteBlockToDiskERK6CBlockR11FlatFilePos 115396
_ZNK4node12BlockManager13OpenBlockFileERK11FlatFilePosb 130337
_ZN4node12BlockManager13FlushUndoFileEib 144842
_ZN4node12BlockManager14FlushBlockFileEibb 144842
_ZN4node12BlockManager17WriteBlockIndexDBEv 144845
_ZN4node12BlockManager24FlushChainstateBlockFileEi 144845
_ZZN4node12BlockManager17WriteBlockIndexDBEvENKUlvE_clEv 144845
_ZN6kernel11BlockTreeDB14WriteBatchSyncERKSt6vectorISt4pairIiPK14CBlockFileInfoESaIS6_EEiRKS1_IPK11CBlockIndexSaISD_EE 145464
_ZN4node12BlockManager15AddToBlockIndexERK12CBlockHeaderRP11CBlockIndex 205469
_ZN4node12BlockManager22BlockfileTypeForHeightEi 363552
_ZN4node12BlockManager17GetLastCheckpointERK15CCheckpointData 379572
_ZN4node12BlockManager16LookupBlockIndexERK7uint256 1700942
_ZNK4node25CBlockIndexWorkComparatorclEPK11CBlockIndexS3_ 93035737

Generated by: LCOV version 2.0-1