Preparing report...

Report for github.com/go-spatial/geocatalogo

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


gocyclo82%

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.


golint76%

Golint is a linter for Go source code.

    • geocatalogo/metadata/model.go
    • Line 37: warning: exported type Contact should have comment or be unexported (golint)
    • Line 77: warning: exported type Geometry should have comment or be unexported (golint)
    • Line 89: warning: exported type Properties should have comment or be unexported (golint)
    • Line 118: warning: exported method Geometry.Bounds should have comment or be unexported (golint)
    • geocatalogo/web/stac.go
    • Line 47: warning: exported type STACSearch should have comment or be unexported (golint)
    • Line 54: warning: exported type Properties should have comment or be unexported (golint)
    • Line 61: warning: exported type Link should have comment or be unexported (golint)
    • Line 68: warning: exported type SearchMetadata should have comment or be unexported (golint)
    • Line 80: warning: exported type STACItem should have comment or be unexported (golint)
    • Line 91: warning: exported type STACFeatureCollection should have comment or be unexported (golint)
    • Line 100: warning: exported type STACCatalogDefinition should have comment or be unexported (golint)
    • Line 321: warning: exported function Results2STACFeatureCollection should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign82%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!