Preparing report...

Report for github.com/draveness/proxier

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


gocyclo98%

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.


golint80%

Golint is a linter for Go source code.

    • proxier/test/framework/context.go
    • Line 12: warning: exported type TestCtx should have comment or be unexported (golint)
    • Line 19: warning: exported method Framework.NewTestCtx should have comment or be unexported (golint)
    • Line 45: warning: exported method TestCtx.Cleanup should have comment or be unexported (golint)
    • Line 57: warning: exported method TestCtx.AddFinalizerFn should have comment or be unexported (golint)
    • proxier/test/framework/pod.go
    • Line 14: warning: exported function MakePod should have comment or be unexported (golint)
    • Line 27: warning: exported method Framework.CreatePod should have comment or be unexported (golint)
    • Line 36: warning: exported method Framework.CreatePodAndWaitUntilReady should have comment or be unexported (golint)
    • proxier/test/framework/deployment.go
    • Line 16: warning: exported function MakeDeployment should have comment or be unexported (golint)
    • Line 29: warning: exported function CreateDeployment should have comment or be unexported (golint)
    • Line 38: warning: exported function DeleteDeployment should have comment or be unexported (golint)
    • Line 54: warning: exported function WaitUntilDeploymentGone should have comment or be unexported (golint)
    • proxier/test/framework/namespace.go
    • Line 13: warning: exported function CreateNamespace should have comment or be unexported (golint)
    • Line 25: warning: exported method TestCtx.CreateNamespace should have comment or be unexported (golint)
    • Line 40: warning: exported function DeleteNamespace should have comment or be unexported (golint)
    • Line 44: warning: exported function AddLabelsToNamespace 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!