Preparing report...

Report for github.com/Bhinneka/kredivo-go

A    Great!    Found 8 issues across 10 files

Tweet

gofmt90%

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!


gocyclo90%

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.


golint40%

Golint is a linter for Go source code.

    • kredivo-go/request.go
    • Line 3: warning: comment on exported type ConfirmRequest should be of the form "ConfirmRequest ..." (with optional leading article) (golint)
    • kredivo-go/response.go
    • Line 3: warning: comment on exported type CheckoutResponse should be of the form "CheckoutResponse ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type CheckoutErrorResponse should be of the form "CheckoutErrorResponse ..." (with optional leading article) (golint)
    • Line 17: warning: comment on exported type PaymentResponse should be of the form "PaymentResponse ..." (with optional leading article) (golint)
    • Line 66: warning: comment on exported type StatusMessage should be of the form "StatusMessage ..." (with optional leading article) (golint)
    • Line 72: warning: comment on exported type ConfirmationResponse should be of the form "ConfirmationResponse ..." (with optional leading article) (golint)
    • Line 86: warning: comment on exported type CancelResponse should be of the form "CancelResponse ..." (with optional leading article) (golint)
    • kredivo-go/service.go
    • Line 3: warning: comment on exported type ServiceResult should be of the form "ServiceResult ..." (with optional leading article) (golint)
    • Line 9: warning: comment on exported type KredivoService should be of the form "KredivoService ..." (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!


misspell90%

Misspell Finds commonly misspelled English words

    • kredivo-go/http.go
    • Line 16: warning: "Paramter" is a misspelling of "Parameter" (misspell)
    • Line 23: warning: "initalize" is a misspelling of "initialize" (misspell)
    • Line 24: warning: "paramters" is a misspelling of "parameters" (misspell)