LCOV - code coverage report
Current view: top level - src - net.cpp (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 1718 2067 83.1 %
Date: 2022-04-21 14:51:19 Functions: 133 140 95.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 695 1078 64.5 %

Function Name Sort by function name Hit count Sort by hit count
_Z8AddLocalRK8CNetAddri 0
_Z9SeenLocalRK8CService 0
_ZN11CNetCleanupD2Ev 0
_ZN8CConnman25AlreadyConnectedToAddressERK8CAddress 0
_ZN8CConnman8FindNodeERK7CSubNet 0
_ZN8CConnman8FindNodeERK8CNetAddr 0
net.cpp:_ZL9GetnScoreRK8CService 0
_ZN8CConnman24AttemptToEvictConnectionEv 1
_Z11RemoveLocalRK8CService 2
_Z8AddLocalRK8CServicei 2
_Z8Discoverv 2
_ZN8CConnman14DisconnectNodeERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE 2
_ZN8CConnman15RemoveAddedNodeERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE 2
_ZN8CConnman7AddNodeERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE 2
_ZN8CConnman23ThreadI2PAcceptIncomingEv 3
net.cpp:_ZL12ConvertSeedsRKNSt3__16vectorIhNS_9allocatorIhEEEE 3
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK4$_16clEv 3
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK4$_17clEv 3
_Z7IsLocalRK8CService 6
_ZN8CConnman12AddAddrFetchERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE 6
_ZNK8CConnman20GetMaxOutboundTargetEv 8
_ZNK8CConnman23GetMaxOutboundTimeframeEv 8
_ZNK8CConnman26GetOutboundTargetBytesLeftEv 8
_ZN8CConnman20ThreadDNSAddressSeedEv 10
_ZNK8CConnman17GetTotalBytesRecvEv 10
_ZNK8CConnman17GetTotalBytesSentEv 10
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK4$_12clEv 10
_ZN8CConnman14DisconnectNodeERK8CNetAddr 16
_ZNK8CConnman29GetCurrentBlockRelayOnlyConnsEv 19
_ZN8CConnman21ThreadOpenConnectionsENSt3__16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEE 22
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK4$_14clEv 22
_ZN8CConnman16ProcessAddrFetchEv 26
_ZN8CConnman14DisconnectNodeERK7CSubNet 30
_Z20CaptureMessageToFileRK8CAddressRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE4SpanIKhEb 33
_ZN8CConnman14DisconnectNodeEl 51
_ZN8CConnman13AddConnectionERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE14ConnectionType 55
_ZNK8CConnman21GetTryNewOutboundPeerEv 67
_ZNK8CConnman16GetLocalServicesEv 79
_ZNK8CConnman23GetExtraBlockRelayCountEv 143
_ZNK8CConnman25GetExtraFullOutboundCountEv 143
_ZNK8CConnman12GetNodeCountE19ConnectionDirection 251
_ZN8CConnman7ForNodeElNSt3__18functionIFbP5CNodeEEE 329
_ZNK8CConnman12GetAddressesEmmNSt3__18optionalI7NetworkEE 361
_ZN8CConnman8FindNodeERK8CService 427
_ZN8CConnman11ConnectNodeE8CAddressPKcb14ConnectionType 439
_ZN8CConnman21OpenNetworkConnectionERK8CAddressbP15CSemaphoreGrantPKc14ConnectionType 439
_ZN8CConnman8FindNodeERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE 441
_ZN8CConnman12GetAddressesER5CNodemm 636
_ZN8CConnman18CheckIncomingNonceEm 672
_ZN8CConnman16AcceptConnectionERKNS_12ListenSocketE 679
_ZN8CConnman28CreateNodeFromAcceptedSocketEONSt3__110unique_ptrI4SockNS0_14default_deleteIS2_EEEE18NetPermissionFlagsRK8CAddressSA_ 679
_ZNK8CConnman27AddWhitelistPermissionFlagsER18NetPermissionFlagsRK8CNetAddr 679
_ZN8CConnman9InitBindsERKNS_7OptionsE 717
_ZN8CConnman19ThreadSocketHandlerEv 719
_ZN8CConnman20ThreadMessageHandlerEv 719
_ZN8CConnman26ThreadOpenAddedConnectionsEv 719
_ZN8CConnman5StartER10CSchedulerRKNS_7OptionsE 719
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK4$_11clEv 719
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK4$_13clEv 719
net.cpp:_ZZN8CConnman5StartER10CSchedulerRKNS_7OptionsEENK4$_15clEv 719
_ZN8CConnman13DumpAddressesEv 722
_ZN11CNetCleanupC2Ev 828
_ZN8CConnmanC2EmmR7AddrManb 968
_ZN8CConnmanD2Ev 968
_ZN8CConnman21SetTryNewOutboundPeerEb 974
_ZN8CConnman16SetNetworkActiveEb 975
_Z19GetLocalAddrForPeerP5CNode 1028
_ZN5CNode12SetAddrLocalERK8CService 1086
_ZN8CConnman10DeleteNodeEP5CNode 1107
_ZN8CConnman12GetNewNodeIdEv 1107
_ZNK8CConnman22CalculateKeyedNetGroupERK8CAddress 1107
net.cpp:_ZL14GetBindAddressj 1108
_ZNK8CConnman29GetMaxOutboundTimeLeftInCycleEv 1110
_ZN5CNodeC2El12ServiceFlagsNSt3__110shared_ptrI4SockEERK8CAddressmmS7_RKNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE14ConnectionTypeb 1157
_Z11IsReachableRK8CNetAddr 1267
_Z15GetLocalAddressPK8CNetAddr12ServiceFlags 1291
_Z19IsPeerAddrLocalGoodP5CNode 1291
_Z8GetLocalR8CServicePK8CNetAddr 1291
_Z13GetListenPortv 1300
_ZN5CNode21CloseSocketDisconnectEv 1346
_ZN8CConnman14BindListenPortERK8CServiceR13bilingual_str18NetPermissionFlags 1434
_ZN8CConnman4BindERK8CServicej18NetPermissionFlags 1434
_ZN8CConnman11StopThreadsEv 1725
_ZN8CConnman9InterruptEv 1725
_ZN8CConnman9StopNodesEv 1725
_Z11IsReachable7Network 2130
_Z12SetReachable7Networkb 2253
_ZNK8CConnman26GetDeterministicRandomizerEm 2883
_Z17SelectNodeToEvictONSt3__16vectorI21NodeEvictionCandidateNS_9allocatorIS1_EEEE 3185
_Z20MaybeFlipIPv6toCJDNSRK8CService 3223
_Z32ProtectEvictionCandidatesByRatioRNSt3__16vectorI21NodeEvictionCandidateNS_9allocatorIS1_EEEE 3249
net.cpp:_ZZ17SelectNodeToEvictONSt3__16vectorI21NodeEvictionCandidateNS_9allocatorIS1_EEEEENK3$_6clERKS1_ 5437
_ZNK8CConnman16GetAddedNodeInfoEv 5825
_ZNK8CConnman12GetNodeStatsERNSt3__16vectorI10CNodeStatsNS0_9allocatorIS2_EEEE 8690
net.cpp:_ZZ32ProtectEvictionCandidatesByRatioRNSt3__16vectorI21NodeEvictionCandidateNS_9allocatorIS1_EEEEENK3$_1clEZ32ProtectEvictionCandidatesByRatioS5_E3NetS7_ 14380
_ZN22CompareNodeNetworkTimeC2Eb7Network 14602
net.cpp:_ZL18EraseLastKElementsI21NodeEvictionCandidate22CompareNodeNetworkTimeEvRNSt3__16vectorIT_NS2_9allocatorIS4_EEEET0_mNS2_8functionIFbRKS0_EEE 14602
_ZN5CNode9CopyStatsER10CNodeStats 14875
_ZNK5CNode23ConnectedThroughNetworkEv 14904
_Z22ConnectionTypeAsString14ConnectionType 15344
_ZNK8CConnman21OutboundTargetReachedEb 15866
_ZNK5CNode12GetAddrLocalEv 16174
net.cpp:_ZZ32ProtectEvictionCandidatesByRatioRNSt3__16vectorI21NodeEvictionCandidateNS_9allocatorIS1_EEEEENK3$_2clERKZ32ProtectEvictionCandidatesByRatioS5_E3Net 19168
net.cpp:_ZL18EraseLastKElementsI21NodeEvictionCandidatePFbRKS0_S2_EEvRNSt3__16vectorIT_NS5_9allocatorIS7_EEEET0_mNS5_8functionIFbS2_EEE 19174
net.cpp:_ZZNK8CConnman12GetAddressesEmmNSt3__18optionalI7NetworkEEENK4$_19clERK8CAddress 21524
net.cpp:_ZZ17SelectNodeToEvictONSt3__16vectorI21NodeEvictionCandidateNS_9allocatorIS1_EEEEENK3$_5clERKS1_ 22865
net.cpp:_ZZ32ProtectEvictionCandidatesByRatioRNSt3__16vectorI21NodeEvictionCandidateNS_9allocatorIS1_EEEEENK3$_3clERKS1_ 60290
_ZN8CConnman18NodeFullyConnectedEPK5CNode 60625
_ZNK8CConnman19GetReceiveFloodSizeEv 107420
_ZN23V1TransportDeserializer10GetMessageENSt3__16chrono8durationIxNS0_5ratioILl1ELl1000000EEEEERb 111710
_ZNK23V1TransportDeserializer14GetMessageHashEv 111710
_ZN23V1TransportDeserializer10readHeaderE4SpanIKhE 111715
_ZN21V1TransportSerializer19prepareForTransportER17CSerializedNetMsgRNSt3__16vectorIhNS2_9allocatorIhEEEE 113377
_ZN8CConnman11PushMessageEP5CNodeO17CSerializedNetMsg 113377
_ZN8CConnman15RecordBytesSentEm 113465
_ZNK8CConnman14SocketSendDataER5CNode 113499
net.cpp:_ZZL18EraseLastKElementsI21NodeEvictionCandidatePFbRKS0_S2_EEvRNSt3__16vectorIT_NS5_9allocatorIS7_EEEET0_mNS5_8functionIFbS2_EEEENK3$_4clES2_ 121854
net.cpp:_ZZ17SelectNodeToEvictONSt3__16vectorI21NodeEvictionCandidateNS_9allocatorIS1_EEEEENK3$_7clERKS1_ 122746
_ZN23V1TransportDeserializer8readDataE4SpanIKhE 129326
_ZN5CNode15ReceiveMsgBytesE4SpanIKhERb 130067
_ZN8CConnman15RecordBytesRecvEm 130067
_ZN8CConnman18WakeMessageHandlerEv 155420
_ZN8CConnman12SocketEventsERKNSt3__16vectorIP5CNodeNS0_9allocatorIS3_EEEERNS0_3setIjNS0_4lessIjEENS4_IjEEEESE_SE_ 316051
_ZN8CConnman13SocketHandlerEv 316051
_ZN8CConnman15DisconnectNodesEv 316051
_ZN8CConnman17GenerateSelectSetERKNSt3__16vectorIP5CNodeNS0_9allocatorIS3_EEEERNS0_3setIjNS0_4lessIjEENS4_IjEEEESE_SE_ 316051
_ZN8CConnman22SocketHandlerConnectedERKNSt3__16vectorIP5CNodeNS0_9allocatorIS3_EEEERKNS0_3setIjNS0_4lessIjEENS4_IjEEEESF_SF_ 316051
_ZN8CConnman22SocketHandlerListeningERKNSt3__13setIjNS0_4lessIjEENS0_9allocatorIjEEEE 316051
_ZN8CConnman27NotifyNumConnectionsChangedEv 316051
net.cpp:_ZZN8CConnman20ThreadMessageHandlerEvENK4$_10clEv 321783
_ZNK8CConnman15InactivityCheckERK5CNode 497667
_ZNK8CConnman25ShouldRunInactivityChecksERK5CNodeNSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEE 814324
net.cpp:_ZZ32ProtectEvictionCandidatesByRatioRNSt3__16vectorI21NodeEvictionCandidateNS_9allocatorIS1_EEEEENK3$_0clERKS1_ 980188
net.cpp:_ZL31ReverseCompareNodeTimeConnectedRK21NodeEvictionCandidateS1_ 1338752
net.cpp:_ZL17CompareNodeTXTimeRK21NodeEvictionCandidateS1_ 2189630
net.cpp:_ZL29CompareNodeBlockRelayOnlyTimeRK21NodeEvictionCandidateS1_ 2299575
net.cpp:_ZL29ReverseCompareNodeMinPingTimeRK21NodeEvictionCandidateS1_ 2329532
net.cpp:_ZL20CompareNodeBlockTimeRK21NodeEvictionCandidateS1_ 2499706
net.cpp:_ZL20CompareNetGroupKeyedRK21NodeEvictionCandidateS1_ 2709598
_ZNK22CompareNodeNetworkTimeclERK21NodeEvictionCandidateS2_ 8660118

Generated by: LCOV version 0-eol-96201-ge66f56f4af6a