Preparing report...

Report for github.com/ConorNevin/traceable

(v0.0.0-20220105223853-c1393718a883)

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


golint44%

Golint is a linter for Go source code.

    • internal/tests/searcher/searcher.go
    • Line 9: warning: exported type Stringer should have comment or be unexported (golint)
    • Line 13: warning: exported type Errors should have comment or be unexported (golint)
    • Line 15: warning: exported type Searcher should have comment or be unexported (golint)
    • imports.go
    • Line 10: warning: exported type ImportedPackage should have comment or be unexported (golint)
    • interface.go
    • Line 3: warning: exported type Interface should have comment or be unexported (golint)
    • method.go
    • Line 8: warning: exported type Method should have comment or be unexported (golint)
    • internal/tests/geometry/geometry.go
    • Line 11: warning: exported type Geometry should have comment or be unexported (golint)
    • Line 15: warning: exported type Circle should have comment or be unexported (golint)
    • Line 19: warning: exported method Circle.Area should have comment or be unexported (golint)
    • internal/tests/embedded_interface/embedded.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 14: warning: exported type Base should have comment or be unexported (golint)
    • Line 19: warning: exported type Embedded should have comment or be unexported (golint)
    • Line 25: warning: exported type AnotherEmbedded should have comment or be unexported (golint)
    • file.go
    • Line 7: warning: exported type File should have comment or be unexported (golint)
    • generator.go
    • Line 24: warning: exported type Generator should have comment or be unexported (golint)
    • Line 35: warning: exported type Package should have comment or be unexported (golint)
    • Line 42: warning: exported method Generator.Printf should have comment or be unexported (golint)
    • Line 46: warning: exported method Generator.ParsePackage should have comment or be unexported (golint)
    • Line 86: warning: exported method Generator.GenerateAll should have comment or be unexported (golint)
    • Line 92: 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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!