Preparing report...

Report for github.com/goxrp/rippled-rest-api

A    Great!    Found 4 issues across 3 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!


golint0%

Golint is a linter for Go source code.

    • rippled-rest-api/controllers/passthrough.go
    • Line 21: warning: exported const MethodLedger should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type RequestJsonRpc should have comment or be unexported (golint)
    • Line 31: warning: exported method RippleApiService.HandleApiNetHTTP should have comment or be unexported (golint)
    • Line 36: warning: exported method RippleApiService.HandleApiFastHTTP should have comment or be unexported (golint)
    • Line 41: warning: exported method RippleApiService.HandleApiAnyEngine should have comment or be unexported (golint)
    • Line 90: warning: exported method RippleApiService.HandleGetNoParamsAnyEngine should have comment or be unexported (golint)
    • rippled-rest-api/controllers/service.go
    • Line 20: warning: exported const BaseURLPath should have comment or be unexported (golint)
    • Line 22: warning: exported method RippleApiService.HandleApiInfoFastHTTP should have comment or be unexported (golint)
    • Line 26: warning: exported method RippleApiService.HandleApiInfoNetHTTP should have comment or be unexported (golint)
    • Line 30: warning: exported method RippleApiService.HandleApiInfoAnyEngine should have comment or be unexported (golint)
    • Line 42: warning: exported type RippleApiService should have comment or be unexported (golint)
    • Line 49: warning: exported method RippleApiService.PortInt should have comment or be unexported (golint)
    • Line 53: warning: exported method RippleApiService.HttpEngine should have comment or be unexported (golint)
    • Line 57: warning: exported method RippleApiService.Router should have comment or be unexported (golint)
    • Line 68: warning: exported method RippleApiService.RouterFast should have comment or be unexported (golint)
    • Line 75: warning: exported function SubobjectBytes should have comment or be unexported (golint)

license0%

Checks whether your project has a LICENSE file.


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!