Preparing report...

Report for github.com/roadrunner-server/roadrunner

(v1.9.2)

A+    Excellent!    Found 21 issues across 124 files

Tweet

gofmt93%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


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!


gocyclo97%

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.


golint91%

Golint is a linter for Go source code.

    • service/reload/service.go
    • Line 17: warning: exported type Service should have comment or be unexported (golint)
    • Line 81: warning: exported method Service.Serve should have comment or be unexported (golint)
    • Line 160: warning: exported method Service.Stop should have comment or be unexported (golint)
    • service/reload/watcher.go
    • Line 12: warning: exported var ErrorSkip should have comment or be unexported (golint)
    • Line 13: warning: error var NoWalkerConfig should have name of the form ErrFoo (golint)
    • Line 13: warning: exported var NoWalkerConfig should have comment or be unexported (golint)
    • Line 28: warning: exported type WatcherConfig should have comment or be unexported (golint)
    • Line 51: warning: exported type Watcher should have comment or be unexported (golint)
    • Line 198: warning: exported method Watcher.StartPolling should have comment or be unexported (golint)
    • Line 370: warning: exported method Watcher.Stop should have comment or be unexported (golint)
    • static_pool.go
    • Line 130: warning: exported var ErrAllocateWorker should have comment or be unexported (golint)
    • Line 189: warning: exported var ErrPoolStopped should have comment or be unexported (golint)
    • Line 190: warning: exported var ErrWorkerAllocateTimeout should have comment or be unexported (golint)
    • Line 191: warning: exported var ErrAllWorkersAreDead should have comment or be unexported (golint)
    • worker.go
    • Line 156: warning: exported var ErrEmptyPayload should have comment or be unexported (golint)
    • Line 157: warning: exported var ErrWorkerNotReady should have comment or be unexported (golint)
    • service/gzip/service.go
    • Line 14: warning: error var httpNotInitialized should have name of the form errFoo (golint)
    • Line 16: warning: exported type Service should have comment or be unexported (golint)
    • Line 20: warning: exported method Service.Init should have comment or be unexported (golint)
    • server.go
    • Line 136: warning: exported var ErrNoAssociatedPool 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!


misspell99%

Misspell Finds commonly misspelled English words