Preparing report...

Report for github.com/jakebailey/plugingen

A    Great!    Found 6 issues across 10 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!


gocyclo70%

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.


golint40%

Golint is a linter for Go source code.

    • plugingen/typesext/utils.go
    • Line 5: warning: exported function IsEmptyInterface should have comment or be unexported (golint)
    • Line 10: warning: exported function IsError should have comment or be unexported (golint)
    • Line 15: warning: exported function IsPluggable should have comment or be unexported (golint)
    • Line 19: warning: exported function IsPointerLike should have comment or be unexported (golint)
    • plugingen/analyzer/analyzer.go
    • Line 12: warning: exported type Analyzer should have comment or be unexported (golint)
    • Line 21: warning: exported function NewAnalyzer should have comment or be unexported (golint)
    • Line 28: warning: exported type Interface should have comment or be unexported (golint)
    • Line 34: warning: exported type Method should have comment or be unexported (golint)
    • Line 41: warning: exported type Var should have comment or be unexported (golint)
    • Line 47: warning: exported method Analyzer.AnalyzeAll should have comment or be unexported (golint)
    • plugingen/tojen/tojen.go
    • Line 12: warning: exported function Type should have comment or be unexported (golint)
    • Line 137: warning: exported function Tuple should have comment or be unexported (golint)
    • Line 190: warning: exported function Signature should have comment or be unexported (golint)
    • plugingen/loader/loader.go
    • Line 14: warning: exported var ErrTagsNotApplicable should have comment or be unexported (golint)
    • Line 16: warning: exported function LoadPackage should have comment or be unexported (golint)
    • plugingen/generator/generator.go
    • Line 27: warning: exported type Generator should have comment or be unexported (golint)
    • Line 41: warning: exported function NewGenerator should have comment or be unexported (golint)
    • Line 51: warning: exported method Generator.Generate 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!


misspell90%

Misspell Finds commonly misspelled English words