NSM Dashboard initial impl. #3
Annotations
10 errors and 10 warnings
golangci-lint:
model.go#L41
`Registry` is unused (deadcode)
|
golangci-lint:
model.go#L51
`ServiceRequest` is unused (deadcode)
|
golangci-lint:
model.go#L52
`RegistryRequest` is unused (deadcode)
|
golangci-lint:
dashboard-backend.go#L61
Function 'main' has too many statements (57 > 50) (funlen)
|
golangci-lint:
model.go#L103
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
model.go#L194
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
model.go#L150
paramTypeCombine: func(id string, parentId string, label string) Node could be replaced with func(id, parentId, label string) Node (gocritic)
|
golangci-lint:
model.go#L159
paramTypeCombine: func(edges []Edge, sourceId string, targetId string, edgeType EdgeType, healthy bool) []Edge could be replaced with func(edges []Edge, sourceId, targetId string, edgeType EdgeType, healthy bool) []Edge (gocritic)
|
golangci-lint:
model.go#L72
cyclomatic complexity 17 of func `parceConnectionsToGraphicalModel` is high (> 15) (gocyclo)
|
golangci-lint:
dashboard-backend.go#L1
Missed header for check (goheader)
|
golangci-lint:
model.go#L173
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
dashboard-backend.go#L32
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
golangci-lint:
dashboard-backend.go#L67
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
golangci-lint:
dashboard-backend.go#L121
var-naming: don't use underscores in Go names; var client_nse should be clientNse (revive)
|
golangci-lint:
dashboard-backend.go#L123
var-naming: don't use underscores in Go names; var stream_nse should be streamNse (revive)
|
golangci-lint:
dashboard-backend.go#L135
var-naming: don't use underscores in Go names; var nsmgr_addr should be nsmgrAddr (revive)
|
golangci-lint:
dashboard-backend.go#L162
var-naming: var connectionId should be connectionID (revive)
|
golangci-lint:
dashboard-backend.go#L34
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
dashboard-backend.go#L45
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
model.go#L76
var-naming: range var connectionId should be connectionID (revive)
|
The logs for this run have expired and are no longer available.
Loading