LCOV - code coverage report
Current view: top level - src/node - blockstorage.cpp (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 89.8 % 660 593
Test Date: 2024-11-04 05:10:19 Functions: 100.0 % 63 63
Branches: 59.0 % 943 556

Function Name Sort by function name Hit count Sort by function hit count
_ZN4node12BlockManager11FindUndoPosER20BlockValidationStateiR11FlatFilePosj 119541
_ZN4node12BlockManager13FlushUndoFileEib 3092
_ZN4node12BlockManager14FlushBlockFileEibb 3091
_ZN4node12BlockManager14LoadBlockIndexERKSt8optionalI7uint256E 1059
_ZN4node12BlockManager15AddToBlockIndexERK12CBlockHeaderRP11CBlockIndex 138207
_ZN4node12BlockManager15SaveBlockToDiskERK6CBlocki 120413
_ZN4node12BlockManager15UpdateBlockInfoERK6CBlockjRK11FlatFilePos 3478
_ZN4node12BlockManager15UpdatePruneLockERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_13PruneLockInfoE 20814
_ZN4node12BlockManager16FindFilesToPruneERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 541
_ZN4node12BlockManager16FindNextBlockPosEjjm 120413
_ZN4node12BlockManager16GetBlockFileInfoEm 4
_ZN4node12BlockManager16InsertBlockIndexERK7uint256 270532
_ZN4node12BlockManager16LoadBlockIndexDBERKSt8optionalI7uint256E 1059
_ZN4node12BlockManager16LookupBlockIndexERK7uint256 869160
_ZN4node12BlockManager17GetLastCheckpointERK15CCheckpointData 181812
_ZN4node12BlockManager17PruneOneBlockFileEi 69
_ZN4node12BlockManager17WriteBlockIndexDBEv 2993
_ZN4node12BlockManager18GetAllBlockIndicesEv 2114
_ZN4node12BlockManager21CalculateCurrentUsageEv 20529
_ZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndex 124922
_ZN4node12BlockManager22BlockfileTypeForHeightEi 252992
_ZN4node12BlockManager22FindFilesToPruneManualERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 26
_ZN4node12BlockManager24FlushChainstateBlockFileEi 2993
_ZN4node12BlockManager26CheckBlockDataAvailabilityERK11CBlockIndexS3_ 40
_ZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEv 1059
_ZN4node12BlockManagerC2ERKN4util15SignalInterruptEN6kernel16BlockManagerOptsE 1086
_ZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EE 889
_ZN4node12ImportingNowC2ERSt6atomicIbE 889
_ZN4node12ImportingNowD2Ev 889
_ZN4nodeL19InitBlocksdirXorKeyERKN6kernel16BlockManagerOptsE 1086
_ZN4nodelsERSoRKNS_13BlockfileTypeE 10
_ZN4nodelsERSoRKNS_15BlockfileCursorE 10
_ZN6kernel11BlockTreeDB14ReadReindexingERb 1056
_ZN6kernel11BlockTreeDB14WriteBatchSyncERKSt6vectorISt4pairIiPK14CBlockFileInfoESaIS6_EEiRKS1_IPK11CBlockIndexSaISD_EE 2993
_ZN6kernel11BlockTreeDB15WriteReindexingEb 33
_ZN6kernel11BlockTreeDB17ReadBlockFileInfoEiR14CBlockFileInfo 2244
_ZN6kernel11BlockTreeDB17ReadLastBlockFileERi 1057
_ZN6kernel11BlockTreeDB18LoadBlockIndexGutsERKN9Consensus6ParamsESt8functionIFP11CBlockIndexRK7uint256EERKN4util15SignalInterruptE 1059
_ZN6kernel11BlockTreeDB8ReadFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERb 1056
_ZN6kernel11BlockTreeDB9WriteFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb 14
_ZNK4node12BlockManager12OpenUndoFileERK11FlatFilePosb 169977
_ZNK4node12BlockManager13GetFirstBlockERK11CBlockIndexjPS2_ 109
_ZNK4node12BlockManager13IsBlockPrunedERK11CBlockIndex 642
_ZNK4node12BlockManager13OpenBlockFileERK11FlatFilePosb 294732
_ZNK4node12BlockManager15UndoWriteToDiskERK10CBlockUndoR11FlatFilePosRK7uint256 119541
_ZNK4node12BlockManager16LookupBlockIndexERK7uint256 6
_ZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndex 50436
_ZNK4node12BlockManager16WriteBlockToDiskERK6CBlockR11FlatFilePos 120413
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndex 124275
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11FlatFilePos 129910
_ZNK4node12BlockManager17UnlinkPrunedFilesERKSt3setIiSt4lessIiESaIiEE 52
_ZNK4node12BlockManager19GetBlockPosFilenameERK11FlatFilePos 32
_ZNK4node12BlockManager20CleanupBlockRevFilesEv 3
_ZNK4node12BlockManager20ReadRawBlockFromDiskERSt6vectorIhSaIhEERK11FlatFilePos 43554
_ZNK4node25CBlockIndexWorkComparatorclEPK11CBlockIndexS3_ 850355964
_ZNK4node31CBlockIndexHeightOnlyComparatorclEPK11CBlockIndexS3_ 2776819
_ZZN4node12BlockManager17WriteBlockIndexDBEvENKUlvE_clEv 2993
_ZZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndexENKUlvE_clEv 124922
_ZZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEvENKUlvE_clEv 1059
_ZZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EEENKUlvE0_clEv 887
_ZZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EEENKUlvE_clEv 16
_ZZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndexENKUlvE_clEv 50436
_ZZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndexENKUlvE_clEv 124275

Generated by: LCOV version 2.0-1