Preparing report...

Report for arhat.dev/renovate-server

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


gocyclo87%

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.


golint33%

Golint is a linter for Go source code.

    • /arhat.dev/renovate-server/pkg/controller/controller.go
    • Line 24: warning: exported function NewController should have comment or be unexported (golint)
    • Line 100: warning: exported type Controller should have comment or be unexported (golint)
    • Line 116: warning: exported method Controller.Start should have comment or be unexported (golint)
    • Line 198: warning: exported method Controller.CheckAllRepos should have comment or be unexported (golint)
    • Line 233: warning: exported method Controller.Schedule should have comment or be unexported (golint)
    • /arhat.dev/renovate-server/pkg/gitlab/manager.go
    • Line 17: warning: exported function NewManager should have comment or be unexported (golint)
    • Line 88: warning: exported type Manager should have comment or be unexported (golint)
    • Line 110: warning: exported method Manager.ListRepos should have comment or be unexported (golint)
    • Line 141: warning: exported method Manager.ExecutionArgs should have comment or be unexported (golint)
    • /arhat.dev/renovate-server/pkg/github/manager.go
    • Line 20: warning: exported function NewManager should have comment or be unexported (golint)
    • Line 103: warning: exported type Manager should have comment or be unexported (golint)
    • Line 127: warning: exported method Manager.ListRepos should have comment or be unexported (golint)
    • Line 162: warning: exported method Manager.ExecutionArgs should have comment or be unexported (golint)
    • /arhat.dev/renovate-server/pkg/version/version.go
    • Line 41: warning: exported function Version should have comment or be unexported (golint)
    • Line 60: warning: exported function Arch should have comment or be unexported (golint)
    • Line 64: warning: exported function GoVersion should have comment or be unexported (golint)
    • Line 68: warning: exported function GoCompilerPlatform should have comment or be unexported (golint)
    • /arhat.dev/renovate-server/pkg/conf/platform.go
    • Line 14: warning: exported type HTTPProxyConfig should have comment or be unexported (golint)
    • Line 21: warning: exported type HTTPClientConfig should have comment or be unexported (golint)
    • Line 26: warning: exported method HTTPClientConfig.NewClient should have comment or be unexported (golint)
    • Line 83: warning: exported type APIConfig should have comment or be unexported (golint)
    • Line 90: warning: exported type WebhookConfig should have comment or be unexported (golint)
    • Line 95: warning: exported type GitConfig should have comment or be unexported (golint)
    • Line 100: warning: exported type PlatformConfig should have comment or be unexported (golint)
    • Line 111: warning: exported type ProjectConfig should have comment or be unexported (golint)
    • /arhat.dev/renovate-server/pkg/conf/renovate-server.go
    • Line 30: warning: exported type Config should have comment or be unexported (golint)
    • Line 37: warning: exported type ServerConfig should have comment or be unexported (golint)
    • Line 60: warning: exported type KubernetesExecutorConfig should have comment or be unexported (golint)
    • Line 70: warning: exported function FlagsForServer should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!