Preparing report...

Report for github.com/wzshiming/putingh

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


gocyclo66%

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.


golint66%

Golint is a linter for Go source code.

    • putingh/putingh.go
    • Line 25: warning: exported var DefaultOptions should have comment or be unexported (golint)
    • Line 42: warning: exported type Option should have comment or be unexported (golint)
    • Line 44: warning: exported function NewPutInGH should have comment or be unexported (golint)
    • Line 69: warning: exported function WithTmpDir should have comment or be unexported (golint)
    • Line 75: warning: exported function WithGitCommitMessage should have comment or be unexported (golint)
    • Line 81: warning: exported function WithGitAuthorSignature should have comment or be unexported (golint)
    • Line 93: warning: exported function WithGitCommitOptions should have comment or be unexported (golint)
    • Line 99: warning: exported function WithContext should have comment or be unexported (golint)
    • Line 105: warning: exported function WithOutput should have comment or be unexported (golint)
    • Line 111: warning: exported function WithHost should have comment or be unexported (golint)
    • Line 117: warning: exported function WithPerPage should have comment or be unexported (golint)
    • Line 123: warning: exported function WithHTTPClient should have comment or be unexported (golint)
    • Line 129: warning: exported type PutInGH should have comment or be unexported (golint)
    • Line 143: warning: exported method PutInGH.GetFrom should have comment or be unexported (golint)
    • Line 171: warning: exported method PutInGH.PutInWithFile should have comment or be unexported (golint)
    • Line 199: warning: exported method PutInGH.PutIn should have comment or be unexported (golint)
    • Line 227: warning: exported method PutInGH.PutInGistWithFile should have comment or be unexported (golint)
    • Line 236: warning: exported method PutInGH.GetFromGist should have comment or be unexported (golint)
    • Line 275: warning: exported method PutInGH.PutInGist should have comment or be unexported (golint)
    • Line 334: warning: exported method PutInGH.GetFromReleasesAsset should have comment or be unexported (golint)
    • Line 378: warning: exported method PutInGH.PutInReleasesAssetWithFile should have comment or be unexported (golint)
    • Line 435: warning: exported method PutInGH.PutInReleasesAsset should have comment or be unexported (golint)
    • Line 450: warning: exported method PutInGH.GetFromGit should have comment or be unexported (golint)
    • Line 463: warning: exported method PutInGH.PutInGitWithFile should have comment or be unexported (golint)
    • Line 472: warning: exported method PutInGH.PutInGit should have comment or be unexported (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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!