Preparing report...

Report for github.com/dveselov/mystem

A    Great!    Found 2 issues across 3 files

Tweet

gofmt66%

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!


golint66%

Golint is a linter for Go source code.

    • mystem/mystem.go
    • Line 61: warning: exported type Analyses should have comment or be unexported (golint)
    • Line 65: warning: exported function NewAnalyses should have comment or be unexported (golint)
    • Line 72: warning: exported method Analyses.Count should have comment or be unexported (golint)
    • Line 77: warning: exported method Analyses.Close should have comment or be unexported (golint)
    • Line 81: warning: exported method Analyses.GetLemma should have comment or be unexported (golint)
    • Line 88: warning: exported type Lemma should have comment or be unexported (golint)
    • Line 92: warning: exported method Lemma.TextLength should have comment or be unexported (golint)
    • Line 96: warning: exported method Lemma.Text should have comment or be unexported (golint)
    • Line 100: warning: exported method Lemma.FormLength should have comment or be unexported (golint)
    • Line 104: warning: exported method Lemma.Form should have comment or be unexported (golint)
    • Line 108: warning: exported method Lemma.Quality should have comment or be unexported (golint)
    • Line 112: warning: exported method Lemma.StemGram should have comment or be unexported (golint)
    • Line 117: warning: exported method Lemma.FlexGramNum should have comment or be unexported (golint)
    • Line 121: warning: exported method Lemma.FlexGram should have comment or be unexported (golint)
    • Line 126: warning: exported method Lemma.GenerateForms should have comment or be unexported (golint)
    • Line 132: warning: exported type Forms should have comment or be unexported (golint)
    • Line 136: warning: exported type Form should have comment or be unexported (golint)
    • Line 140: warning: exported method Forms.Count should have comment or be unexported (golint)
    • Line 144: warning: exported method Forms.Close should have comment or be unexported (golint)
    • Line 148: warning: exported method Forms.Get should have comment or be unexported (golint)
    • Line 154: warning: exported method Form.TextLength should have comment or be unexported (golint)
    • Line 158: warning: exported method Form.Text should have comment or be unexported (golint)
    • Line 162: warning: exported method Form.StemGram should have comment or be unexported (golint)
    • Line 167: warning: exported method Form.FlexGramNum should have comment or be unexported (golint)
    • Line 171: warning: exported method Form.FlexGram 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!