Preparing report...

Report for github.com/jimschubert/changelog

A+    Excellent!    Found 8 issues across 20 files

Tweet

gofmt90%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


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!


golint70%

Golint is a linter for Go source code.

    • changelog/changelog.go
    • Line 130: warning: exported method Changelog.GetGitURLs should have comment or be unexported (golint)
    • Line 234: warning: exported type CommitDescendingSorter should have comment or be unexported (golint)
    • Line 240: warning: exported type CommitAscendingSorter should have comment or be unexported (golint)
    • changelog/model/config.go
    • Line 116: warning: exported method Config.ShouldExcludeByText should have comment or be unexported (golint)
    • Line 130: warning: exported method Config.FindGroup should have comment or be unexported (golint)
    • changelog/model/resolve_type.go
    • Line 66: warning: exported method ResolveType.UnmarshalYAML should have comment or be unexported (golint)
    • Line 70: warning: exported method ResolveType.MarshalYAML should have comment or be unexported (golint)
    • Line 86: warning: exported method ResolveType.Ptr should have comment or be unexported (golint)
    • changelog/model/sort_direction.go
    • Line 17: warning: exported type SortDirection should have comment or be unexported (golint)
    • Line 61: warning: exported method SortDirection.UnmarshalYAML should have comment or be unexported (golint)
    • Line 65: warning: exported method SortDirection.MarshalYAML should have comment or be unexported (golint)
    • Line 81: warning: exported method SortDirection.Ptr should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign90%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!