Preparing report...

Report for github.com/MindscapeHQ/raygun4go

A+    Excellent!    Found 3 issues across 8 files

Tweet

gofmt87%

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!


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!


golint75%

Golint is a linter for Go source code.

    • raygun4go/request_data.go
    • Line 9: warning: comment on exported type PostData should be of the form "PostData ..." (with optional leading article) (golint)
    • Line 25: warning: comment on exported type DetailsData should be of the form "DetailsData ..." (with optional leading article) (golint)
    • Line 61: warning: comment on exported type ErrorData should be of the form "ErrorData ..." (with optional leading article) (golint)
    • Line 84: warning: comment on exported type StackTraceElement should be of the form "StackTraceElement ..." (with optional leading article) (golint)
    • Line 93: warning: comment on exported type StackTrace should be of the form "StackTrace ..." (with optional leading article) (golint)
    • Line 101: warning: comment on exported type RequestData should be of the form "RequestData ..." (with optional leading article) (golint)
    • Line 132: warning: comment on exported type ClientData should be of the form "ClientData ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type User should be of the form "User ..." (with optional leading article) (golint)
    • Line 144: warning: comment on exported type Context should be of the form "Context ..." (with optional leading article) (golint)
    • raygun4go/raygun4go.go
    • Line 96: warning: exported method Client.Clone should have comment or be unexported (golint)
    • Line 133: warning: comment on exported method Client.Asynchronous should be of the form "Asynchronous ..." (golint)
    • Line 229: warning: comment on exported method Client.CreateError should be of the form "CreateError ..." (golint)
    • Line 237: warning: comment on exported method Client.SendError should be of the form "SendError ..." (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!


misspell75%

Misspell Finds commonly misspelled English words