Preparing report...

Report for github.com/ssoor/gex

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


golint62%

Golint is a linter for Go source code.

    • gex/version.go
    • Line 4: warning: exported const Version should have comment (or a comment on this block) or be unexported (golint)
    • gex/tests/e2e/test_writer.go
    • Line 10: warning: exported function NewTestWriter should have comment or be unexported (golint)
    • Line 14: warning: exported type TestWriter should have comment or be unexported (golint)
    • gex/pkg/tool/config.go
    • Line 32: warning: exported method Config.ManifestPath should have comment or be unexported (golint)
    • Line 36: warning: exported method Config.BinDir should have comment or be unexported (golint)
    • Line 40: warning: exported method Config.BinPath should have comment or be unexported (golint)
    • gex/pkg/tool/errors.go
    • Line 9: warning: exported type BuildError should have comment or be unexported (golint)
    • Line 20: warning: exported type BuildErrors should have comment or be unexported (golint)
    • Line 47: warning: exported method BuildErrors.Append should have comment or be unexported (golint)
    • Line 53: warning: exported method BuildErrors.Empty should have comment or be unexported (golint)
    • gex/tests/e2e/test_context.go
    • Line 19: warning: exported function CreateTestContext should have comment or be unexported (golint)
    • Line 26: warning: exported type TestContext should have comment or be unexported (golint)
    • Line 63: warning: exported method TestContext.Close should have comment or be unexported (golint)
    • Line 91: warning: exported method TestContext.SnapshotManifest should have comment or be unexported (golint)
    • Line 100: warning: exported method TestContext.CheckBinaries should have comment or be unexported (golint)
    • Line 117: warning: exported method TestContext.RemoveBinaries should have comment or be unexported (golint)
    • Line 121: warning: exported method TestContext.Bin should have comment or be unexported (golint)
    • Line 125: warning: exported method TestContext.ExecCmd should have comment or be unexported (golint)
    • Line 129: warning: exported method TestContext.ExecCmdWithOut should have comment or be unexported (golint)
    • gex/tests/e2e/test_mode.go
    • Line 5: warning: exported type TestMode should have comment or be unexported (golint)
    • Line 9: warning: exported const TestModeMod should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported method TestMode.Exporter 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!


misspell95%

Misspell Finds commonly misspelled English words