Preparing report...

Report for gitlab.com/l0nax/changelog-go

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


golint54%

Golint is a linter for Go source code.

    • /gitlab.com/l0nax/changelog-go/pkg/entry/entries/basicEntries.go
    • Line 16: warning: comment on exported type Entry_Added should be of the form "Entry_Added ..." (with optional leading article) (golint)
    • Line 17: warning: don't use underscores in Go names; type Entry_Added should be EntryAdded (golint)
    • Line 27: warning: exported method Entry_Added.NewChangeType should have comment or be unexported (golint)
    • Line 38: warning: exported method Entry_Added.GetShortTypeName should have comment or be unexported (golint)
    • Line 40: warning: exported method Entry_Added.GetTypeDescription should have comment or be unexported (golint)
    • Line 42: warning: exported method Entry_Added.GetTypeID should have comment or be unexported (golint)
    • Line 44: warning: exported method Entry_Added.GetListEntries should have comment or be unexported (golint)
    • Line 49: warning: exported method Entry_Added.AddEntry should have comment or be unexported (golint)
    • Line 58: warning: comment on exported type Entry_Fixed should be of the form "Entry_Fixed ..." (with optional leading article) (golint)
    • Line 60: warning: don't use underscores in Go names; type Entry_Fixed should be EntryFixed (golint)
    • Line 71: warning: exported method Entry_Fixed.NewChangeType should have comment or be unexported (golint)
    • Line 82: warning: exported method Entry_Fixed.GetShortTypeName should have comment or be unexported (golint)
    • Line 84: warning: exported method Entry_Fixed.GetTypeDescription should have comment or be unexported (golint)
    • Line 86: warning: exported method Entry_Fixed.GetTypeID should have comment or be unexported (golint)
    • Line 88: warning: exported method Entry_Fixed.GetListEntries should have comment or be unexported (golint)
    • Line 90: warning: exported method Entry_Fixed.AddEntry should have comment or be unexported (golint)
    • Line 99: warning: comment on exported type Entry_Changed should be of the form "Entry_Changed ..." (with optional leading article) (golint)
    • Line 101: warning: don't use underscores in Go names; type Entry_Changed should be EntryChanged (golint)
    • Line 112: warning: exported method Entry_Changed.NewChangeType should have comment or be unexported (golint)
    • Line 123: warning: exported method Entry_Changed.GetShortTypeName should have comment or be unexported (golint)
    • Line 125: warning: exported method Entry_Changed.GetTypeDescription should have comment or be unexported (golint)
    • Line 127: warning: exported method Entry_Changed.GetTypeID should have comment or be unexported (golint)
    • Line 129: warning: exported method Entry_Changed.GetListEntries should have comment or be unexported (golint)
    • Line 131: warning: exported method Entry_Changed.AddEntry should have comment or be unexported (golint)
    • Line 140: warning: comment on exported type Entry_Deprecated should be of the form "Entry_Deprecated ..." (with optional leading article) (golint)
    • Line 142: warning: don't use underscores in Go names; type Entry_Deprecated should be EntryDeprecated (golint)
    • Line 153: warning: exported method Entry_Deprecated.NewChangeType should have comment or be unexported (golint)
    • Line 164: warning: exported method Entry_Deprecated.GetShortTypeName should have comment or be unexported (golint)
    • Line 166: warning: exported method Entry_Deprecated.GetTypeDescription should have comment or be unexported (golint)
    • Line 168: warning: exported method Entry_Deprecated.GetTypeID should have comment or be unexported (golint)
    • Line 170: warning: exported method Entry_Deprecated.GetListEntries should have comment or be unexported (golint)
    • Line 172: warning: exported method Entry_Deprecated.AddEntry should have comment or be unexported (golint)
    • Line 181: warning: comment on exported type Entry_Removed should be of the form "Entry_Removed ..." (with optional leading article) (golint)
    • Line 183: warning: don't use underscores in Go names; type Entry_Removed should be EntryRemoved (golint)
    • Line 194: warning: exported method Entry_Removed.NewChangeType should have comment or be unexported (golint)
    • Line 205: warning: exported method Entry_Removed.GetShortTypeName should have comment or be unexported (golint)
    • Line 207: warning: exported method Entry_Removed.GetTypeDescription should have comment or be unexported (golint)
    • Line 209: warning: exported method Entry_Removed.GetTypeID should have comment or be unexported (golint)
    • Line 211: warning: exported method Entry_Removed.GetListEntries should have comment or be unexported (golint)
    • Line 213: warning: exported method Entry_Removed.AddEntry should have comment or be unexported (golint)
    • Line 222: warning: comment on exported type Entry_Security should be of the form "Entry_Security ..." (with optional leading article) (golint)
    • Line 224: warning: don't use underscores in Go names; type Entry_Security should be EntrySecurity (golint)
    • Line 235: warning: exported method Entry_Security.NewChangeType should have comment or be unexported (golint)
    • Line 246: warning: exported method Entry_Security.GetShortTypeName should have comment or be unexported (golint)
    • Line 248: warning: exported method Entry_Security.GetTypeDescription should have comment or be unexported (golint)
    • Line 250: warning: exported method Entry_Security.GetTypeID should have comment or be unexported (golint)
    • Line 252: warning: exported method Entry_Security.GetListEntries should have comment or be unexported (golint)
    • Line 254: warning: exported method Entry_Security.AddEntry should have comment or be unexported (golint)
    • Line 263: warning: comment on exported type Entry_Other should be of the form "Entry_Other ..." (with optional leading article) (golint)
    • Line 265: warning: don't use underscores in Go names; type Entry_Other should be EntryOther (golint)
    • Line 276: warning: exported method Entry_Other.NewChangeType should have comment or be unexported (golint)
    • Line 287: warning: exported method Entry_Other.GetShortTypeName should have comment or be unexported (golint)
    • Line 289: warning: exported method Entry_Other.GetTypeDescription should have comment or be unexported (golint)
    • Line 291: warning: exported method Entry_Other.GetTypeID should have comment or be unexported (golint)
    • Line 293: warning: exported method Entry_Other.GetListEntries should have comment or be unexported (golint)
    • Line 295: warning: exported method Entry_Other.AddEntry should have comment or be unexported (golint)
    • /gitlab.com/l0nax/changelog-go/internal/entryTypes.go
    • Line 11: warning: exported var EntryT should have comment or be unexported (golint)
    • Line 33: warning: exported method EntryTypes.RegisterEntryType should have comment or be unexported (golint)
    • Line 58: warning: exported method EntryTypes.DeRegisterEntryType should have comment or be unexported (golint)
    • Line 74: warning: exported method EntryTypes.SearchEntryType 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!


misspell97%

Misspell Finds commonly misspelled English words