Preparing report...

Report for github.com/golangast/nlptagger

(v0.0.0-20241003120621-80d874ec45a7)

A    Great!    Found 5 issues across 6 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!


gocyclo33%

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.

    • tagger/tag/tag.go
    • Line 49: warning: cyclomatic complexity 29 of function (Tag).extractNounFeatures() is high (> 15) (gocyclo)

ineffassign83%

IneffAssign detects ineffectual assignments in Go code.

    • tagger/nertagger/nertagger.go
    • Line 135: warning: ineffectual assignment to token (ineffassign)
    • Line 138: warning: ineffectual assignment to tag (ineffassign)
    • Line 139: warning: ineffectual assignment to token (ineffassign)
    • Line 142: warning: ineffectual assignment to tag (ineffassign)
    • Line 145: warning: ineffectual assignment to tag (ineffassign)
    • Line 147: warning: ineffectual assignment to tag (ineffassign)
    • Line 150: warning: ineffectual assignment to tag (ineffassign)
    • Line 153: warning: ineffectual assignment to tag (ineffassign)
    • Line 155: warning: ineffectual assignment to tag (ineffassign)
    • Line 157: warning: ineffectual assignment to tag (ineffassign)
    • Line 160: warning: ineffectual assignment to tag (ineffassign)
    • Line 162: warning: ineffectual assignment to tag (ineffassign)
    • Line 164: warning: ineffectual assignment to tag (ineffassign)
    • Line 166: warning: ineffectual assignment to tag (ineffassign)
    • Line 168: warning: ineffectual assignment to tag (ineffassign)
    • Line 170: warning: ineffectual assignment to tag (ineffassign)

license0%

Checks whether your project has a LICENSE file.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!