Preparing report...

Report for github.com/dirkdev98/goregex

A    Great!    Found 19 issues across 28 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!


gocyclo85%

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.


golint35%

Golint is a linter for Go source code.

    • goregex/test/match_gen/star.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 3: warning: comment on exported function StarLiteral should be of the form "StarLiteral ..." (golint)
    • Line 43: warning: comment on exported function StarConcatLiteral should be of the form "StarConcatLiteral ..." (golint)
    • goregex/test/match_gen/quest.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 3: warning: comment on exported function QuestLiteral should be of the form "QuestLiteral ..." (golint)
    • Line 52: warning: comment on exported function QuestDoubleLiteral should be of the form "QuestDoubleLiteral ..." (golint)
    • Line 122: warning: comment on exported function QuestSingleQuest should be of the form "QuestSingleQuest ..." (golint)
    • goregex/test/match_gen/alternate.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 3: warning: comment on exported function AlternateLiterals should be of the form "AlternateLiterals ..." (golint)
    • Line 71: warning: comment on exported function AlternateMultipleLiterals should be of the form "AlternateMultipleLiterals ..." (golint)
    • goregex/test/match_gen/charclass.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 3: warning: comment on exported function CharClassSingle should be of the form "CharClassSingle ..." (golint)
    • Line 30: warning: comment on exported function CharClassRange should be of the form "CharClassRange ..." (golint)
    • Line 57: warning: comment on exported function CharClassPlusRange should be of the form "CharClassPlusRange ..." (golint)
    • goregex/test/match_gen/repeat.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 3: warning: comment on exported function RepeatLiteral should be of the form "RepeatLiteral ..." (golint)
    • Line 50: warning: comment on exported function RepeatLiteralMinMax should be of the form "RepeatLiteralMinMax ..." (golint)
    • Line 97: warning: comment on exported function RepeatWithAlternate should be of the form "RepeatWithAlternate ..." (golint)
    • goregex/test/match_gen/plus.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 3: warning: comment on exported function PlusLiteral should be of the form "PlusLiteral ..." (golint)
    • Line 57: warning: comment on exported function PlusConcatLiteral should be of the form "PlusConcatLiteral ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign78%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!