Skip to content

Add qodana CI checks #380

Add qodana CI checks

Add qodana CI checks #380

Triggered via pull request October 25, 2024 20:57
Status Success
Total duration 7m 27s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

31 warnings and 4 notices
Deprecated element: examples/examples.go#L40
`Endpoint` is deprecated
Deprecated element: component/grpc/component_test.go#L81
`WithBlock` is deprecated
Deprecated element: examples/examples.go#L38
`Endpoint` is deprecated
Deprecated element: component/amqp/component.go#L283
`QueueInspect` is deprecated
Deprecated element: examples/examples.go#L51
`WithEndpointResolverWithOptions` is deprecated
Deprecated element: component/sqs/component.go#L186
`AttributeNames` is deprecated
Deprecated element: component/grpc/component_test.go#L166
`WithBlock` is deprecated
Deprecated element: component/kafka/component_test.go#L42
`BalanceStrategySticky` is deprecated
Deprecated element: examples/examples.go#L46
`Endpoint` is deprecated
Deprecated element: client/grpc/grpc_test.go#L86
`WithInsecure` is deprecated
Deprecated element: client/grpc/grpc_test.go#L69
`WithInsecure` is deprecated
Deprecated element: component/kafka/component_test.go#L42
`Strategy` is deprecated
Deprecated element: client/grpc/grpc.go#L26
`DialContext` is deprecated
Deprecated element: component/grpc/component_test.go#L165
`DialContext` is deprecated
Deprecated element: component/grpc/component_test.go#L80
`DialContext` is deprecated
Deprecated element: examples/examples.go#L38
`EndpointResolverWithOptionsFunc` is deprecated
Imported package name as a name identifier: examples/service/http.go#L35
Variable `router` collides with imported package name
Imported package name as a name identifier: component/sqs/metric.go#L34
Variable `attribute` collides with imported package name
Missing 'case' statements for 'iota' consts in 'switch': reliability/circuitbreaker/breaker.go#L46
Missing 'case' statements for 'iota' consts in 'switch'
Unhandled error: component/sqs/component_test.go#L25
Unhandled error
Unhandled error: component/amqp/message_test.go#L30
Unhandled error
Unhandled error: examples/client/main.go#L160
Unhandled error
Unused constant: encoding/encoding.go#L10
Unused constant `AcceptHeader`
Unused constant: encoding/protobuf/protobuf.go#L15
Unused constant `TypeGoogle`
Unused constant: component/kafka/component.go#L23
Unused constant `subsystem`
Unused exported function: client/sql/sql.go#L166
Unused function `OpenDB`
Unused global variable: reliability/retry/retry_test.go#L132
Unused variable `err`
Unused global variable: observability/log/log_test.go#L50
Unused variable `bCtx`
Comment of exported element starts with the incorrect name: component/http/component.go#L1
Package comment should be of the form 'Package http ...'
Mixed value and pointer receivers: client/kafka/kafka.go#L94
Struct Builder has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Mixed value and pointer receivers: client/kafka/kafka.go#L119
Struct Builder has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Redundant import alias: examples/examples.go#L4
Redundant alias