Skip to content

Increase Unit Test Coverage #53

Increase Unit Test Coverage

Increase Unit Test Coverage #53

Triggered via pull request January 29, 2025 14:27
Status Failure
Total duration 1m 15s
Artifacts

common-workflows.yaml

on: pull_request
Golang Validation  /  Lint golang code
47s
Golang Validation / Lint golang code
Golang Validation  /  Yaml Lint
8s
Golang Validation / Yaml Lint
Quality Checks  /  Unit tests and package coverage
1m 3s
Quality Checks / Unit tests and package coverage
Quality Checks  /  GoSec
44s
Quality Checks / GoSec
Quality Checks  /  Go Formatter and Vetter
55s
Quality Checks / Go Formatter and Vetter
Quality Checks  /  Malware Scan
48s
Quality Checks / Malware Scan
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Golang Validation / Lint golang code: context/context_test.go#L51
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: context/context_test.go#L86
unused-parameter: parameter 's' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: csc/cmd/controller_test.go#L40
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: csc/cmd/controller_test.go#L40
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: csc/cmd/identity_test.go#L26
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: csc/cmd/identity_test.go#L26
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: csc/cmd/node_test.go#L12
var-declaration: should omit type volumeCapabilitySliceArg from declaration of var vcs; it will be inferred from the right-hand side (revive)
Golang Validation / Lint golang code: csc/cmd/vartypes_test.go#L104
redefines-builtin-id: redefinition of the built-in function cap (revive)
Golang Validation / Lint golang code: csc/cmd/vartypes_test.go#L117
redefines-builtin-id: redefinition of the built-in function cap (revive)
Golang Validation / Lint golang code: csc/main_test.go#L7
unused-parameter: parameter 'm' seems to be unused, consider removing or renaming it as _ (revive)