HSW-92 #97
Annotations
10 errors and 1 warning
golangci-lint:
server/db.go#L69
Function 'LoadDBs' is too long (31 > 30) (funlen)
|
golangci-lint:
server/db.go#L197
Function 'reloadDBs' is too long (31 > 30) (funlen)
|
golangci-lint:
server/db.go#L165
cognitive complexity 16 of func `(*Server).reloadLoop` is high (> 9) (gocognit)
|
golangci-lint:
server/db.go#L185
`if s.reloadDBs(dgutaDBsSuffix, basedirBasename, ownersPath, newDBPaths)` has complex nested blocks (complexity: 3) (nestif)
|
golangci-lint:
server/db.go#L315
`if previous.time > timestamp` has complex nested blocks (complexity: 2) (nestif)
|
golangci-lint:
server/db.go#L140
unnecessary leading newline (whitespace)
|
golangci-lint:
server/db.go#L307
Magic number: 2, in <argument> detected (mnd)
|
golangci-lint:
internal/db/dgut.go#L73
test helper function should start from t.Helper() (thelper)
|
golangci-lint:
internal/db/dgut.go#L113
test helper function should start from t.Helper() (thelper)
|
golangci-lint:
basedirs/multi.go#L68
block should not end with a whitespace (or comment) (wsl)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading