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: 2024-11-04 04:45:35 Functions: 77.8 % 63 49
Branches: 37.3 % 943 352

Function Name Sort by function name Hit count Sort by function hit count
_ZN4node12BlockManager11FindUndoPosER20BlockValidationStateiR11FlatFilePosj 7119
_ZN4node12BlockManager13FlushUndoFileEib 67
_ZN4node12BlockManager14FlushBlockFileEibb 67
_ZN4node12BlockManager14LoadBlockIndexERKSt8optionalI7uint256E 171
_ZN4node12BlockManager15AddToBlockIndexERK12CBlockHeaderRP11CBlockIndex 7528
_ZN4node12BlockManager15SaveBlockToDiskERK6CBlocki 7333
_ZN4node12BlockManager15UpdateBlockInfoERK6CBlockjRK11FlatFilePos 2
_ZN4node12BlockManager15UpdatePruneLockERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_13PruneLockInfoE 20
_ZN4node12BlockManager16FindFilesToPruneERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 0
_ZN4node12BlockManager16FindNextBlockPosEjjm 7333
_ZN4node12BlockManager16GetBlockFileInfoEm 4
_ZN4node12BlockManager16InsertBlockIndexERK7uint256 1688
_ZN4node12BlockManager16LoadBlockIndexDBERKSt8optionalI7uint256E 171
_ZN4node12BlockManager16LookupBlockIndexERK7uint256 27116
_ZN4node12BlockManager17GetLastCheckpointERK15CCheckpointData 14633
_ZN4node12BlockManager17PruneOneBlockFileEi 4
_ZN4node12BlockManager17WriteBlockIndexDBEv 69
_ZN4node12BlockManager18GetAllBlockIndicesEv 342
_ZN4node12BlockManager21CalculateCurrentUsageEv 3
_ZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndex 7222
_ZN4node12BlockManager22BlockfileTypeForHeightEi 14801
_ZN4node12BlockManager22FindFilesToPruneManualERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 0
_ZN4node12BlockManager24FlushChainstateBlockFileEi 69
_ZN4node12BlockManager26CheckBlockDataAvailabilityERK11CBlockIndexS3_ 4
_ZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEv 174
_ZN4node12BlockManagerC2ERKN4util15SignalInterruptEN6kernel16BlockManagerOptsE 174
_ZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EE 0
_ZN4node12ImportingNowC2ERSt6atomicIbE 0
_ZN4node12ImportingNowD2Ev 0
_ZN4nodeL19InitBlocksdirXorKeyERKN6kernel16BlockManagerOptsE 174
_ZN4nodelsERSoRKNS_13BlockfileTypeE 5
_ZN4nodelsERSoRKNS_15BlockfileCursorE 5
_ZN6kernel11BlockTreeDB14ReadReindexingERb 171
_ZN6kernel11BlockTreeDB14WriteBatchSyncERKSt6vectorISt4pairIiPK14CBlockFileInfoESaIS6_EEiRKS1_IPK11CBlockIndexSaISD_EE 69
_ZN6kernel11BlockTreeDB15WriteReindexingEb 0
_ZN6kernel11BlockTreeDB17ReadBlockFileInfoEiR14CBlockFileInfo 346
_ZN6kernel11BlockTreeDB17ReadLastBlockFileERi 171
_ZN6kernel11BlockTreeDB18LoadBlockIndexGutsERKN9Consensus6ParamsESt8functionIFP11CBlockIndexRK7uint256EERKN4util15SignalInterruptE 171
_ZN6kernel11BlockTreeDB8ReadFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERb 171
_ZN6kernel11BlockTreeDB9WriteFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb 0
_ZNK4node12BlockManager12OpenUndoFileERK11FlatFilePosb 7986
_ZNK4node12BlockManager13GetFirstBlockERK11CBlockIndexjPS2_ 9
_ZNK4node12BlockManager13IsBlockPrunedERK11CBlockIndex 0
_ZNK4node12BlockManager13OpenBlockFileERK11FlatFilePosb 9620
_ZNK4node12BlockManager15UndoWriteToDiskERK10CBlockUndoR11FlatFilePosRK7uint256 7119
_ZNK4node12BlockManager16LookupBlockIndexERK7uint256 0
_ZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndex 867
_ZNK4node12BlockManager16WriteBlockToDiskERK6CBlockR11FlatFilePos 7333
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndex 2047
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11FlatFilePos 2164
_ZNK4node12BlockManager17UnlinkPrunedFilesERKSt3setIiSt4lessIiESaIiEE 5
_ZNK4node12BlockManager19GetBlockPosFilenameERK11FlatFilePos 0
_ZNK4node12BlockManager20CleanupBlockRevFilesEv 0
_ZNK4node12BlockManager20ReadRawBlockFromDiskERSt6vectorIhSaIhEERK11FlatFilePos 0
_ZNK4node25CBlockIndexWorkComparatorclEPK11CBlockIndexS3_ 16171162
_ZNK4node31CBlockIndexHeightOnlyComparatorclEPK11CBlockIndexS3_ 19308
_ZZN4node12BlockManager17WriteBlockIndexDBEvENKUlvE_clEv 69
_ZZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndexENKUlvE_clEv 7222
_ZZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEvENKUlvE_clEv 174
_ZZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EEENKUlvE0_clEv 0
_ZZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EEENKUlvE_clEv 0
_ZZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndexENKUlvE_clEv 867
_ZZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndexENKUlvE_clEv 2047

Generated by: LCOV version 2.0-1