LCOV - code coverage report
Current view: top level - src - net.cpp (source / functions) Coverage Total Hit
Test: test_bitcoin_coverage.info Lines: 46.9 % 2092 981
Test Date: 2025-10-25 04:38:23 Functions: 61.2 % 160 98
Branches: 24.4 % 2919 712

Function Name Sort by function name Hit count Sort by function hit count
_Z10ClearLocalv 626
_Z11RemoveLocalRK8CService 11
_Z13GetListenPortv 29
_Z15GetLocalAddressRK5CNode 25
_Z19GetLocalAddrForPeerR5CNode 4
_Z7IsLocalRK8CService 3
_Z8AddLocalRK8CNetAddri 1
_Z8AddLocalRK8CServicei 12
_Z8Discoverv 1
_Z9SeenLocalRK8CService 0
_ZL12ConvertSeedsRKSt6vectorIhSaIhEE 0
_ZL13MakeTransportlbb 40
_ZL14GetBindAddressRK4Sock 0
_ZL19IsPeerAddrLocalGoodP5CNode 4
_ZL20CaptureMessageToFileRK8CAddressRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4spanIKhLm18446744073709551615EEb 5
_ZL8GetLocalRK5CNode 25
_ZL9GetnScoreRK8CService 0
_ZN11V1Transport10readHeaderESt4spanIKhLm18446744073709551615EE 5
_ZN11V1Transport13MarkBytesSentEm 8
_ZN11V1Transport16SetMessageToSendER17CSerializedNetMsg 8
_ZN11V1Transport18GetReceivedMessageENSt6chrono8durationIlSt5ratioILl1ELl1000000EEEERb 2
_ZN11V1Transport8readDataESt4spanIKhLm18446744073709551615EE 1
_ZN11V1TransportC2El 115
_ZN11V2Transport12SetSendStateENS_9SendStateE 117
_ZN11V2Transport13MarkBytesSentEm 885
_ZN11V2Transport13ReceivedBytesERSt4spanIKhLm18446744073709551615EE 2303
_ZN11V2Transport14GetMessageTypeB5cxx11ERSt4spanIKhLm18446744073709551615EE 252
_ZN11V2Transport15SetReceiveStateENS_9RecvStateE 763
_ZN11V2Transport16SetMessageToSendER17CSerializedNetMsg 51
_ZN11V2Transport18GetReceivedMessageENSt6chrono8durationIlSt5ratioILl1ELl1000000EEEERb 252
_ZN11V2Transport20GetMaxBytesToProcessEv 245727
_ZN11V2Transport21StartSendingHandshakeEv 74
_ZN11V2Transport23ProcessReceivedKeyBytesEv 142
_ZN11V2Transport26ProcessReceivedPacketBytesEv 99332
_ZN11V2Transport27ProcessReceivedGarbageBytesEv 145938
_ZN11V2Transport27ProcessReceivedMaybeV1BytesEv 44
_ZN11V2TransportC2Elb 75
_ZN11V2TransportC2ElbRK4CKeySt4spanIKSt4byteLm18446744073709551615EESt6vectorIhSaIhEE 75
_ZN12_GLOBAL__N_112V2MessageMapC2Ev 145
_ZN12_GLOBAL__N_1L21GenerateRandomGarbageEv 75
_ZN5CNode11PollMessageEv 2
_ZN5CNode12SetAddrLocalERK8CService 5
_ZN5CNode15ReceiveMsgBytesESt4spanIKhLm18446744073709551615EERb 3
_ZN5CNode21CloseSocketDisconnectEv 0
_ZN5CNode29MarkReceivedMsgsForProcessingEv 2
_ZN5CNode9CopyStatsER10CNodeStats 0
_ZN5CNodeC2ElSt10shared_ptrI4SockERK8CAddressmmRK8CServiceRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE14ConnectionTypebmO12CNodeOptions 40
_ZN8CConnman10DeleteNodeEP5CNode 0
_ZN8CConnman11ConnectNodeE8CAddressPKcb14ConnectionTypebRKSt8optionalI5ProxyE 10
_ZN8CConnman11PushMessageEP5CNodeO17CSerializedNetMsg 22
_ZN8CConnman11StopThreadsEv 182
_ZN8CConnman12AddAddrFetchERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 0
_ZN8CConnman12GetAddressesER5CNodemm 0
_ZN8CConnman12GetNewNodeIdEv 0
_ZN8CConnman13AddConnectionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE14ConnectionTypeb 0
_ZN8CConnman13DumpAddressesEv 1
_ZN8CConnman13SocketHandlerEv 0
_ZN8CConnman14BindListenPortERK8CServiceR13bilingual_str18NetPermissionFlags 0
_ZN8CConnman14DisconnectNodeERK7CSubNet 11
_ZN8CConnman14DisconnectNodeERK8CNetAddr 6
_ZN8CConnman14DisconnectNodeESt17basic_string_viewIcSt11char_traitsIcEE 0
_ZN8CConnman14DisconnectNodeEl 0
_ZN8CConnman15DisconnectNodesEv 0
_ZN8CConnman15RecordBytesRecvEm 0
_ZN8CConnman15RecordBytesSentEm 0
_ZN8CConnman15RemoveAddedNodeESt17basic_string_viewIcSt11char_traitsIcEE 0
_ZN8CConnman16ASMapHealthCheckEv 0
_ZN8CConnman16AcceptConnectionERKNS_12ListenSocketE 0
_ZN8CConnman16ProcessAddrFetchEv 1
_ZN8CConnman16SetNetworkActiveEb 183
_ZN8CConnman18CheckIncomingNonceEm 0
_ZN8CConnman18NodeFullyConnectedEPK5CNode 55
_ZN8CConnman18WakeMessageHandlerEv 1
_ZN8CConnman19GenerateWaitSocketsESt4spanIKP5CNodeLm18446744073709551615EE 0
_ZN8CConnman19ThreadSocketHandlerEv 1
_ZN8CConnman20PerformReconnectionsEv 1
_ZN8CConnman20ThreadDNSAddressSeedEv 1
_ZN8CConnman20ThreadMessageHandlerEv 1
_ZN8CConnman21OpenNetworkConnectionERK8CAddressbO22CountingSemaphoreGrantILl2147483647EEPKc14ConnectionTypebRKSt8optionalI5ProxyE 0
_ZN8CConnman21SetTryNewOutboundPeerEb 186
_ZN8CConnman21ThreadOpenConnectionsESt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESt4spanIKS6_Lm18446744073709551615EE 1
_ZN8CConnman22SocketHandlerConnectedERKSt6vectorIP5CNodeSaIS2_EERKSt13unordered_mapISt10shared_ptrIK4SockENS9_6EventsENS9_17HashSharedPtrSockENS9_18EqualSharedPtrSockESaISt4pairIKSB_SC_EEE 0
_ZN8CConnman22SocketHandlerListeningERKSt13unordered_mapISt10shared_ptrIK4SockENS2_6EventsENS2_17HashSharedPtrSockENS2_18EqualSharedPtrSockESaISt4pairIKS4_S5_EEE 0
_ZN8CConnman23ThreadI2PAcceptIncomingEv 0
_ZN8CConnman24AttemptToEvictConnectionEv 0
_ZN8CConnman25MaybePickPreferredNetworkERSt8optionalI7NetworkE 0
_ZN8CConnman25StartExtraBlockRelayPeersEv 0
_ZN8CConnman26ThreadOpenAddedConnectionsEv 1
_ZN8CConnman27NotifyNumConnectionsChangedEv 0
_ZN8CConnman28CreateNodeFromAcceptedSocketEOSt10unique_ptrI4SockSt14default_deleteIS1_EE18NetPermissionFlagsRK8CServiceS9_ 0
_ZN8CConnman4BindERK8CServicej18NetPermissionFlags 0
_ZN8CConnman5StartER10CSchedulerRKNS_7OptionsE 1
_ZN8CConnman7AddNodeERK15AddedNodeParams 7
_ZN8CConnman7ForNodeElSt8functionIFbP5CNodeEE 7
_ZN8CConnman9InitBindsERKNS_7OptionsE 0
_ZN8CConnman9InterruptEv 182
_ZN8CConnman9StopNodesEv 182
_ZN8CConnmanC2EmmR7AddrManRK15NetGroupManagerRK12CChainParamsbSt10shared_ptrI16CThreadInterruptE 181
_ZN8CConnmanD2Ev 181
_ZNK11CNetMessage14GetMemoryUsageEv 4
_ZNK11V1Transport14GetBytesToSendB5cxx11Eb 47
_ZNK11V1Transport14GetMessageHashEv 2
_ZNK11V1Transport18GetSendMemoryUsageEv 28
_ZNK11V1Transport7GetInfoEv 2
_ZNK11V2Transport14GetBytesToSendB5cxx11Eb 2975
_ZNK11V2Transport17ShouldReconnectV1Ev 0
_ZNK11V2Transport18GetSendMemoryUsageEv 0
_ZNK11V2Transport23ReceivedMessageCompleteEv 2975
_ZNK11V2Transport7GetInfoEv 71
_ZNK12_GLOBAL__N_112V2MessageMapclERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 51
_ZNK17CSerializedNetMsg14GetMemoryUsageEv 56
_ZNK5CNode12GetAddrLocalEv 8
_ZNK5CNode13DisconnectMsgB5cxx11Eb 4
_ZNK5CNode23ConnectedThroughNetworkEv 76
_ZNK5CNode28IsConnectedThroughPrivacyNetEv 33
_ZNK5CNode5LogIPB5cxx11Eb 8
_ZNK8CConnman11GetMappedASERK8CNetAddr 4
_ZNK8CConnman12GetNodeCountE19ConnectionDirection 9
_ZNK8CConnman12GetNodeStatsERSt6vectorI10CNodeStatsSaIS1_EE 0
_ZNK8CConnman14GetDefaultPortE7Network 0
_ZNK8CConnman14GetDefaultPortERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 44
_ZNK8CConnman14SocketSendDataER5CNode 6
_ZNK8CConnman15InactivityCheckERK5CNode 0
_ZNK8CConnman16GetAddedNodeInfoEb 4
_ZNK8CConnman16GetLocalServicesEv 362
_ZNK8CConnman17AddedNodesContainERK8CAddress 6
_ZNK8CConnman17GetTotalBytesRecvEv 0
_ZNK8CConnman17GetTotalBytesSentEv 0
_ZNK8CConnman18GetAddressesUnsafeEmmSt8optionalI7NetworkEb 0
_ZNK8CConnman20GetMaxOutboundTargetEv 0
_ZNK8CConnman20getNetLocalAddressesEv 0
_ZNK8CConnman21GetTryNewOutboundPeerEv 3
_ZNK8CConnman21OutboundTargetReachedEb 0
_ZNK8CConnman22AlreadyConnectedToHostESt17basic_string_viewIcSt11char_traitsIcEE 0
_ZNK8CConnman22CalculateKeyedNetGroupERK8CNetAddr 0
_ZNK8CConnman23GetExtraBlockRelayCountEv 10
_ZNK8CConnman23GetMaxOutboundTimeframeEv 0
_ZNK8CConnman24GetFullOutboundConnCountEv 0
_ZNK8CConnman25AlreadyConnectedToAddressERK8CNetAddr 6
_ZNK8CConnman25GetExtraFullOutboundCountEv 10
_ZNK8CConnman25GetReachableEmptyNetworksEv 0
_ZNK8CConnman25ShouldRunInactivityChecksERK5CNodeNSt6chrono8durationIlSt5ratioILl1ELl1EEEE 6
_ZNK8CConnman26GetDeterministicRandomizerEm 0
_ZNK8CConnman26GetOutboundTargetBytesLeftEv 0
_ZNK8CConnman27AddWhitelistPermissionFlagsER18NetPermissionFlagsSt8optionalI8CNetAddrERKSt6vectorI23NetWhitelistPermissionsSaIS6_EE 0
_ZNK8CConnman29AlreadyConnectedToAddressPortERK8CService 10
_ZNK8CConnman29GetCurrentBlockRelayOnlyConnsEv 1
_ZNK8CConnman29GetMaxOutboundTimeLeftInCycleEv 0
_ZNK8CConnman30GetMaxOutboundTimeLeftInCycle_Ev 0
_ZNK8CConnman33MultipleManualOrFullOutboundConnsE7Network 38
_ZZN8CConnman13AddConnectionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE14ConnectionTypebENKUlvE_clEv 0
_ZZN8CConnman14DisconnectNodeESt17basic_string_viewIcSt11char_traitsIcEEENKUlP5CNodeE_clES5_ 0
_ZZN8CConnman21ThreadOpenConnectionsESt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESt4spanIKS6_Lm18446744073709551615EEENKUlRK8CAddressE_clESE_ 0
_ZZN8CConnman22SocketHandlerConnectedERKSt6vectorIP5CNodeSaIS2_EERKSt13unordered_mapISt10shared_ptrIK4SockENS9_6EventsENS9_17HashSharedPtrSockENS9_18EqualSharedPtrSockESaISt4pairIKSB_SC_EEEENKUlvE_clEv 0
_ZZN8CConnman23ThreadI2PAcceptIncomingEvENKUlvE_clEv 0
_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENKUlvE2_clEv 1
_ZZN8CConnman9StopNodesEvENKUlvE_clEv 182
_ZZNK8CConnman17AddedNodesContainERK8CAddressENKUlRKT_E_clI15AddedNodeParamsEEDaS5_ 20
_ZZNK8CConnman18GetAddressesUnsafeEmmSt8optionalI7NetworkEbENKUlRK8CAddressE_clES5_ 0
_ZZNK8CConnman22AlreadyConnectedToHostESt17basic_string_viewIcSt11char_traitsIcEEENKUlP5CNodeE_clES5_ 0

Generated by: LCOV version 2.0-1