Skip to content

Rehaul

Rehaul #71

Triggered via pull request June 10, 2024 18:24
Status Success
Total duration 2m 18s
Artifacts

codeql.yml

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

Annotations

10 errors
analyze (go): core/task/command.go#L76
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/task/get.go#L23
field `cancel` is unused (unused)
analyze (go): core/task/helper.go#L34
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): config/validators.go#L29
S1002: should omit comparison to bool constant, can be simplified to `c.Disabled` (gosimple)
analyze (go): config/validators.go#L128
S1002: should omit comparison to bool constant, can be simplified to `s.OnInit` (gosimple)
analyze (go): core/os_credential/unix_credential.go#L3
ST1000: at least one file in a package should have a package comment (stylecheck)