Preparing report...

Report for github.com/rerost/giro

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


golint37%

Golint is a linter for Go source code.

    • giro/domain/messagename/resolver.go
    • Line 11: warning: exported type MessageName should have comment or be unexported (golint)
    • Line 13: warning: exported type MessageNameResolver should have comment or be unexported (golint)
    • Line 22: warning: exported function NewMessageNameResolver should have comment or be unexported (golint)
    • Line 29: warning: error var MethodNotFoundError should have name of the form ErrFoo (golint)
    • Line 29: warning: exported var MethodNotFoundError should have comment or be unexported (golint)
    • giro/domain/host/resolver.go
    • Line 10: warning: exported type HostResolver should have comment or be unexported (golint)
    • Line 18: warning: exported function NewHostResolver should have comment or be unexported (golint)
    • Line 40: warning: exported function NewConstHostResolver should have comment or be unexported (golint)
    • giro/domain/service/service.go
    • Line 16: warning: exported type ServiceService should have comment or be unexported (golint)
    • Line 21: warning: exported type Service should have comment or be unexported (golint)
    • Line 34: warning: exported function NewServiceService should have comment or be unexported (golint)
    • giro/domain/message/message.go
    • Line 13: warning: exported type JSON should have comment or be unexported (golint)
    • Line 14: warning: exported type Binary should have comment or be unexported (golint)
    • Line 16: warning: exported type MessageService should have comment or be unexported (golint)
    • Line 32: warning: exported function NewMessageService should have comment or be unexported (golint)
    • giro/runner/giro/cmd.go
    • Line 11: warning: exported type Config should have comment or be unexported (golint)
    • Line 19: warning: exported function Run should have comment or be unexported (golint)
    • giro/runner/genreflectionserver/cmd.go
    • Line 17: warning: exported function Run should have comment or be unexported (golint)
    • Line 66: warning: exported function RenderResponse should have comment or be unexported (golint)
    • Line 82: warning: exported type Method should have comment or be unexported (golint)
    • Line 90: warning: exported type Service should have comment or be unexported (golint)
    • Line 98: warning: exported method Service.PackageName should have comment or be unexported (golint)
    • Line 102: warning: exported method Service.StructName should have comment or be unexported (golint)
    • Line 106: warning: exported type ReflectionServerFile should have comment or be unexported (golint)
    • Line 111: warning: exported function PackageName should have comment or be unexported (golint)
    • Line 116: warning: exported method ReflectionServerFile.Content should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign87%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!