Preparing report...

Report for github.com/Disconnect24/Mail-GO

A+    Excellent!    Found 10 issues across 15 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!


gocyclo93%

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.


golint53%

Golint is a linter for Go source code.

    • Mail-GO/utilities/utils.go
    • Line 6: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 45: warning: comment on exported function FriendCodeIsValid should be of the form "FriendCodeIsValid ..." (golint)
    • Line 63: warning: exported function LogError should have comment or be unexported (golint)
    • Mail-GO/auth.go
    • Line 15: warning: exported function AuthForSend should have comment or be unexported (golint)
    • Line 26: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Mail-GO/context_helper.go
    • Line 12: warning: exported const SuccessfulResponse should have comment or be unexported (golint)
    • Line 20: warning: exported function TypedErrorResponse should have comment or be unexported (golint)
    • Line 28: warning: exported function ErrorResponse should have comment or be unexported (golint)
    • Line 36: warning: exported function MailErrorResponse should have comment or be unexported (golint)
    • Mail-GO/federator.go
    • Line 7: warning: comment on exported function Fed_Prep should be of the form "Fed_Prep ..." (golint)
    • Line 8: warning: don't use underscores in Go names; func Fed_Prep should be FedPrep (golint)
    • Line 12: warning: comment on exported function Fed_Send should be of the form "Fed_Send ..." (golint)
    • Line 13: warning: don't use underscores in Go names; func Fed_Send should be FedSend (golint)
    • Mail-GO/wiimail.go
    • Line 29: warning: exported const CRLF should have comment or be unexported (golint)
    • Line 31: warning: exported function FormulateMail should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign80%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!