Increase Unit Test Coverage #53
common-workflows.yaml
on: pull_request
Golang Validation
/
Lint golang code
47s
Golang Validation
/
Yaml Lint
8s
Quality Checks
/
Unit tests and package coverage
1m 3s
Quality Checks
/
GoSec
44s
Quality Checks
/
Go Formatter and Vetter
55s
Quality Checks
/
Malware Scan
48s
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)
|