Preparing report...

Report for github.com/shuoli84/sqlm

B    Not bad!    Found 2 issues across 3 files

Tweet

gofmt33%

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.

    • sqlm/query_builder.go
    • Line 9: warning: comment on exported type Expression should be of the form "Expression ..." (with optional leading article) (golint)
    • Line 20: warning: exported method Raw.ToSql should have comment or be unexported (golint)
    • Line 24: warning: exported function NewRaw should have comment or be unexported (golint)
    • Line 59: warning: exported function G should have comment or be unexported (golint)
    • Line 63: warning: exported function And should have comment or be unexported (golint)
    • Line 67: warning: exported function Or should have comment or be unexported (golint)
    • Line 71: warning: exported function Not should have comment or be unexported (golint)
    • Line 75: warning: comment on exported function F should be of the form "F ..." (golint)
    • Line 98: warning: exported function Build should have comment or be unexported (golint)
    • Line 103: warning: comment on exported function P should be of the form "P ..." (golint)
    • Line 129: warning: comment on exported function Exp should be of the form "Exp ..." (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!