Preparing report...

Report for github.com/aws-controllers-k8s/dev-tools

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


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!


golint59%

Golint is a linter for Go source code.

    • dev-tools/pkg/repository/manager.go
    • Line 41: warning: exported var ErrUnauthenticated should have comment or be unexported (golint)
    • Line 248: warning: comment on exported method Manager.EnsureFork should be of the form "EnsureFork ..." (golint)
    • Line 283: warning: exported method Manager.EnsureClone should have comment or be unexported (golint)
    • Line 306: warning: comment on exported method Manager.EnsureRepository should be of the form "EnsureRepository ..." (golint)
    • dev-tools/pkg/repository/sort.go
    • Line 53: warning: comment on exported function ByName should be of the form "ByName ..." (golint)
    • Line 58: warning: comment on exported function ByBranch should be of the form "ByBranch ..." (golint)
    • Line 63: warning: comment on exported function ByType should be of the form "ByType ..." (golint)
    • dev-tools/pkg/github/client.go
    • Line 27: warning: exported var ErrForkNotFound should have comment or be unexported (golint)
    • Line 30: warning: exported const ACKOrg should have comment (or a comment on this block) or be unexported (golint)
    • dev-tools/pkg/repository/type.go
    • Line 16: warning: exported type RepositoryType should have comment or be unexported (golint)
    • Line 19: warning: exported const RepositoryTypeCore should have comment (or a comment on this block) 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!


misspell87%

Misspell Finds commonly misspelled English words