LCOV - code coverage report
Current view: top level - src - net.cpp (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 2152 2459 87.5 %
Date: 2023-09-07 14:00:19 Functions: 142 149 95.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 934 1318 70.9 %

Function Name Sort by function name Hit count Sort by hit count
_Z9SeenLocalRK8CService 0
_ZN11CNetCleanupD2Ev 0
_ZN8CConnman25MaybePickPreferredNetworkERNSt3__18optionalI7NetworkEE 0
_ZN8CConnman8FindNodeERK7CSubNet 0
_ZNK11V2Transport18GetSendMemoryUsageEv 0
net.cpp:_ZL9GetnScoreRK8CService 0
net.cpp:_ZZN8CConnman21ThreadOpenConnectionsENSt3__16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEEENK3$_0clERK8CAddress 0
_ZN8CConnman24AttemptToEvictConnectionEv 1
_ZN8CConnman25AlreadyConnectedToAddressERK8CAddress 1
_ZN8CConnman8FindNodeERK8CNetAddr 1
_ZN8CConnman14DisconnectNodeERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE 2
_ZN8CConnman15RemoveAddedNodeERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE 2
_ZN8CConnman7AddNodeERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE 2
net.cpp:_ZL12ConvertSeedsRKNSt3__16vectorIhNS_9allocatorIhEEEE 3
_ZN8CConnman23ThreadI2PAcceptIncomingEv 4
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK3$_5clEv 4
_ZNK8CConnman25GetReachableEmptyNetworksEv 5
_Z8AddLocalRK8CNetAddri 6
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK3$_6clEv 6
_ZNK8CConnman17GetTotalBytesRecvEv 7
_ZNK8CConnman17GetTotalBytesSentEv 7
_ZNK8CConnman20GetMaxOutboundTargetEv 7
_ZNK8CConnman23GetMaxOutboundTimeframeEv 7
_ZNK8CConnman26GetOutboundTargetBytesLeftEv 7
_ZNK8CConnman29GetMaxOutboundTimeLeftInCycleEv 7
_Z7IsLocalRK8CService 9
_Z8Discoverv 9
_ZN8CConnman12AddAddrFetchERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE 10
_ZN8CConnman20ThreadDNSAddressSeedEv 11
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK3$_1clEv 11
_ZN8CConnman14DisconnectNodeERK8CNetAddr 18
_ZN8CConnman25StartExtraBlockRelayPeersEv 19
_ZNK8CConnman29GetCurrentBlockRelayOnlyConnsEv 21
_Z11RemoveLocalRK8CService 22
_ZN8CConnman16ProcessAddrFetchEv 26
_ZN8CConnman21ThreadOpenConnectionsENSt3__16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEE 27
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK3$_3clEv 27
_Z8AddLocalRK8CServicei 28
_Z20CaptureMessageToFileRK8CAddressRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE4SpanIKhEb 29
_ZN8CConnman14DisconnectNodeERK7CSubNet 32
_ZNK8CConnman21GetTryNewOutboundPeerEv 33
_ZNK8CConnman23GetExtraBlockRelayCountEv 52
_ZNK8CConnman25GetExtraFullOutboundCountEv 52
_ZN8CConnman14DisconnectNodeEl 55
_ZN8CConnman13AddConnectionERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE14ConnectionType 67
_ZNK8CConnman16GetLocalServicesEv 74
_ZNK8CConnman33MultipleManualOrFullOutboundConnsE7Network 76
_ZN11V2TransportC2Elbii 150
_ZNK8CConnman12GetNodeCountE19ConnectionDirection 227
_ZN8CConnman7ForNodeElNSt3__18functionIFbP5CNodeEEE 269
_ZNK8CConnman12GetAddressesEmmNSt3__18optionalI7NetworkEE 338
_ZN8CConnman8FindNodeERK8CService 367
_ZN8CConnman11ConnectNodeE8CAddressPKcb14ConnectionType 382
_ZN8CConnman21OpenNetworkConnectionERK8CAddressbP15CSemaphoreGrantPKc14ConnectionType 382
_ZN8CConnman8FindNodeERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE 384
_ZN8CConnman12GetAddressesER5CNodemm 656
_ZN8CConnman9InitBindsERKNS_7OptionsE 662
_ZN8CConnman19ThreadSocketHandlerEv 669
_ZN8CConnman20ThreadMessageHandlerEv 669
_ZN8CConnman26ThreadOpenAddedConnectionsEv 669
_ZN8CConnman5StartER10CSchedulerRKNS_7OptionsE 669
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK3$_0clEv 669
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK3$_2clEv 669
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK3$_4clEv 669
_ZN8CConnman13DumpAddressesEv 675
_ZN8CConnman18CheckIncomingNonceEm 701
_ZN8CConnman16AcceptConnectionERKNS_12ListenSocketE 707
_ZN8CConnman28CreateNodeFromAcceptedSocketEONSt3__110unique_ptrI4SockNS0_14default_deleteIS2_EEEE18NetPermissionFlagsRK8CAddressSA_ 707
_ZNK8CConnman27AddWhitelistPermissionFlagsER18NetPermissionFlagsRK8CNetAddr 707
net.cpp:_ZN12_GLOBAL__N_112V2MessageMapC2Ev 800
_ZN8CConnmanC2EmmR7AddrManRK15NetGroupManagerb 957
_ZN8CConnmanD2Ev 957
_ZN8CConnman16SetNetworkActiveEb 964
_ZN8CConnman21SetTryNewOutboundPeerEb 967
_ZN5CNode12SetAddrLocalERK8CService 1055
_ZN8CConnman10DeleteNodeEP5CNode 1072
_ZN8CConnman12GetNewNodeIdEv 1072
_ZNK8CConnman22CalculateKeyedNetGroupERK8CAddress 1072
net.cpp:_ZL14GetBindAddressRK4Sock 1073
_ZNK8CConnman30GetMaxOutboundTimeLeftInCycle_Ev 1109
_ZN5CNodeC2ElNSt3__110shared_ptrI4SockEERK8CAddressmmS6_RKNS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE14ConnectionTypebO12CNodeOptions 1140
_Z19GetLocalAddrForPeerR5CNode 1150
_Z19IsPeerAddrLocalGoodP5CNode 1150
_Z13GetListenPortv 1181
_Z15GetLocalAddressRK5CNode 1192
_Z8GetLocalR8CServiceRK5CNode 1192
_Z11IsReachableRK8CNetAddr 1308
_ZN8CConnman14BindListenPortERK8CServiceR13bilingual_str18NetPermissionFlags 1327
_ZN8CConnman4BindERK8CServicej18NetPermissionFlags 1327
_ZN5CNode21CloseSocketDisconnectEv 1373
_ZN8CConnman11StopThreadsEv 1673
_ZN8CConnman9InterruptEv 1673
_ZN8CConnman9StopNodesEv 1673
_Z12SetReachable7Networkb 2124
_Z11IsReachable7Network 2198
_ZNK8CConnman16GetAddedNodeInfoEv 2445
_ZNK8CConnman26GetDeterministicRandomizerEm 2853
_ZNK8CConnman12GetNodeStatsERNSt3__16vectorI10CNodeStatsNS0_9allocatorIS2_EEEE 5413
net.cpp:_ZNK12_GLOBAL__N_112V2MessageMapclERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE 5593
_ZN11V2Transport14GetMessageTypeER4SpanIKhE 5995
_ZN5CNode9CopyStatsER10CNodeStats 9100
_ZNK5CNode23ConnectedThroughNetworkEv 9927
_ZNK5CNode12GetAddrLocalEv 10258
_ZNK8CConnman11GetMappedASERK8CNetAddr 10494
_Z20MaybeFlipIPv6toCJDNSRK8CService 25254
net.cpp:_ZZNK8CConnman12GetAddressesEmmNSt3__18optionalI7NetworkEEENK3$_0clERK8CAddress 25466
_ZN11V2Transport18GetReceivedMessageENSt3__16chrono8durationIxNS0_5ratioILl1ELl1000000EEEEERb 26409
_ZNK8CConnman21OutboundTargetReachedEb 33730
_ZN8CConnman18NodeFullyConnectedEPK5CNode 54527
_ZN5CNode29MarkReceivedMsgsForProcessingEv 113765
_ZN8CConnman11PushMessageEP5CNodeO17CSerializedNetMsg 130765
_ZN8CConnman15RecordBytesSentEm 130913
_ZNK8CConnman14SocketSendDataER5CNode 130955
_ZN8CConnman15RecordBytesRecvEm 150824
_ZN5CNode15ReceiveMsgBytesE4SpanIKhERb 150830
_ZN11V2Transport27ProcessReceivedMaybeV1BytesEv 151654
_ZN11V1Transport18GetReceivedMessageENSt3__16chrono8durationIxNS0_5ratioILl1ELl1000000EEEEERb 154441
_ZNK11V1Transport14GetMessageHashEv 154441
_ZN8CConnman18WakeMessageHandlerEv 166383
_ZN11V1Transport10readHeaderE4SpanIKhE 186730
_ZN11V1Transport8readDataE4SpanIKhE 191840
net.cpp:_ZZN8CConnman20ThreadMessageHandlerEvENK3$_0clEv 201639
_ZN8CConnman13SocketHandlerEv 217390
_ZN8CConnman15DisconnectNodesEv 217390
_ZN8CConnman19GenerateWaitSocketsE4SpanIKP5CNodeE 217390
_ZN8CConnman22SocketHandlerConnectedERKNSt3__16vectorIP5CNodeNS0_9allocatorIS3_EEEERKNS0_13unordered_mapINS0_10shared_ptrIK4SockEENSB_6EventsENSB_17HashSharedPtrSockENSB_18EqualSharedPtrSockENS4_INS0_4pairIKSD_SE_EEEEEE 217390
_ZN8CConnman22SocketHandlerListeningERKNSt3__113unordered_mapINS0_10shared_ptrIK4SockEENS3_6EventsENS3_17HashSharedPtrSockENS3_18EqualSharedPtrSockENS0_9allocatorINS0_4pairIKS5_S6_EEEEEE 217390
_ZN8CConnman27NotifyNumConnectionsChangedEv 217390
_ZNK11V1Transport18GetSendMemoryUsageEv 261720
_ZN5CNode11PollMessageEv 264261
_ZN11V2Transport23ProcessReceivedKeyBytesEv 310631
_ZN11V2TransportC2ElbiiRK4CKey4SpanIKSt4byteES3_IKhE 340050
_ZN11V1TransportC2Elii 366288
_ZNK8CConnman15InactivityCheckERK5CNode 381507
_ZN11V2Transport12SetSendStateENS_9SendStateE 388350
_ZN11V1Transport13MarkBytesSentEm 416017
_ZNK17CSerializedNetMsg14GetMemoryUsageEv 523261
_ZN11V2Transport13ReceivedBytesER4SpanIKhE 562456
_ZNK11V2Transport23ReceivedMessageCompleteEv 563892
_ZN11V2Transport13MarkBytesSentEm 565293
_ZNK8CConnman25ShouldRunInactivityChecksERK5CNodeNSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEE 643500
_ZN11V1Transport16SetMessageToSendER17CSerializedNetMsg 707782
_ZN11V2Transport16SetMessageToSendER17CSerializedNetMsg 940289
_ZN11V2Transport15SetReceiveStateENS_9RecvStateE 1139624
_ZN11V2Transport26ProcessReceivedPacketBytesEv 1210688
_ZNK11V1Transport14GetBytesToSendEb 3507860
_ZN11V2Transport27ProcessReceivedGarbageBytesEv 4607695
_ZN11V2Transport20GetMaxBytesToProcessEv 6281322
_ZNK11V2Transport14GetBytesToSendEb 8952644

Generated by: LCOV version 3.1-eol-3983-g6fec45e53af6