LCOV - code coverage report
Current view: top level - src - net.cpp (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 89.4 % 2127 1901
Test Date: 2025-12-22 05:17:17 Functions: 96.9 % 161 156
Branches: 56.8 % 2933 1666

Function Name Sort by function name Hit count Sort by function hit count
_Z10ClearLocalv 630
_Z11RemoveLocalRK8CService 11
_Z13GetListenPortv 1645
_Z15GetLocalAddressRK5CNode 1637
_Z19GetLocalAddrForPeerR5CNode 1616
_Z7IsLocalRK8CService 12
_Z8AddLocalRK8CNetAddri 1
_Z8AddLocalRK8CServicei 12
_Z8Discoverv 16
_Z9SeenLocalRK8CService 0
_ZL12ConvertSeedsRKSt6vectorIhSaIhEE 3
_ZL13MakeTransportlbb 1672
_ZL14GetBindAddressRK4Sock 1635
_ZL19IsPeerAddrLocalGoodP5CNode 1616
_ZL20CaptureMessageToFileRK8CAddressRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4spanIKhLm18446744073709551615EEb 22
_ZL8GetLocalRK5CNode 1637
_ZL9GetnScoreRK8CService 0
_ZN11V1Transport10readHeaderESt4spanIKhLm18446744073709551615EE 158754
_ZN11V1Transport13MarkBytesSentEm 317029
_ZN11V1Transport16SetMessageToSendER17CSerializedNetMsg 161473
_ZN11V1Transport18GetReceivedMessageENSt6chrono8durationIlSt5ratioILl1ELl1000000EEEERb 158738
_ZN11V1Transport8readDataESt4spanIKhLm18446744073709551615EE 270415
_ZN11V1TransportC2El 1747
_ZN11V2Transport12SetSendStateENS_9SendStateE 375
_ZN11V2Transport13MarkBytesSentEm 9783
_ZN11V2Transport13ReceivedBytesERSt4spanIKhLm18446744073709551615EE 10431
_ZN11V2Transport14GetMessageTypeB5cxx11ERSt4spanIKhLm18446744073709551615EE 7607
_ZN11V2Transport15SetReceiveStateENS_9RecvStateE 16055
_ZN11V2Transport16SetMessageToSendER17CSerializedNetMsg 8464
_ZN11V2Transport18GetReceivedMessageENSt6chrono8durationIlSt5ratioILl1ELl1000000EEEERb 7802
_ZN11V2Transport20GetMaxBytesToProcessEv 614718
_ZN11V2Transport21StartSendingHandshakeEv 245
_ZN11V2Transport23ProcessReceivedKeyBytesEv 304
_ZN11V2Transport26ProcessReceivedPacketBytesEv 128110
_ZN11V2Transport27ProcessReceivedGarbageBytesEv 483974
_ZN11V2Transport27ProcessReceivedMaybeV1BytesEv 138
_ZN11V2TransportC2Elb 251
_ZN11V2TransportC2ElbRK4CKeySt4spanIKSt4byteLm18446744073709551615EESt6vectorIhSaIhEE 251
_ZN12_GLOBAL__N_112V2MessageMapC2Ev 1348
_ZN12_GLOBAL__N_1L21GenerateRandomGarbageEv 251
_ZN5CNode11PollMessageEv 437387
_ZN5CNode12SetAddrLocalERK8CService 1570
_ZN5CNode15ReceiveMsgBytesESt4spanIKhLm18446744073709551615EERb 262812
_ZN5CNode21CloseSocketDisconnectEv 2208
_ZN5CNode29MarkReceivedMsgsForProcessingEv 148195
_ZN5CNode9CopyStatsER10CNodeStats 13413
_ZN5CNodeC2ElSt10shared_ptrI4SockERK8CAddressmmRK8CServiceRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE14ConnectionTypebmO12CNodeOptions 1672
_ZN8CConnman10DeleteNodeEP5CNode 1632
_ZN8CConnman11ConnectNodeE8CAddressPKcb14ConnectionTypebRKSt8optionalI5ProxyE 628
_ZN8CConnman11PushMessageEP5CNodeO17CSerializedNetMsg 168981
_ZN8CConnman11StopThreadsEv 2332
_ZN8CConnman12AddAddrFetchERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 12
_ZN8CConnman12GetAddressesER5CNodemm 969
_ZN8CConnman12GetNewNodeIdEv 1632
_ZN8CConnman13AddConnectionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE14ConnectionTypeb 148
_ZN8CConnman13DumpAddressesEv 1025
_ZN8CConnman13SocketHandlerEv 485377
_ZN8CConnman14BindListenPortERK8CServiceR13bilingual_str18NetPermissionFlags 1014
_ZN8CConnman14DisconnectNodeERK7CSubNet 33
_ZN8CConnman14DisconnectNodeERK8CNetAddr 20
_ZN8CConnman14DisconnectNodeESt17basic_string_viewIcSt11char_traitsIcEE 4
_ZN8CConnman14DisconnectNodeEl 121
_ZN8CConnman15DisconnectNodesEv 485377
_ZN8CConnman15RecordBytesRecvEm 262809
_ZN8CConnman15RecordBytesSentEm 169190
_ZN8CConnman15RemoveAddedNodeESt17basic_string_viewIcSt11char_traitsIcEE 4
_ZN8CConnman16ASMapHealthCheckEv 5
_ZN8CConnman16AcceptConnectionERKNS_12ListenSocketE 1040
_ZN8CConnman16ProcessAddrFetchEv 35
_ZN8CConnman16SetNetworkActiveEb 1280
_ZN8CConnman18CheckIncomingNonceEm 1020
_ZN8CConnman18NodeFullyConnectedEPK5CNode 85686
_ZN8CConnman18WakeMessageHandlerEv 246267
_ZN8CConnman19GenerateWaitSocketsESt4spanIKP5CNodeLm18446744073709551615EE 485377
_ZN8CConnman19ThreadSocketHandlerEv 1013
_ZN8CConnman20PerformReconnectionsEv 8862
_ZN8CConnman20ThreadDNSAddressSeedEv 14
_ZN8CConnman20ThreadMessageHandlerEv 1013
_ZN8CConnman21OpenNetworkConnectionERK8CAddressbO22CountingSemaphoreGrantILl2147483647EEPKc14ConnectionTypebRKSt8optionalI5ProxyE 618
_ZN8CConnman21SetTryNewOutboundPeerEb 1262
_ZN8CConnman21ThreadOpenConnectionsESt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESt4spanIKS6_Lm18446744073709551615EE 33
_ZN8CConnman22SocketHandlerConnectedERKSt6vectorIP5CNodeSaIS2_EERKSt13unordered_mapISt10shared_ptrIK4SockENS9_6EventsENS9_17HashSharedPtrSockENS9_18EqualSharedPtrSockESaISt4pairIKSB_SC_EEE 485377
_ZN8CConnman22SocketHandlerListeningERKSt13unordered_mapISt10shared_ptrIK4SockENS2_6EventsENS2_17HashSharedPtrSockENS2_18EqualSharedPtrSockESaISt4pairIKS4_S5_EEE 485377
_ZN8CConnman23ThreadI2PAcceptIncomingEv 3
_ZN8CConnman24AttemptToEvictConnectionEv 1
_ZN8CConnman25MaybePickPreferredNetworkERSt8optionalI7NetworkE 0
_ZN8CConnman25StartExtraBlockRelayPeersEv 62
_ZN8CConnman26ThreadOpenAddedConnectionsEv 1013
_ZN8CConnman27NotifyNumConnectionsChangedEv 485377
_ZN8CConnman28CreateNodeFromAcceptedSocketEOSt10unique_ptrI4SockSt14default_deleteIS1_EE18NetPermissionFlagsRK8CServiceS9_ 1040
_ZN8CConnman4BindERK8CServicej18NetPermissionFlags 1014
_ZN8CConnman5StartER10CSchedulerRKNS_7OptionsE 1013
_ZN8CConnman7AddNodeERK15AddedNodeParams 15
_ZN8CConnman7ForNodeElSt8functionIFbP5CNodeEE 456
_ZN8CConnman9InitBindsERKNS_7OptionsE 999
_ZN8CConnman9InterruptEv 2332
_ZN8CConnman9StopNodesEv 2332
_ZN8CConnmanC2EmmR7AddrManRK15NetGroupManagerRK12CChainParamsbSt10shared_ptrI16CThreadInterruptE 1257
_ZN8CConnmanD2Ev 1257
_ZNK11CNetMessage14GetMemoryUsageEv 329410
_ZNK11V1Transport14GetBytesToSendB5cxx11Eb 1408055
_ZNK11V1Transport14GetMessageHashEv 158738
_ZNK11V1Transport18GetSendMemoryUsageEv 322017
_ZNK11V1Transport7GetInfoEv 13127
_ZNK11V2Transport14GetBytesToSendB5cxx11Eb 59203
_ZNK11V2Transport17ShouldReconnectV1Ev 118
_ZNK11V2Transport18GetSendMemoryUsageEv 16818
_ZNK11V2Transport23ReceivedMessageCompleteEv 11107
_ZNK11V2Transport7GetInfoEv 1968
_ZNK12_GLOBAL__N_112V2MessageMapclERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 8029
_ZNK17CSerializedNetMsg14GetMemoryUsageEv 660555
_ZNK5CNode12GetAddrLocalEv 15033
_ZNK5CNode13DisconnectMsgB5cxx11Eb 1546
_ZNK5CNode23ConnectedThroughNetworkEv 13510
_ZNK5CNode28IsConnectedThroughPrivacyNetEv 33
_ZNK5CNode5LogIPB5cxx11Eb 27833
_ZNK8CConnman11GetMappedASERK8CNetAddr 16585
_ZNK8CConnman12GetNodeCountE19ConnectionDirection 2925
_ZNK8CConnman12GetNodeStatsERSt6vectorI10CNodeStatsSaIS1_EE 6160
_ZNK8CConnman14GetDefaultPortE7Network 2
_ZNK8CConnman14GetDefaultPortERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 691
_ZNK8CConnman14SocketSendDataER5CNode 169200
_ZNK8CConnman15InactivityCheckERK5CNodeNSt6chrono8durationIlSt5ratioILl1ELl1000000EEEE 798455
_ZNK8CConnman16GetAddedNodeInfoEb 8871
_ZNK8CConnman16GetLocalServicesEv 4958
_ZNK8CConnman17AddedNodesContainERK8CAddress 8
_ZNK8CConnman17GetTotalBytesRecvEv 19
_ZNK8CConnman17GetTotalBytesSentEv 19
_ZNK8CConnman18GetAddressesUnsafeEmmSt8optionalI7NetworkEb 460
_ZNK8CConnman20GetMaxOutboundTargetEv 19
_ZNK8CConnman20getNetLocalAddressesEv 0
_ZNK8CConnman21GetTryNewOutboundPeerEv 81
_ZNK8CConnman21OutboundTargetReachedEb 40258
_ZNK8CConnman22AlreadyConnectedToHostESt17basic_string_viewIcSt11char_traitsIcEE 615
_ZNK8CConnman22CalculateKeyedNetGroupERK8CNetAddr 1632
_ZNK8CConnman23GetExtraBlockRelayCountEv 259
_ZNK8CConnman23GetMaxOutboundTimeframeEv 19
_ZNK8CConnman24GetFullOutboundConnCountEv 2
_ZNK8CConnman25AlreadyConnectedToAddressERK8CNetAddr 9
_ZNK8CConnman25GetExtraFullOutboundCountEv 259
_ZNK8CConnman25GetReachableEmptyNetworksEv 7
_ZNK8CConnman25ShouldRunInactivityChecksERK5CNodeNSt6chrono8durationIlSt5ratioILl1ELl1000000EEEE 1232951
_ZNK8CConnman26GetDeterministicRandomizerEm 4949
_ZNK8CConnman26GetOutboundTargetBytesLeftEv 19
_ZNK8CConnman27AddWhitelistPermissionFlagsER18NetPermissionFlagsSt8optionalI8CNetAddrERKSt6vectorI23NetWhitelistPermissionsSaIS6_EE 1635
_ZNK8CConnman29AlreadyConnectedToAddressPortERK8CService 613
_ZNK8CConnman29GetCurrentBlockRelayOnlyConnsEv 28
_ZNK8CConnman29GetMaxOutboundTimeLeftInCycleEv 19
_ZNK8CConnman30GetMaxOutboundTimeLeftInCycle_Ev 1127
_ZNK8CConnman33MultipleManualOrFullOutboundConnsE7Network 38
_ZZN8CConnman13AddConnectionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE14ConnectionTypebENKUlvE_clEv 148
_ZZN8CConnman14DisconnectNodeESt17basic_string_viewIcSt11char_traitsIcEEENKUlP5CNodeE_clES5_ 6
_ZZN8CConnman21ThreadOpenConnectionsESt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESt4spanIKS6_Lm18446744073709551615EEENKUlRK8CAddressE_clESE_ 0
_ZZN8CConnman22SocketHandlerConnectedERKSt6vectorIP5CNodeSaIS2_EERKSt13unordered_mapISt10shared_ptrIK4SockENS9_6EventsENS9_17HashSharedPtrSockENS9_18EqualSharedPtrSockESaISt4pairIKSB_SC_EEEENKUlvE_clEv 763
_ZZN8CConnman23ThreadI2PAcceptIncomingEvENKUlvE_clEv 3
_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENKUlvE2_clEv 33
_ZZN8CConnman9StopNodesEvENKUlvE0_clEv 2332
_ZZN8CConnman9StopNodesEvENKUlvE_clEv 2332
_ZZNK8CConnman17AddedNodesContainERK8CAddressENKUlRKT_E_clI15AddedNodeParamsEEDaS5_ 22
_ZZNK8CConnman18GetAddressesUnsafeEmmSt8optionalI7NetworkEbENKUlRK8CAddressE_clES5_ 34415
_ZZNK8CConnman22AlreadyConnectedToHostESt17basic_string_viewIcSt11char_traitsIcEEENKUlP5CNodeE_clES5_ 555

Generated by: LCOV version 2.0-1