Preparing report...

Report for github.com/onuryilmaz/go-wex

A+    Excellent!    Found 2 issues across 7 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo100%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

No problems detected. Good job!


golint71%

Golint is a linter for Go source code.

    • go-wex/structs.go
    • Line 8: warning: exported type Ticker should have comment or be unexported (golint)
    • Line 10: warning: exported type TickerPair should have comment or be unexported (golint)
    • Line 22: warning: exported type Info should have comment or be unexported (golint)
    • Line 27: warning: exported type InfoPair should have comment or be unexported (golint)
    • Line 36: warning: exported type Depth should have comment or be unexported (golint)
    • Line 38: warning: exported type DepthPair should have comment or be unexported (golint)
    • Line 43: warning: exported type DepthItem should have comment or be unexported (golint)
    • Line 45: warning: exported type Trades should have comment or be unexported (golint)
    • Line 46: warning: exported type TradePair should have comment or be unexported (golint)
    • Line 47: warning: exported type TradeItem should have comment or be unexported (golint)
    • Line 55: warning: exported type Response should have comment or be unexported (golint)
    • Line 61: warning: exported type AccountInfo should have comment or be unexported (golint)
    • Line 69: warning: exported type Rights should have comment or be unexported (golint)
    • Line 75: warning: exported type ActiveOrder should have comment or be unexported (golint)
    • Line 84: warning: exported type ActiveOrders should have comment or be unexported (golint)
    • Line 86: warning: exported type TradeResponse should have comment or be unexported (golint)
    • Line 93: warning: exported type OrderInfoItem should have comment or be unexported (golint)
    • Line 103: warning: exported type OrderInfo should have comment or be unexported (golint)
    • Line 105: warning: exported type CancelOrder should have comment or be unexported (golint)
    • Line 110: warning: exported type HistoryFilter should have comment or be unexported (golint)
    • Line 120: warning: exported type TradeHistoryItem should have comment or be unexported (golint)
    • Line 130: warning: exported type TradeHistory should have comment or be unexported (golint)
    • Line 132: warning: exported type TransactionHistoryItem should have comment or be unexported (golint)
    • Line 141: warning: exported type TransactionHistory should have comment or be unexported (golint)
    • Line 143: warning: exported type WithdrawCoin should have comment or be unexported (golint)
    • Line 149: warning: exported type CreateCoupon should have comment or be unexported (golint)
    • Line 155: warning: exported type RedeemCoupon should have comment or be unexported (golint)
    • go-wex/trade.go
    • Line 343: warning: comment on exported type TradeError should be of the form "TradeError ..." (with optional leading article) (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!