Preparing report...

Report for github.com/grupokindynos/delphi

B    Not bad!    Found 4 issues across 4 files

Tweet

gofmt75%

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


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!


gocyclo75%

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.


golint0%

Golint is a linter for Go source code.

    • delphi/models/coins.go
    • Line 7: warning: exported type CoinsResponse should have comment or be unexported (golint)
    • Line 11: warning: exported type CoinLegacy should have comment or be unexported (golint)
    • Line 15: warning: exported type CoinInfoLegacy should have comment or be unexported (golint)
    • Line 36: warning: exported type CoinNetworkInfoLegacy should have comment or be unexported (golint)
    • Line 45: warning: exported type CoinsResponseV2 should have comment or be unexported (golint)
    • Line 50: warning: exported type CoinsRequestBody should have comment or be unexported (golint)
    • delphi/controller/delphi.go
    • Line 16: warning: exported type DelphiController should have comment or be unexported (golint)
    • Line 27: warning: exported method DelphiController.GetCoins should have comment or be unexported (golint)
    • Line 65: warning: exported method DelphiController.GetCoinsList should have comment or be unexported (golint)
    • Line 100: warning: exported method DelphiController.GetVersions should have comment or be unexported (golint)
    • Line 110: warning: exported method DelphiController.GetCoinsDev should have comment or be unexported (golint)
    • Line 121: warning: exported method DelphiController.GetCoinsListDev should have comment or be unexported (golint)
    • Line 131: warning: exported method DelphiController.GetCoinsV2 should have comment or be unexported (golint)
    • Line 179: warning: exported method DelphiController.GetDevCoinsV2 should have comment or be unexported (golint)
    • Line 201: warning: exported method DelphiController.GetCoinInfoV2 should have comment or be unexported (golint)
    • Line 250: warning: exported method DelphiController.GetCoinInfoV3 should have comment or be unexported (golint)
    • Line 265: warning: exported method DelphiController.GetCoinsVersion should have comment or be unexported (golint)
    • delphi/main.go
    • Line 36: warning: exported function ApplyRoutes 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!