Skip to content

Add qodana CI checks #380

Add qodana CI checks

Add qodana CI checks #380

GitHub Actions / Qodana for Go completed Oct 25, 2024 in 0s

35 new problems found by Qodana for Go

Qodana for Go

35 new problems were found

Inspection name Severity Problems
Deprecated element 🔶 Warning 16
Unhandled error 🔶 Warning 5
Unused constant 🔶 Warning 3
Unused global variable 🔶 Warning 3
Imported package name as a name identifier 🔶 Warning 2
Missing 'case' statements for 'iota' consts in 'switch' 🔶 Warning 1
Unused exported function 🔶 Warning 1
Mixed value and pointer receivers ◽️ Notice 2
Comment of exported element starts with the incorrect name ◽️ Notice 1
Redundant import alias ◽️ Notice 1

☁️ View the detailed Qodana report

Detected 118 dependencies

Third-party software list

This page lists the third-party software dependencies used in project

Dependency Version Licenses
cel.dev/expr v0.16.0 Apache-2.0
cloud.google.com/go/compute/metadata v0.5.0 Apache-2.0
filippo.io/edwards25519 v1.1.0 BSD-3-Clause
github.com/IBM/sarama v1.43.3 MIT
github.com/antihax/optional v1.0.0 MIT
github.com/aws/aws-sdk-go-v2/config v1.28.0 Apache-2.0
github.com/aws/aws-sdk-go-v2/credentials v1.17.41 Apache-2.0
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.17 Apache-2.0
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.21 Apache-2.0
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.21 Apache-2.0
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 Apache-2.0
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.36.2 Apache-2.0
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.0 Apache-2.0
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.10.2 Apache-2.0
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.2 Apache-2.0
github.com/aws/aws-sdk-go-v2/service/sns v1.33.2 Apache-2.0
github.com/aws/aws-sdk-go-v2/service/sqs v1.36.2 Apache-2.0
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.2 Apache-2.0
github.com/aws/aws-sdk-go-v2/service/sso v1.24.2 Apache-2.0
github.com/aws/aws-sdk-go-v2/service/sts v1.32.2 Apache-2.0
github.com/aws/aws-sdk-go-v2 v1.32.2 Apache-2.0
github.com/aws/smithy-go v1.22.0 Apache-2.0
github.com/bsm/ginkgo/v2 v2.12.0 MIT
github.com/bsm/gomega v1.27.10 MIT
github.com/cenkalti/backoff/v4 v4.3.0 MIT
github.com/census-instrumentation/opencensus-proto v0.4.1 Apache-2.0
github.com/cespare/xxhash/v2 v2.3.0 MIT
github.com/cncf/xds/go v0.0.0-20240723142845-024c85f92f20 Apache-2.0
github.com/davecgh/go-spew v1.1.1 ISC
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f MIT
github.com/eapache/go-resiliency v1.7.0 MIT
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 MIT
github.com/eapache/queue v1.1.0 MIT
github.com/eclipse/paho.golang v0.21.0 EPL-2.0
github.com/elastic/elastic-transport-go/v8 v8.6.0 Apache-2.0
github.com/elastic/go-elasticsearch/v8 v8.15.0 Apache-2.0
github.com/envoyproxy/go-control-plane v0.13.0 Apache-2.0
github.com/envoyproxy/protoc-gen-validate v1.1.0 Apache-2.0
github.com/felixge/httpsnoop v1.0.4 MIT
github.com/fortytw2/leaktest v1.3.0 BSD-3-Clause
github.com/go-logr/logr v1.4.2 Apache-2.0
github.com/go-logr/stdr v1.2.2 Apache-2.0
github.com/go-sql-driver/mysql v1.8.1 MPL-2.0
github.com/golang/glog v1.2.2 Apache-2.0
github.com/golang/protobuf v1.5.0 BSD-3-Clause
github.com/golang/snappy v0.0.4 BSD-3-Clause
github.com/google/go-cmp v0.6.0 BSD-3-Clause
github.com/google/uuid v1.6.0 BSD-3-Clause
github.com/gorilla/securecookie v1.1.1 BSD-3-Clause
github.com/gorilla/sessions v1.2.1 BSD-3-Clause
github.com/gorilla/websocket v1.5.3 BSD-2-Clause
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 BSD-3-Clause
github.com/hashicorp/errwrap v1.1.0 MPL-2.0
github.com/hashicorp/go-multierror v1.1.1 MPL-2.0
github.com/hashicorp/go-uuid v1.0.3 MPL-2.0
github.com/hashicorp/golang-lru v1.0.2 MPL-2.0
github.com/jcmturner/aescts/v2 v2.0.0 Apache-2.0
github.com/jcmturner/dnsutils/v2 v2.0.0 Apache-2.0
github.com/jcmturner/gofork v1.7.6 BSD-3-Clause
github.com/jcmturner/goidentity/v6 v6.0.1 Apache-2.0
github.com/jcmturner/gokrb5/v8 v8.4.4 Apache-2.0
github.com/jcmturner/rpc/v2 v2.0.3 Apache-2.0
github.com/jmespath/go-jmespath/internal/testify v1.5.1 MIT
github.com/jmespath/go-jmespath v0.4.0 Apache-2.0
github.com/klauspost/compress v1.17.11 Apache-2.0
BSD-3-CLAUSE-NO-TRADEMARK
BSD-3-Clause
MIT
github.com/kr/pretty v0.3.1 MIT
github.com/kr/text v0.2.0 MIT
github.com/montanaflynn/stats v0.7.1 MIT
github.com/pierrec/lz4/v4 v4.1.21 BSD-3-Clause
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 BSD-3-Clause
github.com/pmezard/go-difflib v1.0.0 BSD-3-Clause
github.com/rabbitmq/amqp091-go v1.10.0 BSD-2-Clause
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 BSD-2-Clause-Views
github.com/redis/go-redis/extra/rediscmd/v9 v9.7.0 BSD-2-Clause
github.com/redis/go-redis/extra/redisotel/v9 v9.7.0 BSD-2-Clause
github.com/redis/go-redis/v9 v9.7.0 BSD-2-Clause
github.com/rogpeppe/fastuuid v1.2.0 BSD-3-Clause
github.com/rogpeppe/go-internal v1.13.1 BSD-3-Clause
github.com/stretchr/objx v0.5.2 MIT
github.com/stretchr/testify v1.9.0 MIT
github.com/xdg-go/pbkdf2 v1.0.0 Apache-2.0
github.com/xdg-go/scram v1.1.2 Apache-2.0
github.com/xdg-go/stringprep v1.0.4 Apache-2.0
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 MIT
github.com/yuin/goldmark v1.4.13 MIT
go.mongodb.org/mongo-driver v1.17.1 Apache-2.0
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws v0.56.0 Apache-2.0
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo v0.56.0 Apache-2.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0 Apache-2.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 Apache-2.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.31.0 Apache-2.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.31.0 Apache-2.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0 Apache-2.0
go.opentelemetry.io/otel/metric v1.31.0 Apache-2.0
go.opentelemetry.io/otel/sdk/metric v1.31.0 Apache-2.0
go.opentelemetry.io/otel/sdk v1.31.0 Apache-2.0
go.opentelemetry.io/otel/trace v1.31.0 Apache-2.0
go.opentelemetry.io/otel v1.31.0 Apache-2.0
go.opentelemetry.io/proto/otlp v1.3.1 Apache-2.0
go.uber.org/goleak v1.3.0 MIT
golang.org/x/crypto v0.28.0 BSD-3-Clause
golang.org/x/mod v0.17.0 BSD-3-Clause
golang.org/x/net v0.30.0 BSD-3-Clause
golang.org/x/oauth2 v0.22.0 BSD-3-Clause
golang.org/x/sync v0.8.0 BSD-3-Clause
golang.org/x/sys v0.26.0 BSD-3-Clause
golang.org/x/term v0.25.0 BSD-3-Clause
golang.org/x/text v0.19.0 BSD-3-Clause
golang.org/x/time v0.7.0 BSD-3-Clause
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d BSD-3-Clause
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 BSD-3-Clause
google.golang.org/genproto/googleapis/api v0.0.0-20241007155032-5fefd90f89a9 Apache-2.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 Apache-2.0
google.golang.org/grpc v1.67.1 Apache-2.0
google.golang.org/protobuf v1.35.1 BSD-3-Clause
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c BSD-2-Clause
gopkg.in/yaml.v2 v2.4.0 Apache-2.0
MIT
gopkg.in/yaml.v3 v3.0.1 Apache-2.0
MIT
Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 1 in component/http/component.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Package comment should be of the form 'Package http ...'

Check warning on line 40 in examples/examples.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`Endpoint` is deprecated

Check warning on line 81 in component/grpc/component_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`WithBlock` is deprecated

Check warning on line 38 in examples/examples.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`Endpoint` is deprecated

Check warning on line 283 in component/amqp/component.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`QueueInspect` is deprecated

Check warning on line 51 in examples/examples.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`WithEndpointResolverWithOptions` is deprecated

Check warning on line 186 in component/sqs/component.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`AttributeNames` is deprecated

Check warning on line 166 in component/grpc/component_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`WithBlock` is deprecated

Check warning on line 42 in component/kafka/component_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`BalanceStrategySticky` is deprecated

Check warning on line 46 in examples/examples.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`Endpoint` is deprecated

Check warning on line 86 in client/grpc/grpc_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`WithInsecure` is deprecated

Check warning on line 69 in client/grpc/grpc_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`WithInsecure` is deprecated

Check warning on line 42 in component/kafka/component_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`Strategy` is deprecated

Check warning on line 26 in client/grpc/grpc.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`DialContext` is deprecated

Check warning on line 165 in component/grpc/component_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`DialContext` is deprecated

Check warning on line 80 in component/grpc/component_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`DialContext` is deprecated

Check warning on line 38 in examples/examples.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`EndpointResolverWithOptionsFunc` is deprecated

Check warning on line 35 in examples/service/http.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Imported package name as a name identifier

Variable `router` collides with imported package name

Check warning on line 34 in component/sqs/metric.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Imported package name as a name identifier

Variable `attribute` collides with imported package name

Check notice on line 94 in client/kafka/kafka.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Mixed value and pointer receivers

Struct Builder has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.

Check notice on line 119 in client/kafka/kafka.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Mixed value and pointer receivers

Struct Builder has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.

Check notice on line 4 in examples/examples.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Redundant import alias

Redundant alias

Check warning on line 46 in reliability/circuitbreaker/breaker.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Missing 'case' statements for 'iota' consts in 'switch'

Missing 'case' statements for 'iota' consts in 'switch'

Check warning on line 29 in component/kafka/component_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Unhandled error

Unhandled error

Check warning on line 31 in component/grpc/component_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Unhandled error

Unhandled error