LCOV - code coverage report
Current view: top level - src/node - blockstorage.cpp (source / functions) Coverage Total Hit
Test: test_bitcoin_coverage.info Lines: 65.5 % 660 432
Test Date: 2025-01-22 04:36:36 Functions: 77.8 % 63 49
Branches: 37.5 % 939 352

Function Name Sort by function name Hit count Sort by function hit count
_ZN4node12BlockManager11FindUndoPosER20BlockValidationStateiR11FlatFilePosj 7195
_ZN4node12BlockManager13FlushUndoFileEib 67
_ZN4node12BlockManager14FlushBlockFileEibb 67
_ZN4node12BlockManager14LoadBlockIndexERKSt8optionalI7uint256E 176
_ZN4node12BlockManager15AddToBlockIndexERK12CBlockHeaderRP11CBlockIndex 7598
_ZN4node12BlockManager15SaveBlockToDiskERK6CBlocki 7393
_ZN4node12BlockManager15UpdateBlockInfoERK6CBlockjRK11FlatFilePos 2
_ZN4node12BlockManager15UpdatePruneLockERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_13PruneLockInfoE 20
_ZN4node12BlockManager16FindFilesToPruneERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 0
_ZN4node12BlockManager16FindNextBlockPosEjjm 7393
_ZN4node12BlockManager16GetBlockFileInfoEm 4
_ZN4node12BlockManager16InsertBlockIndexERK7uint256 1688
_ZN4node12BlockManager16LoadBlockIndexDBERKSt8optionalI7uint256E 176
_ZN4node12BlockManager16LookupBlockIndexERK7uint256 28713
_ZN4node12BlockManager17GetLastCheckpointERK15CCheckpointData 14873
_ZN4node12BlockManager17PruneOneBlockFileEi 4
_ZN4node12BlockManager17WriteBlockIndexDBEv 69
_ZN4node12BlockManager18GetAllBlockIndicesEv 352
_ZN4node12BlockManager21CalculateCurrentUsageEv 3
_ZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndex 7298
_ZN4node12BlockManager22BlockfileTypeForHeightEi 14942
_ZN4node12BlockManager22FindFilesToPruneManualERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 0
_ZN4node12BlockManager24FlushChainstateBlockFileEi 69
_ZN4node12BlockManager26CheckBlockDataAvailabilityERK11CBlockIndexS3_ 4
_ZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEv 179
_ZN4node12BlockManagerC2ERKN4util15SignalInterruptEN6kernel16BlockManagerOptsE 179
_ZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EE 0
_ZN4node12ImportingNowC2ERSt6atomicIbE 0
_ZN4node12ImportingNowD2Ev 0
_ZN4nodeL19InitBlocksdirXorKeyERKN6kernel16BlockManagerOptsE 179
_ZN4nodelsERSoRKNS_13BlockfileTypeE 5
_ZN4nodelsERSoRKNS_15BlockfileCursorE 5
_ZN6kernel11BlockTreeDB14ReadReindexingERb 176
_ZN6kernel11BlockTreeDB14WriteBatchSyncERKSt6vectorISt4pairIiPK14CBlockFileInfoESaIS6_EEiRKS1_IPK11CBlockIndexSaISD_EE 69
_ZN6kernel11BlockTreeDB15WriteReindexingEb 0
_ZN6kernel11BlockTreeDB17ReadBlockFileInfoEiR14CBlockFileInfo 356
_ZN6kernel11BlockTreeDB17ReadLastBlockFileERi 176
_ZN6kernel11BlockTreeDB18LoadBlockIndexGutsERKN9Consensus6ParamsESt8functionIFP11CBlockIndexRK7uint256EERKN4util15SignalInterruptE 176
_ZN6kernel11BlockTreeDB8ReadFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERb 176
_ZN6kernel11BlockTreeDB9WriteFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb 0
_ZNK4node12BlockManager12OpenUndoFileERK11FlatFilePosb 8052
_ZNK4node12BlockManager13GetFirstBlockERK11CBlockIndexjPS2_ 9
_ZNK4node12BlockManager13IsBlockPrunedERK11CBlockIndex 0
_ZNK4node12BlockManager13OpenBlockFileERK11FlatFilePosb 9646
_ZNK4node12BlockManager15UndoWriteToDiskERK10CBlockUndoR11FlatFilePosRK7uint256 7195
_ZNK4node12BlockManager16LookupBlockIndexERK7uint256 0
_ZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndex 857
_ZNK4node12BlockManager16WriteBlockToDiskERK6CBlockR11FlatFilePos 7393
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndex 2013
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11FlatFilePos 2130
_ZNK4node12BlockManager17UnlinkPrunedFilesERKSt3setIiSt4lessIiESaIiEE 5
_ZNK4node12BlockManager19GetBlockPosFilenameERK11FlatFilePos 0
_ZNK4node12BlockManager20CleanupBlockRevFilesEv 0
_ZNK4node12BlockManager20ReadRawBlockFromDiskERSt6vectorIhSaIhEERK11FlatFilePos 0
_ZNK4node25CBlockIndexWorkComparatorclEPK11CBlockIndexS3_ 14722056
_ZNK4node31CBlockIndexHeightOnlyComparatorclEPK11CBlockIndexS3_ 19308
_ZZN4node12BlockManager17WriteBlockIndexDBEvENKUlvE_clEv 69
_ZZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndexENKUlvE_clEv 7298
_ZZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEvENKUlvE_clEv 179
_ZZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EEENKUlvE0_clEv 0
_ZZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EEENKUlvE_clEv 0
_ZZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndexENKUlvE_clEv 857
_ZZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndexENKUlvE_clEv 2013

Generated by: LCOV version 2.0-1