Preparing report...

Report for github.com/vkuznecovas/mouthful

A+    Excellent!    Found 15 issues across 68 files

Tweet

gofmt92%

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!


gocyclo94%

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.


golint95%

Golint is a linter for Go source code.

    • mouthful/cmd/spoon/command/model/disqus.go
    • Line 1: warning: package comment should be of the form "Package model ..." (golint)
    • Line 6: warning: exported type Cauthor should have comment or be unexported (golint)
    • Line 14: warning: exported type Ccategory should have comment or be unexported (golint)
    • Line 22: warning: exported type CcreatedAt should have comment or be unexported (golint)
    • Line 27: warning: exported type Cdisqus should have comment or be unexported (golint)
    • Line 38: warning: exported type Cemail should have comment or be unexported (golint)
    • Line 43: warning: exported type Cforum should have comment or be unexported (golint)
    • Line 48: warning: exported type Cid should have comment or be unexported (golint)
    • Line 52: warning: exported type CipAddress should have comment or be unexported (golint)
    • Line 57: warning: exported type CisAnonymous should have comment or be unexported (golint)
    • Line 62: warning: exported type CisClosed should have comment or be unexported (golint)
    • Line 67: warning: exported type CisDefault should have comment or be unexported (golint)
    • Line 72: warning: exported type CisDeleted should have comment or be unexported (golint)
    • Line 77: warning: exported type CisSpam should have comment or be unexported (golint)
    • Line 82: warning: exported type Clink should have comment or be unexported (golint)
    • Line 87: warning: exported type Cmessage should have comment or be unexported (golint)
    • Line 92: warning: exported type Cname should have comment or be unexported (golint)
    • Line 97: warning: exported type Cparent should have comment or be unexported (golint)
    • Line 102: warning: exported type Cpost should have comment or be unexported (golint)
    • Line 116: warning: exported type Cthread should have comment or be unexported (golint)
    • Line 132: warning: exported type Ctitle should have comment or be unexported (golint)
    • Line 137: warning: exported type Cusername should have comment or be unexported (golint)
    • mouthful/db/sqlxDriver/driver.go
    • Line 2: warning: don't use MixedCaps in package name; sqlxDriver should be sqlxdriver (golint)
    • Line 13: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign92%

IneffAssign detects ineffectual assignments in Go code.


misspell97%

Misspell Finds commonly misspelled English words

    • mouthful/db/testSuite.go
    • Line 94: warning: "existant" is a misspelling of "existent" (misspell)
    • Line 209: warning: "existant" is a misspelling of "existent" (misspell)
    • Line 231: warning: "existant" is a misspelling of "existent" (misspell)