Preparing report...

Report for github.com/segmentio/orbital

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


golint45%

Golint is a linter for Go source code.

    • orbital/webhook/webhook.go
    • Line 9: warning: exported type Webhook should have comment or be unexported (golint)
    • Line 13: warning: exported type Config should have comment or be unexported (golint)
    • Line 17: warning: exported function New should have comment or be unexported (golint)
    • Line 48: warning: exported method Webhook.Close should have comment or be unexported (golint)
    • orbital/orbital/orbital.go
    • Line 67: warning: exported method O.Log should have comment or be unexported (golint)
    • Line 71: warning: exported method O.Logf should have comment or be unexported (golint)
    • Line 83: warning: exported method O.Fail should have comment or be unexported (golint)
    • Line 89: warning: exported method O.Stats should have comment or be unexported (golint)
    • orbital/orbital/service.go
    • Line 32: warning: exported function WithStats should have comment or be unexported (golint)
    • Line 38: warning: exported function WithTimeout should have comment or be unexported (golint)
    • Line 44: warning: exported function New should have comment or be unexported (golint)
    • Line 57: warning: exported var DefaultService should have comment or be unexported (golint)
    • Line 59: warning: exported function Register should have comment or be unexported (golint)
    • Line 70: warning: exported method Service.Run should have comment or be unexported (golint)
    • Line 156: warning: exported method Service.Close should have comment or be unexported (golint)
    • orbital/example/example.go
    • Line 17: warning: exported type Harness should have comment or be unexported (golint)
    • Line 29: warning: exported method Harness.OrbitalSmoke should have comment or be unexported (golint)
    • orbital/webhook/types.go
    • Line 9: warning: exported type Request should have comment or be unexported (golint)
    • Line 23: warning: exported type Logger should have comment or be unexported (golint)
    • Line 28: warning: exported type StdLogger should have comment or be unexported (golint)
    • Line 31: warning: exported method StdLogger.Record should have comment or be unexported (golint)
    • Line 35: warning: exported function NewChanLogger should have comment or be unexported (golint)
    • Line 41: warning: exported type ChanLogger should have comment or be unexported (golint)
    • Line 45: warning: exported method ChanLogger.Record should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign90%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!