LCOV - code coverage report
Current view: top level - src/node - blockstorage.cpp (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 90.2 % 660 595
Test Date: 2025-01-19 05:08:01 Functions: 100.0 % 63 63
Branches: 59.4 % 939 558

Function Name Sort by function name Hit count Sort by function hit count
_ZNK4node12BlockManager20CleanupBlockRevFilesEv 3
_ZN4node12BlockManager16GetBlockFileInfoEm 4
_ZNK4node12BlockManager16LookupBlockIndexERK7uint256 6
_ZN4nodelsERSoRKNS_13BlockfileTypeE 11
_ZN4nodelsERSoRKNS_15BlockfileCursorE 11
_ZN6kernel11BlockTreeDB9WriteFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb 15
_ZZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EEENKUlvE_clEv 16
_ZN4node12BlockManager22FindFilesToPruneManualERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 27
_ZNK4node12BlockManager19GetBlockPosFilenameERK11FlatFilePos 32
_ZN6kernel11BlockTreeDB15WriteReindexingEb 33
_ZN4node12BlockManager26CheckBlockDataAvailabilityERK11CBlockIndexS3_ 40
_ZNK4node12BlockManager17UnlinkPrunedFilesERKSt3setIiSt4lessIiESaIiEE 53
_ZN4node12BlockManager17PruneOneBlockFileEi 70
_ZNK4node12BlockManager13GetFirstBlockERK11CBlockIndexjPS2_ 110
_ZN4node12BlockManager16FindFilesToPruneERSt3setIiSt4lessIiESaIiEEiRK10ChainstateR17ChainstateManager 554
_ZNK4node12BlockManager13IsBlockPrunedERK11CBlockIndex 670
_ZZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EEENKUlvE0_clEv 912
_ZN4node12ImportBlocksER17ChainstateManagerSt4spanIKN2fs4pathELm18446744073709551615EE 914
_ZN4node12ImportingNowC2ERSt6atomicIbE 914
_ZN4node12ImportingNowD2Ev 914
_ZN6kernel11BlockTreeDB14ReadReindexingERb 1086
_ZN6kernel11BlockTreeDB8ReadFlagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERb 1086
_ZN6kernel11BlockTreeDB17ReadLastBlockFileERi 1087
_ZN4node12BlockManager14LoadBlockIndexERKSt8optionalI7uint256E 1089
_ZN4node12BlockManager16LoadBlockIndexDBERKSt8optionalI7uint256E 1089
_ZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEv 1089
_ZN6kernel11BlockTreeDB18LoadBlockIndexGutsERKN9Consensus6ParamsESt8functionIFP11CBlockIndexRK7uint256EERKN4util15SignalInterruptE 1089
_ZZN4node12BlockManager31ScanAndUnlinkAlreadyPrunedFilesEvENKUlvE_clEv 1089
_ZN4node12BlockManagerC2ERKN4util15SignalInterruptEN6kernel16BlockManagerOptsE 1116
_ZN4nodeL19InitBlocksdirXorKeyERKN6kernel16BlockManagerOptsE 1116
_ZN4node12BlockManager18GetAllBlockIndicesEv 2174
_ZN6kernel11BlockTreeDB17ReadBlockFileInfoEiR14CBlockFileInfo 2304
_ZN4node12BlockManager17WriteBlockIndexDBEv 3067
_ZN4node12BlockManager24FlushChainstateBlockFileEi 3067
_ZN6kernel11BlockTreeDB14WriteBatchSyncERKSt6vectorISt4pairIiPK14CBlockFileInfoESaIS6_EEiRKS1_IPK11CBlockIndexSaISD_EE 3067
_ZZN4node12BlockManager17WriteBlockIndexDBEvENKUlvE_clEv 3067
_ZN4node12BlockManager14FlushBlockFileEibb 3166
_ZN4node12BlockManager13FlushUndoFileEib 3167
_ZN4node12BlockManager15UpdateBlockInfoERK6CBlockjRK11FlatFilePos 3478
_ZN4node12BlockManager21CalculateCurrentUsageEv 19757
_ZN4node12BlockManager15UpdatePruneLockERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_13PruneLockInfoE 20767
_ZNK4node12BlockManager20ReadRawBlockFromDiskERSt6vectorIhSaIhEERK11FlatFilePos 39965
_ZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndex 50604
_ZZNK4node12BlockManager16UndoReadFromDiskER10CBlockUndoRK11CBlockIndexENKUlvE_clEv 50604
_ZN4node12BlockManager11FindUndoPosER20BlockValidationStateiR11FlatFilePosj 121439
_ZNK4node12BlockManager15UndoWriteToDiskERK10CBlockUndoR11FlatFilePosRK7uint256 121439
_ZN4node12BlockManager15SaveBlockToDiskERK6CBlocki 122368
_ZN4node12BlockManager16FindNextBlockPosEjjm 122368
_ZNK4node12BlockManager16WriteBlockToDiskERK6CBlockR11FlatFilePos 122368
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndex 123888
_ZZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11CBlockIndexENKUlvE_clEv 123888
_ZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndex 126835
_ZZN4node12BlockManager21WriteUndoDataForBlockERK10CBlockUndoR20BlockValidationStateR11CBlockIndexENKUlvE_clEv 126835
_ZNK4node12BlockManager17ReadBlockFromDiskER6CBlockRK11FlatFilePos 129499
_ZN4node12BlockManager15AddToBlockIndexERK12CBlockHeaderRP11CBlockIndex 140295
_ZNK4node12BlockManager12OpenUndoFileERK11FlatFilePosb 172043
_ZN4node12BlockManager17GetLastCheckpointERK15CCheckpointData 185535
_ZN4node12BlockManager22BlockfileTypeForHeightEi 256964
_ZN4node12BlockManager16InsertBlockIndexERK7uint256 276782
_ZNK4node12BlockManager13OpenBlockFileERK11FlatFilePosb 292708
_ZN4node12BlockManager16LookupBlockIndexERK7uint256 853340
_ZNK4node31CBlockIndexHeightOnlyComparatorclEPK11CBlockIndexS3_ 2816690
_ZNK4node25CBlockIndexWorkComparatorclEPK11CBlockIndexS3_ 768707959

Generated by: LCOV version 2.0-1