-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_coverage.txt
88 lines (86 loc) · 6.94 KB
/
test_coverage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
ok github.com/bcext/cashutil 0.237s coverage: 90.1% of statements
github.com/bcext/cashutil/cashaddrconv.go packAddrData 100.00% (19/19)
github.com/bcext/cashutil/cashaddrconv.go convertBits 100.00% (15/15)
github.com/bcext/cashutil/cashaddr.go polyMod 100.00% (15/15)
github.com/bcext/cashutil/block.go Block.Tx 100.00% (12/12)
github.com/bcext/cashutil/wif.go WIF.String 100.00% (11/11)
github.com/bcext/cashutil/block.go Block.Transactions 100.00% (11/11)
github.com/bcext/cashutil/amount.go AmountUnit.String 100.00% (8/8)
github.com/bcext/cashutil/cashaddr.go createChecksum 100.00% (7/7)
github.com/bcext/cashutil/cashaddrconv.go DecodeCashAddr 100.00% (7/7)
github.com/bcext/cashutil/cashaddr.go Encode 100.00% (7/7)
github.com/bcext/cashutil/block.go NewBlockFromReader 100.00% (6/6)
github.com/bcext/cashutil/tx.go NewTxFromReader 100.00% (6/6)
github.com/bcext/cashutil/block.go NewBlockFromBytes 100.00% (6/6)
github.com/bcext/cashutil/cashaddr.go expandPrefix 100.00% (5/5)
github.com/bcext/cashutil/amount.go NewAmount 100.00% (5/5)
github.com/bcext/cashutil/address.go newAddressPubKeyHash 100.00% (5/5)
github.com/bcext/cashutil/block.go Block.Hash 100.00% (5/5)
github.com/bcext/cashutil/address.go newAddressScriptHashFromHash 100.00% (5/5)
github.com/bcext/cashutil/tx.go Tx.Hash 100.00% (5/5)
github.com/bcext/cashutil/certgen.go @70:13 100.00% (4/4)
github.com/bcext/cashutil/cashaddr.go cat 100.00% (4/4)
github.com/bcext/cashutil/certgen.go @62:11 100.00% (4/4)
github.com/bcext/cashutil/amount.go round 100.00% (3/3)
github.com/bcext/cashutil/amount.go Amount.Format 100.00% (2/2)
github.com/bcext/cashutil/hash160.go calcHash 100.00% (2/2)
github.com/bcext/cashutil/tx.go NewTxFromBytes 100.00% (2/2)
github.com/bcext/cashutil/address.go NewAddressScriptHash 100.00% (2/2)
github.com/bcext/cashutil/amount.go Amount.ToUnit 100.00% (1/1)
github.com/bcext/cashutil/tx.go Tx.Index 100.00% (1/1)
github.com/bcext/cashutil/tx.go Tx.SetIndex 100.00% (1/1)
github.com/bcext/cashutil/tx.go NewTx 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressPubKey.String 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressPubKey.IsForNet 100.00% (1/1)
github.com/bcext/cashutil/amount.go Amount.String 100.00% (1/1)
github.com/bcext/cashutil/amount.go Amount.MulF64 100.00% (1/1)
github.com/bcext/cashutil/tx.go Tx.MsgTx 100.00% (1/1)
github.com/bcext/cashutil/net.go interfaceAddrs 100.00% (1/1)
github.com/bcext/cashutil/block.go OutOfRangeError.Error 100.00% (1/1)
github.com/bcext/cashutil/block.go Block.MsgBlock 100.00% (1/1)
github.com/bcext/cashutil/hash160.go Hash160 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressPubKey.ScriptAddress 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressPubKey.EncodeAddress 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressScriptHash.Hash160 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressScriptHash.String 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressScriptHash.IsForNet 100.00% (1/1)
github.com/bcext/cashutil/block.go Block.Height 100.00% (1/1)
github.com/bcext/cashutil/block.go Block.SetHeight 100.00% (1/1)
github.com/bcext/cashutil/block.go NewBlock 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressScriptHash.ScriptAddress 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressScriptHash.EncodeAddress 100.00% (1/1)
github.com/bcext/cashutil/block.go NewBlockFromBlockAndBytes 100.00% (1/1)
github.com/bcext/cashutil/amount.go Amount.ToBCH 100.00% (1/1)
github.com/bcext/cashutil/address.go NewAddressScriptHashFromHash 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressPubKeyHash.Hash160 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressPubKeyHash.IsForNet 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressPubKeyHash.ScriptAddress 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressPubKeyHash.EncodeAddress 100.00% (1/1)
github.com/bcext/cashutil/cashaddr.go verifyChecksum 100.00% (1/1)
github.com/bcext/cashutil/address.go NewAddressPubKeyHash 100.00% (1/1)
github.com/bcext/cashutil/address.go AddressPubKeyHash.String 100.00% (1/1)
github.com/bcext/cashutil/address.go encodeAddress 100.00% (1/1)
github.com/bcext/cashutil/cashaddr.go Decode 97.37% (37/38)
github.com/bcext/cashutil/cashaddrconv.go decodeCashAddrContent 95.83% (23/24)
github.com/bcext/cashutil/appdata.go appDataDir 91.67% (22/24)
github.com/bcext/cashutil/block.go Block.TxLoc 88.89% (8/9)
github.com/bcext/cashutil/block.go Block.Bytes 88.89% (8/9)
github.com/bcext/cashutil/address.go NewAddressPubKey 87.50% (7/8)
github.com/bcext/cashutil/wif.go DecodeWIF 85.00% (17/20)
github.com/bcext/cashutil/cashaddrconv.go EncodeCashAddr 83.33% (5/6)
github.com/bcext/cashutil/address.go AddressPubKey.serialize 80.00% (4/5)
github.com/bcext/cashutil/address.go DecodeAddress 78.95% (15/19)
github.com/bcext/cashutil/certgen.go NewTLSCertPair 78.85% (41/52)
github.com/bcext/cashutil/block.go Block.TxHash 75.00% (3/4)
github.com/bcext/cashutil/cashaddrconv.go decodeCashAddrDestination 66.67% (8/12)
github.com/bcext/cashutil/wif.go paddedAppend 66.67% (2/3)
github.com/bcext/cashutil/wif.go NewWIF 66.67% (2/3)
github.com/bcext/cashutil/wif.go WIF.SerializePubKey 0.00% (0/4)
github.com/bcext/cashutil/address.go AddressPubKey.AddressPubKeyHash 0.00% (0/3)
github.com/bcext/cashutil/wif.go WIF.IsForNet 0.00% (0/1)
github.com/bcext/cashutil/address.go AddressPubKey.Format 0.00% (0/1)
github.com/bcext/cashutil/address.go AddressPubKey.SetFormat 0.00% (0/1)
github.com/bcext/cashutil/address.go AddressPubKey.PubKey 0.00% (0/1)
github.com/bcext/cashutil/appdata.go AppDataDir 0.00% (0/1)
github.com/bcext/cashutil ------------------------------- 90.11% (419/465)
Total Coverage: 90.11% (419/465)