Preparing report...

Report for github.com/go-xiaohei/pugo

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


gocyclo94%

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.


golint92%

Golint is a linter for Go source code.

    • pugo/app/extend/deploy/aws_s3.go
    • Line 21: warning: exported type AwsS3 should have comment or be unexported (golint)
    • Line 29: warning: exported method AwsS3.Command should have comment or be unexported (golint)
    • Line 60: warning: exported method AwsS3.Create should have comment or be unexported (golint)
    • Line 80: warning: exported method AwsS3.Do should have comment or be unexported (golint)
    • pugo/app/extend/deploy/qiniu.go
    • Line 15: warning: exported type Qiniu should have comment or be unexported (golint)
    • Line 23: warning: exported method Qiniu.Command should have comment or be unexported (golint)
    • Line 52: warning: exported method Qiniu.Create should have comment or be unexported (golint)
    • Line 71: warning: exported method Qiniu.Do should have comment or be unexported (golint)
    • pugo/app/extend/deploy/sftp.go
    • Line 18: warning: exported type Sftp should have comment or be unexported (golint)
    • Line 60: warning: exported method Sftp.Create should have comment or be unexported (golint)
    • Line 83: warning: exported method Sftp.Do should have comment or be unexported (golint)
    • Line 111: warning: comment on exported method Sftp.UploadAll should be of the form "UploadAll ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell75%

Misspell Finds commonly misspelled English words