Skip to content

Interactive serial module #850

Interactive serial module

Interactive serial module #850

Triggered via pull request June 8, 2026 08:33
Status Failure
Total duration 1m 16s
Artifacts

go.yml

on: pull_request
Get Commits to Test
5s
Get Commits to Test
Lint
23s
Lint
Check License Lines
23s
Check License Lines
Matrix: per_commit_build_test
Fit to window
Zoom out
Zoom in

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)