Preparing report...

Report for github.com/cnbattle/wubi

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


golint66%

Golint is a linter for Go source code.

    • wubi/wubi.go
    • Line 21: warning: comment on exported function GetChar should be of the form "GetChar ..." (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell66%

Misspell Finds commonly misspelled English words

    • wubi/dict.go
    • Line 298: warning: "waht" is a misspelling of "what" (misspell)
    • Line 510: warning: "whic" is a misspelling of "which" (misspell)
    • Line 545: warning: "whn" is a misspelling of "when" (misspell)
    • Line 2018: warning: "kwno" is a misspelling of "know" (misspell)
    • Line 4727: warning: "thn" is a misspelling of "then" (misspell)
    • Line 4872: warning: "nto" is a misspelling of "not" (misspell)
    • Line 5010: warning: "watn" is a misspelling of "want" (misspell)
    • Line 5057: warning: "nmae" is a misspelling of "name" (misspell)
    • Line 7306: warning: "smae" is a misspelling of "same" (misspell)
    • Line 11540: warning: "taht" is a misspelling of "that" (misspell)
    • Line 13379: warning: "teh" is a misspelling of "the" (misspell)
    • Line 13578: warning: "adn" is a misspelling of "and" (misspell)
    • Line 15929: warning: "yuo" is a misspelling of "you" (misspell)