Skip to content

refactor: Remove unused code and update dependencies #20

refactor: Remove unused code and update dependencies

refactor: Remove unused code and update dependencies #20

Triggered via push July 13, 2024 03:09
Status Success
Total duration 3m 44s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 11 warnings, and 10 notices
Vulnerable declared dependency: backend/go.mod#L86
Dependency go:github.com/jackc/pgx/v4:v4.15.0 is vulnerable , safe version 4.18.2 * [CVE-2024-27304](https://devhub.checkmarx.com/cve-details/CVE-2024-27304?utm_source=jetbrains&utm_medium=referral) 9.8 Integer Overflow or Wraparound vulnerability with High severity found * [CVE-2024-27289](https://devhub.checkmarx.com/cve-details/CVE-2024-27289?utm_source=jetbrains&utm_medium=referral) 8.1 Improper Neutralization of Special Elements used in an SQL Command ("SQL Injection") vulnerability with High severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
Vulnerable declared dependency: core/go.mod#L113
Dependency go:github.com/jackc/pgx/v4:v4.15.0 is vulnerable , safe version 4.18.2 * [CVE-2024-27304](https://devhub.checkmarx.com/cve-details/CVE-2024-27304?utm_source=jetbrains&utm_medium=referral) 9.8 Integer Overflow or Wraparound vulnerability with High severity found * [CVE-2024-27289](https://devhub.checkmarx.com/cve-details/CVE-2024-27289?utm_source=jetbrains&utm_medium=referral) 8.1 Improper Neutralization of Special Elements used in an SQL Command ("SQL Injection") vulnerability with High severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
Vulnerable declared dependency: backend/go.mod#L83
Dependency go:github.com/jackc/pgproto3/v2:v2.2.0 is vulnerable , safe version 2.3.3 * [CVE-2024-27304](https://devhub.checkmarx.com/cve-details/CVE-2024-27304?utm_source=jetbrains&utm_medium=referral) 9.8 Integer Overflow or Wraparound vulnerability with High severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
Vulnerable declared dependency: core/go.mod#L110
Dependency go:github.com/jackc/pgproto3/v2:v2.2.0 is vulnerable , safe version 2.3.3 * [CVE-2024-27304](https://devhub.checkmarx.com/cve-details/CVE-2024-27304?utm_source=jetbrains&utm_medium=referral) 9.8 Integer Overflow or Wraparound vulnerability with High severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
qodana
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecated element: fs/test/seaweedfs_test.go#L179
`WriteFile` is deprecated
Deprecated element: fs/test/utils.go#L99
`WriteFile` is deprecated
Deprecated element: vcs/test/git_test.go#L345
`ReadDir` is deprecated
Deprecated element: fs/test/bindata.go#L238
`WriteFile` is deprecated
Deprecated element: fs/test/seaweedfs_test.go#L204
`WriteFile` is deprecated
Deprecated element: fs/test/seaweedfs_test.go#L236
`ReadFile` is deprecated
Deprecated element: core/grpc/client/client.go#L241
`WithInsecure` is deprecated
Deprecated element: vcs/test/git_test.go#L347
`ReadFile` is deprecated
Deprecated element: vcs/test/git_test.go#L303
`ReadFile` is deprecated
Deprecated element: vcs/test/git_test.go#L217
`ReadFile` is deprecated
Assignment to a receiver: core/entity/result.go#L70
Assignment to the method receiver doesn't propagate to other calls
Assignment to a receiver: core/entity/result.go#L59
Assignment to the method receiver doesn't propagate to other calls
Malformed build tag: core/sys_exec/sys_exec_linux.go#L2
//+build comments can be removed
Comment of exported element starts with the incorrect name: fs/test/bindata.go#L66
Comment should have the following format 'ModTime ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: core/utils/rpc.go#L5
Comment should have the following format 'ObjectToString ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: core/utils/rpc.go#L11
Comment should have the following format 'GetRpcParam ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: core/constants/errors.go#L8
Comment should have the following format 'ErrAlreadyExists ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: fs/test/bindata.go#L1
Package comment should be of the form 'Package test ...'
Direct comparison of errors: db/redis/client.go#L237
Comparison with errors using equality operators fails on wrapped errors
Direct comparison of errors: db/redis/client.go#L197
Comparison with errors using equality operators fails on wrapped errors