Preparing report...

Report for github.com/supanadit/geo-smart-system

A    Great!    Found 7 issues across 8 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!


golint12%

Golint is a linter for Go source code.

    • geo-smart-system/model/tile38/data.go
    • Line 10: warning: exported type Data should have comment or be unexported (golint)
    • Line 14: warning: exported function FromScan should have comment or be unexported (golint)
    • Line 46: warning: exported method Data.ToJsonString should have comment or be unexported (golint)
    • geo-smart-system/model/tile38/subobject.go
    • Line 11: warning: exported type SubObject should have comment or be unexported (golint)
    • Line 16: warning: exported method SubObject.Lng should have comment or be unexported (golint)
    • Line 20: warning: exported method SubObject.Lat should have comment or be unexported (golint)
    • Line 24: warning: exported function FromLocation should have comment or be unexported (golint)
    • Line 36: warning: exported function GetDataLocation should have comment or be unexported (golint)
    • geo-smart-system/system/constants.go
    • Line 6: warning: comment on exported const Tile38Address should be of the form "Tile38Address ..." (golint)
    • Line 8: warning: exported const Tile38Port should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: comment on exported const ServerPort should be of the form "ServerPort ..." (golint)
    • Line 13: warning: exported function GetTile38ConnectionAddress should have comment or be unexported (golint)
    • Line 17: warning: exported function GetTile38HookURL should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign75%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!