Interactive serial module #850
go.yml
on: pull_request
Get Commits to Test
5s
Lint
23s
Check License Lines
23s
Matrix: per_commit_build_test
Annotations
10 errors
|
Lint:
pkg/module/serial/serial.go#L711
Magic number: 10, in <return> detected (mnd)
|
|
Lint:
pkg/module/serial/serial.go#L709
Magic number: 10, in <return> detected (mnd)
|
|
Lint:
pkg/module/serial/serial.go#L543
Magic number: 2, in <argument> detected (mnd)
|
|
Lint:
cmds/dutctl/rpc.go#L237
Function name: runRPC, Cyclomatic Complexity: 29, Halstead Volume: 4559.75, Maintainability Index: 18 (maintidx)
|
|
Lint:
pkg/module/serial/serial.go#L565
openPort returns interface (github.com/BlindspotSoftware/dutctl/pkg/module/serial.serialPort) (ireturn)
|
|
Lint:
internal/dutagent/broker.go#L49
Start returns interface (github.com/BlindspotSoftware/dutctl/pkg/module.Session) (ireturn)
|
|
Lint:
pkg/module/serial/serial.go#L166
cognitive complexity 78 of func `(*Serial).Run` is high (> 30) (gocognit)
|
|
Lint:
pkg/module/serial/serial.go#L271
nested context in function literal (fatcontext)
|
|
Lint:
cmds/dutctl/rpc.go#L215
Duplicate words (Ctrl-A) found (dupword)
|
|
Lint:
pkg/module/serial/serial.go#L659
calculated cyclomatic complexity for function unescape is 13, max is 10 (cyclop)
|