Skip to content

Major: Tests/Optimizition/Rename #83

Major: Tests/Optimizition/Rename

Major: Tests/Optimizition/Rename #83

Triggered via pull request June 16, 2024 11:08
Status Success
Total duration 1m 58s
Artifacts

codeql.yml

on: pull_request
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors
analyze (go): core/task/command.go#L70
Error return value of `connection.Disconnect` is not checked (errcheck)
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): enums/logger_format_type.go#L8
ST1003: const JsonLogger should be JSONLogger (stylecheck)
analyze (go): core/schedule/init.go#L19
ST1020: comment on exported method Cancel should be of the form "Cancel ..." (stylecheck)