Preparing report...

Report for github.com/cweill/gotests

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


golint61%

Golint is a linter for Go source code.

    • gotests/gotests/process/process.go
    • Line 24: warning: comment on exported type Options should be of the form "Options ..." (with optional leading article) (golint)
    • Line 41: warning: comment on exported function Run should be of the form "Run ..." (golint)
    • gotests/internal/models/models.go
    • Line 8: warning: exported type Expression should have comment or be unexported (golint)
    • Line 27: warning: exported type Field should have comment or be unexported (golint)
    • Line 33: warning: exported method Field.IsWriter should have comment or be unexported (golint)
    • Line 37: warning: exported method Field.IsStruct should have comment or be unexported (golint)
    • Line 41: warning: exported method Field.IsBasicType should have comment or be unexported (golint)
    • Line 56: warning: exported method Field.IsNamed should have comment or be unexported (golint)
    • Line 60: warning: exported method Field.ShortName should have comment or be unexported (golint)
    • Line 64: warning: exported type Receiver should have comment or be unexported (golint)
    • Line 69: warning: exported type Function should have comment or be unexported (golint)
    • Line 78: warning: exported method Function.TestParameters should have comment or be unexported (golint)
    • Line 89: warning: exported method Function.TestResults should have comment or be unexported (golint)
    • Line 109: warning: exported method Function.ReturnsMultiple should have comment or be unexported (golint)
    • Line 113: warning: exported method Function.OnlyReturnsOneValue should have comment or be unexported (golint)
    • Line 117: warning: exported method Function.OnlyReturnsError should have comment or be unexported (golint)
    • Line 121: warning: exported method Function.FullName should have comment or be unexported (golint)
    • Line 129: warning: exported method Function.TestName should have comment or be unexported (golint)
    • Line 146: warning: exported method Function.IsNaked should have comment or be unexported (golint)
    • Line 150: warning: exported type Import should have comment or be unexported (golint)
    • Line 154: warning: exported type Header should have comment or be unexported (golint)
    • Line 161: warning: exported type Path should have comment or be unexported (golint)
    • Line 163: warning: exported method Path.TestPath should have comment or be unexported (golint)
    • Line 170: warning: exported method Path.IsTestPath should have comment or be unexported (golint)
    • gotests/internal/render/render.go
    • Line 15: warning: exported type Render should have comment or be unexported (golint)
    • Line 19: warning: exported function New should have comment or be unexported (golint)
    • Line 77: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 92: warning: exported method Render.Header should have comment or be unexported (golint)
    • Line 100: warning: exported method Render.TestFunction 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!


misspell0%

Misspell Finds commonly misspelled English words

An error occurred while running this test (exit status 2)