lbcd/test_coverage.txt
Dave Collins 27bc18ba2e Switch test coverage tool to new 'go tool cover'.
Also, make the coverage report test ldb and memdb instead of just sqlite3.
2014-01-19 02:35:41 -06:00

104 lines
5.8 KiB
Text

PASS
coverage: 63.3% of statements
ok github.com/conformal/btcdb 0.781s
github.com\conformal\btcdb\db.go: AddDBDriver 100.0%
github.com\conformal\btcdb\db.go: CreateDB 100.0%
github.com\conformal\btcdb\db.go: OpenDB 100.0%
github.com\conformal\btcdb\db.go: SupportedDBs 100.0%
github.com\conformal\btcdb\log.go: init 100.0%
github.com\conformal\btcdb\log.go: DisableLog 100.0%
github.com\conformal\btcdb\log.go: UseLogger 0.0%
github.com\conformal\btcdb\log.go: SetLogWriter 0.0%
github.com\conformal\btcdb\log.go: GetLog 100.0%
total: (statements) 63.3%
============================================================
PASS
coverage: 77.3% of statements
ok github.com/conformal/btcdb/ldb 0.581s
github.com\conformal\btcdb\ldb\block.go: FetchBlockBySha 100.0%
github.com\conformal\btcdb\ldb\block.go: fetchBlockBySha 75.0%
github.com\conformal\btcdb\ldb\block.go: getBlkLoc 75.0%
github.com\conformal\btcdb\ldb\block.go: getBlkByHeight 100.0%
github.com\conformal\btcdb\ldb\block.go: getBlk 77.8%
github.com\conformal\btcdb\ldb\block.go: setBlk 85.7%
github.com\conformal\btcdb\ldb\block.go: insertBlockData 86.7%
github.com\conformal\btcdb\ldb\block.go: fetchSha 83.3%
github.com\conformal\btcdb\ldb\block.go: ExistsSha 100.0%
github.com\conformal\btcdb\ldb\block.go: blkExistsSha 75.0%
github.com\conformal\btcdb\ldb\block.go: FetchBlockShaByHeight 0.0%
github.com\conformal\btcdb\ldb\block.go: fetchBlockShaByHeight 0.0%
github.com\conformal\btcdb\ldb\block.go: FetchHeightRange 94.4%
github.com\conformal\btcdb\ldb\block.go: NewestSha 100.0%
github.com\conformal\btcdb\ldb\block.go: NewIterateBlocks 0.0%
github.com\conformal\btcdb\ldb\dbcache.go: InvalidateTxCache 0.0%
github.com\conformal\btcdb\ldb\dbcache.go: InvalidateBlockCache 0.0%
github.com\conformal\btcdb\ldb\dbcache.go: InvalidateCache 0.0%
github.com\conformal\btcdb\ldb\leveldb.go: init 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: OpenDB 97.1%
github.com\conformal\btcdb\ldb\leveldb.go: openDB 75.0%
github.com\conformal\btcdb\ldb\leveldb.go: CreateDB 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: close 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: Sync 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: Close 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: DropAfterBlockBySha 80.6%
github.com\conformal\btcdb\ldb\leveldb.go: InsertBlock 43.9%
github.com\conformal\btcdb\ldb\leveldb.go: SetDBInsertMode 0.0%
github.com\conformal\btcdb\ldb\leveldb.go: doSpend 90.0%
github.com\conformal\btcdb\ldb\leveldb.go: unSpend 90.0%
github.com\conformal\btcdb\ldb\leveldb.go: setSpentData 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: clearSpentData 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: setclearSpentData 93.2%
github.com\conformal\btcdb\ldb\leveldb.go: int64ToKey 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: shaBlkToKey 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: shaTxToKey 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: shaSpentTxToKey 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: lBatch 100.0%
github.com\conformal\btcdb\ldb\leveldb.go: processBatches 78.6%
github.com\conformal\btcdb\ldb\leveldb.go: RollbackClose 100.0%
github.com\conformal\btcdb\ldb\tx.go: InsertTx 0.0%
github.com\conformal\btcdb\ldb\tx.go: insertTx 100.0%
github.com\conformal\btcdb\ldb\tx.go: formatTx 66.7%
github.com\conformal\btcdb\ldb\tx.go: getTxData 69.2%
github.com\conformal\btcdb\ldb\tx.go: getTxFullySpent 75.0%
github.com\conformal\btcdb\ldb\tx.go: formatTxFullySpent 65.2%
github.com\conformal\btcdb\ldb\tx.go: ExistsTxSha 100.0%
github.com\conformal\btcdb\ldb\tx.go: existsTxSha 75.0%
github.com\conformal\btcdb\ldb\tx.go: FetchTxByShaList 100.0%
github.com\conformal\btcdb\ldb\tx.go: FetchUnSpentTxByShaList 100.0%
github.com\conformal\btcdb\ldb\tx.go: fetchTxDataBySha 100.0%
github.com\conformal\btcdb\ldb\tx.go: fetchTxDataByLoc 64.3%
github.com\conformal\btcdb\ldb\tx.go: FetchTxBySha 55.6%
total: (statements) 76.9%
============================================================
PASS
coverage: 44.2% of statements
ok github.com/conformal/btcdb/memdb 0.454s
github.com\conformal\btcdb\memdb\driver.go: init 100.0%
github.com\conformal\btcdb\memdb\driver.go: OpenDB 0.0%
github.com\conformal\btcdb\memdb\driver.go: CreateDB 100.0%
github.com\conformal\btcdb\memdb\memdb.go: newShaHashFromStr 100.0%
github.com\conformal\btcdb\memdb\memdb.go: isCoinbaseInput 75.0%
github.com\conformal\btcdb\memdb\memdb.go: isFullySpent 0.0%
github.com\conformal\btcdb\memdb\memdb.go: removeTx 0.0%
github.com\conformal\btcdb\memdb\memdb.go: Close 100.0%
github.com\conformal\btcdb\memdb\memdb.go: DropAfterBlockBySha 23.5%
github.com\conformal\btcdb\memdb\memdb.go: ExistsSha 62.5%
github.com\conformal\btcdb\memdb\memdb.go: FetchBlockBySha 44.4%
github.com\conformal\btcdb\memdb\memdb.go: FetchBlockShaByHeight 33.3%
github.com\conformal\btcdb\memdb\memdb.go: FetchHeightRange 19.0%
github.com\conformal\btcdb\memdb\memdb.go: ExistsTxSha 62.5%
github.com\conformal\btcdb\memdb\memdb.go: FetchTxBySha 20.0%
github.com\conformal\btcdb\memdb\memdb.go: fetchTxByShaList 33.3%
github.com\conformal\btcdb\memdb\memdb.go: FetchTxByShaList 100.0%
github.com\conformal\btcdb\memdb\memdb.go: FetchUnSpentTxByShaList 100.0%
github.com\conformal\btcdb\memdb\memdb.go: InsertBlock 51.7%
github.com\conformal\btcdb\memdb\memdb.go: InvalidateBlockCache 100.0%
github.com\conformal\btcdb\memdb\memdb.go: InvalidateCache 100.0%
github.com\conformal\btcdb\memdb\memdb.go: InvalidateTxCache 100.0%
github.com\conformal\btcdb\memdb\memdb.go: NewIterateBlocks 100.0%
github.com\conformal\btcdb\memdb\memdb.go: NewestSha 36.4%
github.com\conformal\btcdb\memdb\memdb.go: RollbackClose 100.0%
github.com\conformal\btcdb\memdb\memdb.go: SetDBInsertMode 100.0%
github.com\conformal\btcdb\memdb\memdb.go: Sync 100.0%
github.com\conformal\btcdb\memdb\memdb.go: newMemDb 100.0%
total: (statements) 44.2%