Skip to content

feat: parse http2 data in text mode (#580)

Sign in for the full log view
GitHub Actions / Qodana for Go completed Jul 21, 2024 in 0s

176 new problems found by Qodana for Go

Qodana for Go

176 new problems were found

Inspection name Severity Problems
Unused constant 🔶 Warning 21
Unused parameter 🔶 Warning 16
Unhandled error 🔶 Warning 12
Bool condition 🔶 Warning 4
Unused exported function 🔶 Warning 3
Imported package name as a name identifier 🔶 Warning 1
Single character alternation 🔶 Warning 1
Comment of exported element starts with the incorrect name ◽️ Notice 21
Error string should not be capitalized or end with punctuation ◽️ Notice 20
Malformed build tag ◽️ Notice 18
Name starts with a package name ◽️ Notice 14
Mixed value and pointer receivers ◽️ Notice 10
Redundant type conversion ◽️ Notice 10
Receiver has a generic name ◽️ Notice 8
Usage of Snake_Case ◽️ Notice 7
Redundant parentheses ◽️ Notice 5
Direct comparison of errors ◽️ Notice 2
'defer' in the loop ◽️ Notice 1
Empty slice declared using a literal ◽️ Notice 1
Struct initialization without field names ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Detected 82 dependencies

Third-party software list

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

Dependency Version Licenses
github.com/avast/retry-go v3.0.0+incompatible MIT
github.com/bytedance/sonic/loader v0.1.1 Apache-2.0
github.com/bytedance/sonic v1.11.6 Apache-2.0
github.com/cilium/ebpf v0.12.3 MIT
github.com/cloudflare/cbpfc v0.0.0-20230809125630-31aa294050ff BSD-3-Clause
github.com/cloudwego/base64x v0.1.4 Apache-2.0
github.com/cloudwego/iasm v0.2.0 Apache-2.0
github.com/coreos/go-systemd/v22 v22.5.0 Apache-2.0
github.com/cpuguy83/go-md2man/v2 v2.0.3 MIT
github.com/creack/pty v1.1.9 MIT
github.com/davecgh/go-spew v1.1.1 ISC
github.com/florianl/go-tc v0.4.3 MIT
github.com/frankban/quicktest v1.14.5 MIT
github.com/gabriel-vasile/mimetype v1.4.3 MIT
github.com/gin-contrib/sse v0.1.0 MIT
github.com/gin-gonic/gin v1.10.0 MIT
github.com/go-playground/assert/v2 v2.2.0 MIT
github.com/go-playground/locales v0.14.1 MIT
github.com/go-playground/universal-translator v0.18.1 MIT
github.com/go-playground/validator/v10 v10.20.0 MIT
github.com/goccy/go-json v0.10.2 MIT
github.com/godbus/dbus/v5 v5.0.4 BSD-2-Clause
github.com/gojue/ebpfmanager v0.4.5 AGPL-3.0-or-later
github.com/golang/protobuf v1.5.0 BSD-3-Clause
github.com/google/go-cmp v0.6.0 BSD-3-Clause
github.com/google/gofuzz v1.0.0 Apache-2.0
github.com/google/gopacket v1.1.20 BSD-3-Clause
github.com/hashicorp/errwrap v1.0.0 MPL-2.0
github.com/hashicorp/go-multierror v1.1.1 MPL-2.0
github.com/inconshreveable/mousetrap v1.1.0 Apache-2.0
github.com/josharian/native v1.1.0 MIT
github.com/jsimonetti/rtnetlink v0.0.0-20211022192332-93da33804786 MIT
github.com/json-iterator/go v1.1.12 MIT
github.com/klauspost/cpuid/v2 v2.2.7 MIT
github.com/knz/go-libedit v1.10.1 Apache-2.0
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.4.0 MIT
github.com/mattn/go-colorable v0.1.13 MIT
github.com/mattn/go-isatty v0.0.20 MIT
github.com/mdlayher/ethtool v0.0.0-20210210192532-2b88debcdd43 MIT
github.com/mdlayher/genetlink v1.0.0 MIT
github.com/mdlayher/netlink v1.7.1 MIT
github.com/mdlayher/socket v0.4.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/pelletier/go-toml/v2 v2.2.2 MIT
github.com/pkg/errors v0.9.1 BSD-2-Clause
github.com/pmezard/go-difflib v1.0.0 BSD-3-Clause
github.com/rogpeppe/go-internal v1.9.0 BSD-3-Clause
github.com/rs/xid v1.5.0 MIT
github.com/rs/zerolog v1.32.0 MIT
github.com/russross/blackfriday/v2 v2.1.0 BSD-2-Clause
github.com/shuLhan/go-bindata v4.0.0+incompatible CC0-1.0
github.com/sirupsen/logrus v1.8.1 MIT
github.com/spf13/cobra v1.8.0 Apache-2.0
github.com/spf13/pflag v1.0.5 BSD-3-Clause
github.com/stretchr/objx v0.5.2 MIT
github.com/stretchr/testify v1.9.0 MIT
github.com/twitchyliquid64/golang-asm v0.15.1 BSD-3-Clause
github.com/ugorji/go/codec v1.2.12 MIT
github.com/vishvananda/netlink v1.1.0 Apache-2.0
github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f Apache-2.0
golang.org/x/arch v0.8.0 BSD-3-Clause
golang.org/x/crypto v0.23.0 BSD-3-Clause
golang.org/x/exp v0.0.0-20230224173230-c95f2b4c22f2 BSD-3-Clause
golang.org/x/lint v0.0.0-20200302205851-738671d3881b BSD-3-Clause
golang.org/x/mod v0.8.0 BSD-3-Clause
golang.org/x/net v0.25.0 BSD-3-Clause
golang.org/x/sync v0.1.0 BSD-3-Clause
golang.org/x/sys v0.20.0 BSD-3-Clause
golang.org/x/term v0.20.0 BSD-3-Clause
golang.org/x/text v0.15.0 BSD-3-Clause
golang.org/x/tools v0.6.0 BSD-3-Clause
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 BSD-3-Clause
google.golang.org/protobuf v1.34.1 BSD-3-Clause
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 BSD-2-Clause
gopkg.in/errgo.v2 v2.1.0 BSD-3-Clause
gopkg.in/yaml.v3 v3.0.1 Apache-2.0
MIT
nullprogram.com/x/optparse v1.0.0 Unlicense
rsc.io/pdf v0.1.1 BSD-3-Clause
Contact Qodana team

Contact us at qodana-support@jetbrains.com

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 111 in user/event/event_nspr.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Condition `false && strings.TrimSpace(string(ne.Comm[:13])) != "Socket Thread"` is always `false`

Check warning on line 52 in user/module/probe_openssl_pcap.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Expression `skipLoopback` is always `true`

Check warning on line 83 in user/event/event_nspr.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Condition `false && strings.Compare(fire_thread, "Socket Thread") != 0` is always `false`

Check warning on line 49 in user/module/probe_gotls_pcap.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Expression `skipLoopback` is always `true`

Check notice on line 2 in user/config/config_gnutls_linux.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in user/event/event_mysqld.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in user/config/config_postgres.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in user/config/common_linux.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in cli/cmd/nss.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in user/module/probe_postgres.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in user/event/event_postgres.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in cli/cmd/postgres.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in pkg/util/kernel/kernel_version.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in user/config/config_nspr_linux.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in user/module/probe_mysqld.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in cli/http/server_linux.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in cli/cmd/gnutls.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in pkg/util/kernel/version.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in user/config/config_mysqld.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in user/config/config_openssl_linux.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in cli/cmd/mysqld.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 2 in pkg/util/ebpf/bpf_linux.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Malformed build tag

//+build comments can be removed

Check notice on line 27 in pkg/event_processor/http_response.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 'HTTP_NEW_LINE_LENGTH ...' (with an optional leading article)

Check notice on line 1 in user/config/config_gotls.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 config ...'

Check notice on line 40 in user/config/config_mysqld.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 'MysqldConfig ...' (with an optional leading article)