Merge pull request #14 from FMotalleb/cleanup-optimize #85
Annotations
10 errors
analyze (go):
config/validators.go#L100
cyclomatic complexity 16 of func `(*Task).Validate` is high (> 15) (gocyclo)
|
analyze (go):
core/common/hooked_test.go#L25
var `exe` is unused (unused)
|
analyze (go):
core/cmd_connection/docker_create.go#L24
field `imageName` is unused (unused)
|
analyze (go):
core/task/get.go#L23
field `cancel` is unused (unused)
|
analyze (go):
core/task/helper.go#L35
func `flushFailedConnections` is unused (unused)
|
analyze (go):
core/task/get.go#L62
response body must be closed (bodyclose)
|
analyze (go):
core/task/post.go#L80
response body must be closed (bodyclose)
|
analyze (go):
core/os_credential/unix_credential.go#L3
ST1000: at least one file in a package should have a package comment (stylecheck)
|
analyze (go):
core/schedule/cron.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
|
analyze (go):
core/schedule/init.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
|