Preparing report...

Report for github.com/ohsawa0515/akm

A    Great!    Found 16 issues across 25 files

Tweet

gofmt92%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


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!


golint36%

Golint is a linter for Go source code.

    • akm/app/cli.go
    • Line 9: warning: exported function NewCliApps should have comment or be unexported (golint)
    • akm/config/config.go
    • Line 14: warning: exported type AkmConfig should have comment or be unexported (golint)
    • Line 34: warning: exported function CreateAkmConfig should have comment or be unexported (golint)
    • Line 54: warning: exported function NewAkmConfig should have comment or be unexported (golint)
    • Line 65: warning: exported method AkmConfig.Save should have comment or be unexported (golint)
    • Line 80: warning: exported method AkmConfig.Delete should have comment or be unexported (golint)
    • akm/credentials/credentials.go
    • Line 14: warning: exported type AwsCredential should have comment or be unexported (golint)
    • Line 20: warning: exported type AwsCredentials should have comment or be unexported (golint)
    • Line 38: warning: exported function NewAwsCredentials should have comment or be unexported (golint)
    • Line 63: warning: exported method AwsCredentials.ParseAwsCredentials should have comment or be unexported (golint)
    • Line 96: warning: exported method AwsCredentials.ParseAwsConfig should have comment or be unexported (golint)
    • akm/cmd/echo.go
    • Line 10: warning: exported function NewCmdEcho should have comment or be unexported (golint)
    • akm/utils/utils.go
    • Line 9: warning: exported function GetHomeDir should have comment or be unexported (golint)
    • Line 20: warning: exported function IsExist should have comment or be unexported (golint)
    • akm/credentials/prompt.go
    • Line 25: warning: exported method AwsCredential.AccessKeyIdPrompt should have comment or be unexported (golint)
    • Line 49: warning: exported method AwsCredential.SecretAccessKeyPrompt should have comment or be unexported (golint)
    • Line 74: warning: exported method AwsCredential.RegionPrompt should have comment or be unexported (golint)
    • Line 103: warning: exported method AwsCredential.SaveToCredentialsFilePrompt should have comment or be unexported (golint)
    • Line 154: warning: exported method AwsCredential.DeleteProfilePrompt should have comment or be unexported (golint)
    • akm/cmd/list.go
    • Line 11: warning: exported function NewCmdList should have comment or be unexported (golint)
    • akm/cmd/root.go
    • Line 18: warning: exported function NewCmdRoot should have comment or be unexported (golint)
    • Line 56: warning: exported function Execute should have comment or be unexported (golint)
    • akm/cmd/use.go
    • Line 15: warning: exported function NewCmdUse 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!