Preparing report...

Report for github.com/ewhal/Pastebin

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


golint98%

Golint is a linter for Go source code.

    • Pastebin/pastebin.go
    • Line 59: warning: comment on exported type Response should be of the form "Response ..." (with optional leading article) (golint)
    • Line 76: warning: comment on exported type Request should be of the form "Request ..." (with optional leading article) (golint)
    • Line 89: warning: comment on exported type Page should be of the form "Page ..." (with optional leading article) (golint)
    • Line 109: warning: exported type Pastes should have comment or be unexported (golint)
    • Line 349: warning: don't use underscores in Go names; var id_taken should be idTaken (golint)
    • Line 387: warning: don't use underscores in Go names; func parameter user_key should be userKey (golint)
    • Line 568: warning: don't use underscores in Go names; var supported_lang should be supportedLang (golint)
    • Line 568: warning: don't use underscores in Go names; var supported_styles should be supportedStyles (golint)
    • Line 873: warning: don't use underscores in Go names; var email_escaped should be emailEscaped (golint)
    • Line 971: warning: don't use underscores in Go names; var user_key should be userKey (golint)
    • Line 1001: warning: don't use underscores in Go names; var key_taken should be keyTaken (golint)
    • Line 1031: warning: don't use underscores in Go names; var email_escaped should be emailEscaped (golint)
    • Line 1037: warning: don't use underscores in Go names; var email_taken should be emailTaken (golint)

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!


ineffassign99%

IneffAssign detects ineffectual assignments in Go code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell99%

Misspell Finds commonly misspelled English words

    • Pastebin/pastebin.go
    • Line 224: warning: "seperated" is a misspelling of "separated" (misspell)
    • Line 453: warning: "Sucessfully" is a misspelling of "Successfully" (misspell)
    • Line 476: warning: "Recieving" is a misspelling of "Receiving" (misspell)
    • Line 514: warning: "Recieving" is a misspelling of "Receiving" (misspell)
    • Line 622: warning: "highlightning" is a misspelling of "highlighting" (misspell)