Skip to content

Add qodana CI checks #1

Add qodana CI checks

Add qodana CI checks #1

GitHub Actions / Qodana for Go completed Nov 5, 2024 in 0s

1316 new problems found by Qodana for Go

Qodana for Go

1316 new problems were found

Inspection name Severity Problems
Deprecated element 🔶 Warning 1002
Unused constant 🔶 Warning 66
Unused global variable 🔶 Warning 47
Unhandled error 🔶 Warning 27
Unused exported function 🔶 Warning 6
Malformed struct tag 🔶 Warning 5
Bool condition 🔶 Warning 2
Imported package name as a name identifier 🔶 Warning 1
Unused parameter 🔶 Warning 1
Comment of exported element starts with the incorrect name ◽️ Notice 117
Name starts with a package name ◽️ Notice 16
Redundant parentheses ◽️ Notice 14
Error string should not be capitalized or end with punctuation ◽️ Notice 3
Receiver has a generic name ◽️ Notice 3
Redundant type conversion ◽️ Notice 2
Usage of Snake_Case ◽️ Notice 2
Redundant import alias ◽️ Notice 1
Type can be omitted ◽️ Notice 1

☁️ View the detailed Qodana report

Detected 136 dependencies

Third-party software list

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

Dependency Version Licenses
cloud.google.com/go/bigquery v1.8.0 Apache-2.0
cloud.google.com/go/compute/metadata v0.2.3 Apache-2.0
cloud.google.com/go/compute v1.23.0 Apache-2.0
cloud.google.com/go/datastore v1.1.0 Apache-2.0
cloud.google.com/go/firestore v1.13.0 Apache-2.0
cloud.google.com/go/longrunning v0.5.1 Apache-2.0
cloud.google.com/go/pubsub v1.3.1 Apache-2.0
cloud.google.com/go/storage v1.14.0 Apache-2.0
cloud.google.com/go v0.110.7 Apache-2.0
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9 BSD-3-Clause
github.com/BurntSushi/toml v0.3.1 MIT
github.com/ans-group/go-durationstring v1.2.0 MIT
github.com/armon/go-metrics v0.4.1 MIT
github.com/census-instrumentation/opencensus-proto v0.2.1 Apache-2.0
github.com/chzyer/logex v1.1.10 MIT
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e MIT
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 MIT
github.com/client9/misspell v0.3.4 BSD-3-Clause
MIT
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403 Apache-2.0
github.com/coreos/go-semver v0.3.0 Apache-2.0
github.com/coreos/go-systemd/v22 v22.3.2 Apache-2.0
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc ISC
github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad Apache-2.0
github.com/envoyproxy/protoc-gen-validate v0.1.0 Apache-2.0
github.com/fatih/color v1.14.1 MIT
github.com/frankban/quicktest v1.14.4 MIT
github.com/fsnotify/fsnotify v1.6.0 BSD-3-Clause
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4 BSD-3-Clause
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1 BSD-3-Clause
github.com/go-playground/locales v0.12.1 MIT
github.com/go-playground/universal-translator v0.16.0 MIT
github.com/gogo/protobuf v1.3.2 BSD-3-Clause
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b Apache-2.0
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da Apache-2.0
github.com/golang/mock v1.6.0 Apache-2.0
github.com/golang/protobuf v1.5.3 BSD-3-Clause
github.com/google/btree v1.0.0 Apache-2.0
github.com/google/go-cmp v0.5.9 BSD-3-Clause
github.com/google/martian/v3 v3.1.0 Apache-2.0
github.com/google/martian v2.1.0+incompatible Apache-2.0
github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2 Apache-2.0
github.com/google/renameio v0.1.0 Apache-2.0
github.com/google/s2a-go v0.1.7 Apache-2.0
github.com/google/uuid v1.1.2 BSD-3-Clause
github.com/googleapis/enterprise-certificate-proxy v0.3.1 Apache-2.0
github.com/googleapis/gax-go/v2 v2.12.0 BSD-3-Clause
github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8 Apache-2.0
github.com/hashicorp/consul/api v1.25.1 MPL-2.0
github.com/hashicorp/go-cleanhttp v0.5.2 MPL-2.0
github.com/hashicorp/go-hclog v1.5.0 MIT
github.com/hashicorp/go-immutable-radix v1.3.1 MPL-2.0
github.com/hashicorp/go-rootcerts v1.0.2 MPL-2.0
github.com/hashicorp/golang-lru v0.5.4 MPL-2.0
github.com/hashicorp/hcl v1.0.0 MPL-2.0
github.com/hashicorp/serf v0.10.1 MPL-2.0
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639 BSD-3-Clause
github.com/json-iterator/go v1.1.12 MIT
github.com/jstemmer/go-junit-report v0.9.1 MIT
github.com/kisielk/gotool v1.0.0 BSD-3-Clause
MIT
github.com/klauspost/compress v1.17.0 Apache-2.0
BSD-3-CLAUSE-NO-TRADEMARK
BSD-3-Clause
MIT
github.com/kr/fs v0.1.0 BSD-3-Clause
github.com/kr/pretty v0.3.1 MIT
github.com/kr/pty v1.1.1 MIT
github.com/kr/text v0.2.0 MIT
github.com/leodido/go-urn v1.1.0 MIT
github.com/magiconair/properties v1.8.7 BSD-2-Clause
github.com/mattn/go-colorable v0.1.13 MIT
github.com/mattn/go-isatty v0.0.17 MIT
github.com/minio/highwayhash v1.0.2 Apache-2.0
github.com/mitchellh/go-homedir v1.1.0 MIT
github.com/mitchellh/mapstructure v1.5.0 MIT
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd Apache-2.0
github.com/modern-go/reflect2 v1.0.2 Apache-2.0
github.com/nats-io/jwt/v2 v2.4.1 Apache-2.0
github.com/nats-io/nats.go v1.30.2 Apache-2.0
github.com/nats-io/nkeys v0.4.5 Apache-2.0
github.com/nats-io/nuid v1.0.1 Apache-2.0
github.com/pelletier/go-toml/v2 v2.1.0 MIT
github.com/pkg/errors v0.9.1 BSD-2-Clause
github.com/pkg/sftp v1.13.1 BSD-2-Clause
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 BSD-3-Clause
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 Apache-2.0
github.com/rogpeppe/go-internal v1.9.0 BSD-3-Clause
github.com/sagikazarmark/crypt v0.15.0 MIT
github.com/sagikazarmark/locafero v0.3.0 MIT
github.com/sagikazarmark/slog-shim v0.1.0 BSD-3-Clause
github.com/sourcegraph/conc v0.3.0 MIT
github.com/spf13/afero v1.10.0 Apache-2.0
github.com/spf13/cast v1.5.1 MIT
github.com/spf13/pflag v1.0.5 BSD-3-Clause
github.com/spf13/viper v1.17.0 MIT
github.com/stretchr/objx v0.5.0 MIT
github.com/stretchr/testify v1.8.4 MIT
github.com/subosito/gotenv v1.6.0 MIT
github.com/yuin/goldmark v1.3.5 MIT
go.etcd.io/etcd/api/v3 v3.5.9 Apache-2.0
go.etcd.io/etcd/client/pkg/v3 v3.5.9 Apache-2.0
go.etcd.io/etcd/client/v2 v2.305.9 Apache-2.0
go.etcd.io/etcd/client/v3 v3.5.9 Apache-2.0
go.opencensus.io v0.24.0 Apache-2.0
go.uber.org/atomic v1.9.0 MIT
go.uber.org/multierr v1.9.0 MIT
go.uber.org/zap v1.21.0 MIT
golang.org/x/crypto v0.13.0 BSD-3-Clause
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 BSD-3-Clause
golang.org/x/image v0.0.0-20190802002840-cff245a6509b BSD-3-Clause
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 BSD-3-Clause
golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028 BSD-3-Clause
golang.org/x/mod v0.12.0 BSD-3-Clause
golang.org/x/net v0.15.0 BSD-3-Clause
golang.org/x/oauth2 v0.12.0 BSD-3-Clause
golang.org/x/sync v0.3.0 BSD-3-Clause
golang.org/x/sys v0.12.0 BSD-3-Clause
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 BSD-3-Clause
golang.org/x/text v0.13.0 BSD-3-Clause
golang.org/x/time v0.3.0 BSD-3-Clause
golang.org/x/tools v0.13.0 BSD-3-Clause
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 BSD-3-Clause
google.golang.org/api v0.143.0 BSD-3-Clause
google.golang.org/appengine v1.6.7 Apache-2.0
google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb Apache-2.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 Apache-2.0
google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb Apache-2.0
google.golang.org/grpc v1.58.2 Apache-2.0
google.golang.org/protobuf v1.31.0 BSD-3-Clause
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 BSD-2-Clause
gopkg.in/errgo.v2 v2.1.0 BSD-3-Clause
gopkg.in/go-playground/assert.v1 v1.2.1 MIT
gopkg.in/go-playground/validator.v9 v9.27.0 MIT
gopkg.in/ini.v1 v1.67.0 Apache-2.0
gopkg.in/yaml.v2 v2.2.2 Apache-2.0
MIT
gopkg.in/yaml.v3 v3.0.1 Apache-2.0
MIT
honnef.co/go/tools v0.0.1-2020.1.4 MIT
rsc.io/binaryregexp v0.2.0 BSD-3-Clause
rsc.io/quote/v3 v3.1.0 BSD-3-Clause
rsc.io/sampler v1.3.0 BSD-3-Clause
Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 162 in pkg/ptr/ptr_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Expression `b` is always `true`

Check warning on line 162 in pkg/ptr/ptr_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Expression `b` is always `true`

Check notice on line 105 in pkg/service/loadbalancer/service_listener.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'DisableListenerGeoIP ...' (with an optional leading article)

Check notice on line 244 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetRegions ...' (with an optional leading article)

Check notice on line 66 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetV1Hosts ...' (with an optional leading article)

Check notice on line 627 in pkg/service/ecloud/request.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'PatchNATOverloadRuleRequest ...' (with an optional leading article)

Check notice on line 9 in pkg/service/cloudflare/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetAccounts ...' (with an optional leading article)

Check notice on line 66 in pkg/service/ecloud/service_availabilityzone.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetAvailabilityZoneIOPSTiersPaginated ...' (with an optional leading article)

Check notice on line 85 in pkg/service/loadbalancer/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetListenerCertificates ...' (with an optional leading article)

Check notice on line 401 in pkg/service/ecloud/error.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'LoadBalancerSpecNotFoundError ...' (with an optional leading article)

Check notice on line 32 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetSolutions ...' (with an optional leading article)

Check notice on line 31 in pkg/service/ecloud/service_iops.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetIOPSTier ...' (with an optional leading article)

Check notice on line 102 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetCredits ...' (with an optional leading article)

Check notice on line 227 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetRouters ...' (with an optional leading article)

Check notice on line 36 in pkg/service/cloudflare/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetTotalSpendMonthToDate ...' (with an optional leading article)

Check notice on line 198 in pkg/service/ecloud/service_vpnsession.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'UpdateVPNSessionPreSharedKey ...' (with an optional leading article)

Check notice on line 25 in pkg/service/loadbalancer/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetTargetGroups ...' (with an optional leading article)

Check notice on line 626 in pkg/service/pss/model.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'SupportedService ...' (with an optional leading article)

Check notice on line 459 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetIOPSTiers ...' (with an optional leading article)

Check notice on line 111 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetVPCs ...' (with an optional leading article)

Check notice on line 284 in pkg/service/ecloud/error.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'HostGroupNotFoundError ...' (with an optional leading article)

Check notice on line 17 in pkg/service/loadbalancer/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetDeployments ...' (with an optional leading article)

Check notice on line 252 in pkg/service/pss/service_case.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetCaseUpdate ...' (with an optional leading article)

Check notice on line 595 in pkg/service/pss/model.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'ProblemCase ...' (with an optional leading article)

Check notice on line 28 in pkg/service/cloudflare/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetZones ...' (with an optional leading article)