Preparing report...

Report for github.com/anchore/chronicle

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


golint56%

Golint is a linter for Go source code.

    • chronicle/chronicle/release/change/change.go
    • Line 7: warning: exported type Changes should have comment or be unexported (golint)
    • Line 19: warning: exported type Reference should have comment or be unexported (golint)
    • Line 24: warning: exported method Changes.ByChangeType should have comment or be unexported (golint)
    • chronicle/chronicle/release/change/type_set.go
    • Line 3: warning: exported type TypeSet should have comment or be unexported (golint)
    • Line 5: warning: exported method TypeSet.Names should have comment or be unexported (golint)
    • Line 12: warning: exported method TypeSet.ChangeTypes should have comment or be unexported (golint)
    • chronicle/chronicle/release/summarizer/github/summarizer.go
    • Line 16: warning: exported type Config should have comment or be unexported (golint)
    • Line 24: warning: exported type ChangeSummarizer should have comment or be unexported (golint)
    • Line 31: warning: exported function NewChangeSummarizer should have comment or be unexported (golint)
    • Line 52: warning: exported method ChangeSummarizer.Release should have comment or be unexported (golint)
    • Line 63: warning: exported method ChangeSummarizer.TagURL should have comment or be unexported (golint)
    • Line 67: warning: exported method ChangeSummarizer.ChangesURL should have comment or be unexported (golint)
    • Line 71: warning: exported method ChangeSummarizer.LastRelease should have comment or be unexported (golint)
    • Line 86: warning: exported method ChangeSummarizer.Changes should have comment or be unexported (golint)
    • chronicle/chronicle/release/format/format.go
    • Line 5: warning: exported type Format should have comment or be unexported (golint)
    • Line 8: warning: exported var MarkdownFormat should have comment or be unexported (golint)
    • Line 12: warning: exported function FromString should have comment or be unexported (golint)
    • Line 24: warning: exported function All should have comment or be unexported (golint)
    • Line 31: warning: exported function Default should have comment or be unexported (golint)
    • chronicle/internal/git/tag.go
    • Line 13: warning: exported type Tag should have comment or be unexported (golint)
    • Line 19: warning: comment on exported function SearchForTag should be of the form "SearchForTag ..." (golint)
    • Line 47: warning: exported function TagsFromLocal should have comment or be unexported (golint)
    • chronicle/chronicle/release/format/markdown/presenter.go
    • Line 26: warning: exported type Presenter should have comment or be unexported (golint)
    • Line 31: warning: exported type ChangeSection should have comment or be unexported (golint)
    • Line 36: warning: exported type Sections should have comment or be unexported (golint)
    • Line 38: warning: exported type Config should have comment or be unexported (golint)
    • Line 43: warning: exported function NewMarkdownPresenter should have comment or be unexported (golint)
    • Line 61: warning: exported method Presenter.Present 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!