Skip to content

Merge pull request #13 from FMotalleb/docker-connection #77

Merge pull request #13 from FMotalleb/docker-connection

Merge pull request #13 from FMotalleb/docker-connection #77

Triggered via push June 12, 2024 13:25
Status Success
Total duration 3m 41s
Artifacts

codeql.yml

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

Annotations

10 errors
analyze (go): core/cmd_connection/docker_create.go#L130
Error return value of `d.cli.ContainerRemove` is not checked (errcheck)
analyze (go): core/cmd_connection/docker_create.go#L164
Error return value of `resp.Close` is not checked (errcheck)
analyze (go): core/task/command.go#L70
Error return value of `connection.Disconnect` is not checked (errcheck)
analyze (go): config/validators.go#L56
cyclomatic complexity 18 of func `(*Task).Validate` is high (> 15) (gocyclo)
analyze (go): core/common/http_client.go#L6
field `client` is unused (unused)
analyze (go): core/cmd_connection/docker_create.go#L23
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)