Preparing report...

Report for github.com/quickfixgo/examples

A+    Excellent!    Found 4 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!


golint42%

Golint is a linter for Go source code.

    • examples/cmd/ordermatch/internal/market.go
    • Line 80: warning: exported method Market.Display should have comment or be unexported (golint)
    • Line 97: warning: exported method Market.Insert should have comment or be unexported (golint)
    • Line 105: warning: exported method Market.Cancel should have comment or be unexported (golint)
    • Line 119: warning: exported method Market.Match should have comment or be unexported (golint)
    • examples/cmd/ordermatch/internal/order.go
    • Line 10: warning: exported type Order should have comment or be unexported (golint)
    • Line 27: warning: exported method Order.IsClosed should have comment or be unexported (golint)
    • Line 31: warning: exported method Order.OpenQuantity should have comment or be unexported (golint)
    • Line 39: warning: exported method Order.Execute should have comment or be unexported (golint)
    • Line 45: warning: exported method Order.Cancel should have comment or be unexported (golint)
    • examples/cmd/ordermatch/internal/ordermatcher.go
    • Line 9: warning: exported type OrderMatcher should have comment or be unexported (golint)
    • Line 13: warning: exported function NewOrderMatcher should have comment or be unexported (golint)
    • Line 17: warning: exported method OrderMatcher.DisplayMarket should have comment or be unexported (golint)
    • Line 23: warning: exported method OrderMatcher.Display should have comment or be unexported (golint)
    • Line 31: warning: exported method OrderMatcher.Insert should have comment or be unexported (golint)
    • Line 41: warning: exported method OrderMatcher.Cancel should have comment or be unexported (golint)
    • Line 50: warning: exported method OrderMatcher.Match should have comment or be unexported (golint)
    • examples/cmd/tradeclient/internal/console.go
    • Line 74: warning: exported function QueryAction should have comment or be unexported (golint)
    • Line 498: warning: exported function QueryEnterOrder should have comment or be unexported (golint)
    • Line 535: warning: exported function QueryCancelOrder should have comment or be unexported (golint)
    • Line 576: warning: exported function QueryMarketDataRequest should have comment or be unexported (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!