Preparing report...

Report for github.com/stts-se/translit

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


gocyclo92%

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.


golint57%

Golint is a linter for Go source code.

    • translit/translit.go
    • Line 19: warning: exported function ReadFile should have comment or be unexported (golint)
    • Line 56: warning: exported function SortKeysByFreq should have comment or be unexported (golint)
    • Line 66: warning: exported function StringsContains should have comment or be unexported (golint)
    • Line 81: warning: exported function IsFile should have comment or be unexported (golint)
    • Line 179: warning: exported type UnicodeChar should have comment or be unexported (golint)
    • Line 183: warning: exported function UnicodeInfo should have comment or be unexported (golint)
    • translit/tamil/tamil.go
    • Line 11: warning: comment on exported type Translit should be of the form "Translit ..." (with optional leading article) (golint)
    • Line 448: warning: receiver name rn should be consistent with previous receiver name tree for rNode (golint)
    • Line 552: warning: exported function NewTranslit should have comment or be unexported (golint)
    • translit/rus/rus.go
    • Line 25: warning: comment on exported type Translit should be of the form "Translit ..." (with optional leading article) (golint)
    • Line 30: warning: exported function NewTranslit should have comment or be unexported (golint)
    • Line 115: warning: exported method Translit.Convert 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!