Preparing report...

Report for github.com/Oppodelldog/droxy

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


golint90%

Golint is a linter for Go source code.

    • droxy/proxyfile/creation.go
    • Line 22: warning: exported type FsLinkCreator should have comment or be unexported (golint)
    • Line 26: warning: exported method FsLinkCreator.CreateProxyFile should have comment or be unexported (golint)
    • droxy/dockercommand/exec.go
    • Line 12: warning: exported function NewExecBuilder should have comment or be unexported (golint)
    • Line 18: warning: exported type ExecBuilder should have comment or be unexported (golint)
    • Line 22: warning: exported method ExecBuilder.BuildCommandFromConfig should have comment or be unexported (golint)
    • droxy/dockercommand/run.go
    • Line 12: warning: exported function NewRunBuilder should have comment or be unexported (golint)
    • Line 16: warning: exported type RunBuilder should have comment or be unexported (golint)
    • Line 19: warning: exported method RunBuilder.BuildCommandFromConfig should have comment or be unexported (golint)
    • droxy/logger/logger.go
    • Line 9: warning: exported function Info should have comment or be unexported (golint)
    • Line 13: warning: exported function Infof should have comment or be unexported (golint)
    • Line 17: warning: exported function Error should have comment or be unexported (golint)
    • Line 21: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 25: warning: exported function Warning should have comment or be unexported (golint)
    • Line 29: warning: exported function Warnf should have comment or be unexported (golint)
    • Line 33: warning: exported function SetOutput should have comment or be unexported (golint)
    • Line 37: warning: exported function StandardLogger should have comment or be unexported (golint)
    • droxy/cmd/proxyexecution/proxy.go
    • Line 24: warning: comment on exported type CommandBuilder should be of the form "CommandBuilder ..." (with optional leading article) (golint)
    • Line 42: warning: exported function ExecuteDroxyCommand 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!