diff --git a/addrmgr/cov_report.sh b/addrmgr/cov_report.sh deleted file mode 100644 index 307f05b7..00000000 --- a/addrmgr/cov_report.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# This script uses gocov to generate a test coverage report. -# The gocov tool my be obtained with the following command: -# go get github.com/axw/gocov/gocov -# -# It will be installed to $GOPATH/bin, so ensure that location is in your $PATH. - -# Check for gocov. -type gocov >/dev/null 2>&1 -if [ $? -ne 0 ]; then - echo >&2 "This script requires the gocov tool." - echo >&2 "You may obtain it with the following command:" - echo >&2 "go get github.com/axw/gocov/gocov" - exit 1 -fi -gocov test | gocov report diff --git a/addrmgr/test_coverage.txt b/addrmgr/test_coverage.txt deleted file mode 100644 index 59a0090c..00000000 --- a/addrmgr/test_coverage.txt +++ /dev/null @@ -1,62 +0,0 @@ - -github.com/decred/dcrd/addrmgr/network.go GroupKey 100.00% (23/23) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.GetBestLocalAddress 100.00% (19/19) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.getNewBucket 100.00% (15/15) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.AddAddressByIP 100.00% (14/14) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.getTriedBucket 100.00% (14/14) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.AddLocalAddress 100.00% (11/11) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.pickTried 100.00% (8/8) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.reset 100.00% (6/6) -github.com/decred/dcrd/addrmgr/network.go IsRFC1918 100.00% (4/4) -github.com/decred/dcrd/addrmgr/network.go IsRFC5737 100.00% (4/4) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.AddAddresses 100.00% (4/4) -github.com/decred/dcrd/addrmgr/addrmanager.go New 100.00% (3/3) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.NeedMoreAddresses 100.00% (3/3) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.AddAddress 100.00% (3/3) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.NumAddresses 100.00% (3/3) -github.com/decred/dcrd/addrmgr/addrmanager.go NetAddressKey 100.00% (2/2) -github.com/decred/dcrd/addrmgr/network.go IsRFC4862 100.00% (1/1) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.numAddresses 100.00% (1/1) -github.com/decred/dcrd/addrmgr/log.go init 100.00% (1/1) -github.com/decred/dcrd/addrmgr/knownaddress.go KnownAddress.NetAddress 100.00% (1/1) -github.com/decred/dcrd/addrmgr/knownaddress.go KnownAddress.LastAttempt 100.00% (1/1) -github.com/decred/dcrd/addrmgr/log.go DisableLog 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go ipNet 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsIPv4 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsLocal 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsOnionCatTor 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRFC2544 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRFC3849 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRFC3927 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRFC3964 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRFC4193 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRFC4380 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRFC4843 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRFC6052 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRFC6145 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRFC6598 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsValid 100.00% (1/1) -github.com/decred/dcrd/addrmgr/network.go IsRoutable 100.00% (1/1) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.find 100.00% (1/1) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.GetAddress 95.35% (41/43) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.Good 93.18% (41/44) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.Connected 90.00% (9/10) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.addressHandler 88.89% (8/9) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.AddressCache 87.50% (14/16) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.Attempt 85.71% (6/7) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.Start 83.33% (5/6) -github.com/decred/dcrd/addrmgr/knownaddress.go KnownAddress.chance 76.92% (10/13) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.DeserializeNetAddress 71.43% (5/7) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.Stop 71.43% (5/7) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.updateAddress 53.33% (16/30) -github.com/decred/dcrd/addrmgr/addrmanager.go getReachabilityFrom 51.52% (17/33) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.savePeers 51.28% (20/39) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.expireNew 50.00% (11/22) -github.com/decred/dcrd/addrmgr/addrmanager.go ipString 50.00% (2/4) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.loadPeers 45.45% (5/11) -github.com/decred/dcrd/addrmgr/knownaddress.go KnownAddress.isBad 36.36% (4/11) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.HostToNetAddress 26.67% (4/15) -github.com/decred/dcrd/addrmgr/addrmanager.go AddrManager.deserializePeers 6.00% (3/50) -github.com/decred/dcrd/addrmgr/log.go UseLogger 0.00% (0/1) -github.com/decred/dcrd/addrmgr --------------------------------- 71.69% (385/537) -