Preparing report...

Report for github.com/issue9/orm

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


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.


golint92%

Golint is a linter for Go source code.

    • orm/types/decimal.go
    • Line 15: warning: exported type Decimal should have comment or be unexported (golint)
    • Line 63: warning: exported method Decimal.Value should have comment or be unexported (golint)
    • Line 79: warning: exported method Decimal.PrimitiveType should have comment or be unexported (golint)
    • Line 81: warning: exported method Decimal.MarshalText should have comment or be unexported (golint)
    • Line 88: warning: exported method Decimal.MarshalJSON should have comment or be unexported (golint)
    • Line 95: warning: exported method Decimal.UnmarshalText should have comment or be unexported (golint)
    • Line 102: warning: exported method Decimal.UnmarshalJSON should have comment or be unexported (golint)
    • orm/types/rat.go
    • Line 21: warning: exported function Rational should have comment or be unexported (golint)
    • Line 49: warning: exported method Rat.Value should have comment or be unexported (golint)
    • Line 68: warning: exported method Rat.PrimitiveType should have comment or be unexported (golint)
    • Line 70: warning: exported method Rat.MarshalText should have comment or be unexported (golint)
    • Line 77: warning: exported method Rat.UnmarshalText should have comment or be unexported (golint)
    • Line 89: warning: exported method Rat.IsNull should have comment or be unexported (golint)
    • orm/types/unix.go
    • Line 56: warning: exported method Unix.Value should have comment or be unexported (golint)
    • Line 87: warning: exported method Unix.PrimitiveType should have comment or be unexported (golint)
    • Line 89: warning: exported method Unix.MarshalText should have comment or be unexported (golint)
    • Line 96: warning: exported method Unix.MarshalJSON should have comment or be unexported (golint)
    • Line 103: warning: exported method Unix.UnmarshalText should have comment or be unexported (golint)
    • Line 111: warning: exported method Unix.UnmarshalJSON should have comment or be unexported (golint)
    • orm/model.go
    • Line 8: warning: exported type ApplyModeler should have comment or be unexported (golint)
    • Line 16: warning: exported type TableNamer should have comment or be unexported (golint)
    • orm/tx.go
    • Line 133: warning: exported method Tx.InsertMany should have comment or be unexported (golint)
    • orm/types.go
    • Line 20: warning: exported type Rat should have comment or be unexported (golint)
    • Line 22: warning: exported type Decimal should have comment or be unexported (golint)
    • orm/sqlbuilder/select.go
    • Line 596: warning: exported method SelectStmt.PrepareContext should have comment or be unexported (golint)
    • Line 604: warning: exported method SelectStmt.Prepare should have comment or be unexported (golint)
    • Line 651: warning: exported method SelectQuery.Close should have comment or be unexported (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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!