Preparing report...

Report for github.com/rigup/ephemeral-iam

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


golint86%

Golint is a linter for Go source code.

    • ephemeral-iam/pkg/plugins/plugin.go
    • Line 27: warning: exported var Handshake should have comment or be unexported (golint)
    • Line 40: warning: exported method Command.GRPCServer should have comment or be unexported (golint)
    • Line 45: warning: exported method Command.GRPCClient should have comment or be unexported (golint)
    • ephemeral-iam/internal/plugins/hclog_adapter.go
    • Line 44: warning: exported method HCLogAdapter.Log should have comment or be unexported (golint)
    • Line 61: warning: exported method HCLogAdapter.Trace should have comment or be unexported (golint)
    • Line 65: warning: exported method HCLogAdapter.Debug should have comment or be unexported (golint)
    • Line 69: warning: exported method HCLogAdapter.Info should have comment or be unexported (golint)
    • Line 73: warning: exported method HCLogAdapter.Warn should have comment or be unexported (golint)
    • Line 81: warning: exported method HCLogAdapter.IsTrace should have comment or be unexported (golint)
    • Line 85: warning: exported method HCLogAdapter.IsDebug should have comment or be unexported (golint)
    • Line 89: warning: exported method HCLogAdapter.IsInfo should have comment or be unexported (golint)
    • Line 93: warning: exported method HCLogAdapter.IsWarn should have comment or be unexported (golint)
    • Line 97: warning: exported method HCLogAdapter.IsError should have comment or be unexported (golint)
    • Line 101: warning: exported method HCLogAdapter.ImpliedArgs should have comment or be unexported (golint)
    • Line 106: warning: exported method HCLogAdapter.With should have comment or be unexported (golint)
    • Line 110: warning: exported method HCLogAdapter.Name should have comment or be unexported (golint)
    • Line 114: warning: exported method HCLogAdapter.Named should have comment or be unexported (golint)
    • Line 118: warning: exported method HCLogAdapter.ResetNamed should have comment or be unexported (golint)
    • Line 122: warning: exported method HCLogAdapter.SetLevel should have comment or be unexported (golint)
    • Line 126: warning: exported method HCLogAdapter.StandardLogger should have comment or be unexported (golint)
    • Line 133: warning: exported method HCLogAdapter.StandardWriter 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!