Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add qodana CI checks #772

Closed
wants to merge 3 commits into from
Closed

Conversation

qodana-cloud[bot]
Copy link

@qodana-cloud qodana-cloud bot commented Oct 25, 2024

Adds qodana.yaml and GitHub workflow file that runs Qodana static analysis on each pull request.

Copy link

github-actions bot commented Oct 25, 2024

Qodana for Go

29 new problems were found

Inspection name Severity Problems
Deprecated element 🔶 Warning 14
Unused constant 🔶 Warning 3
Unused global variable 🔶 Warning 3
Unhandled error 🔶 Warning 2
Imported package name as a name identifier 🔶 Warning 1
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]

Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.45%. Comparing base (f82d5c7) to head (54303db).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #772      +/-   ##
==========================================
+ Coverage   83.40%   83.45%   +0.05%     
==========================================
  Files          65       65              
  Lines        3766     3766              
==========================================
+ Hits         3141     3143       +2     
+ Misses        495      492       -3     
- Partials      130      131       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mantzas mantzas closed this Oct 26, 2024
@mantzas mantzas deleted the qodana-automation-362507972 branch October 26, 2024 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants