🧱 Update to the latest goreleaser configuration #528
126 new problems found by Qodana for Go
Qodana for Go
126 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused exported function |
🔶 Warning | 79 |
Unused constant |
🔶 Warning | 26 |
Unused global variable |
🔶 Warning | 14 |
Constant condition |
🔶 Warning | 2 |
Imported package name as a name identifier |
🔶 Warning | 2 |
Error may be not nil |
🔶 Warning | 1 |
Comment of exported element starts with the incorrect name |
◽️ Notice | 2 |
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at qodana-support@jetbrains.com
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check notice on line 30 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'QodanaLicenseOnlyToken ...' (with an optional leading article)
Check notice on line 65 in platform/git/git.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'CheckoutAndUpdateSubmodule ...' (with an optional leading article)
Check warning on line 90 in platform/qdcontainer/container.go
github-actions / Qodana for Go
Constant condition
Condition is always true
Check warning on line 162 in platform/commoncontext/configurator.go
github-actions / Qodana for Go
Constant condition
Condition is always true
Check warning on line 35 in platform/eap.go
github-actions / Qodana for Go
Error may be not nil
`buildDate` might have `nil` or other unexpected value as its corresponding error variable might be not `nil`
Check warning on line 33 in platform/third_party_scan_cmd.go
github-actions / Qodana for Go
Imported package name as a name identifier
Variable `cmd` collides with imported package name
Check warning on line 42 in cmd/scan.go
github-actions / Qodana for Go
Imported package name as a name identifier
Variable `cmd` collides with imported package name
Check warning on line 37 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaClearKeyring`
Check warning on line 34 in platform/commoncontext/configurator.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaSarifName`
Check warning on line 47 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Unused constant
Unused constant `AndroidSdkRoot`
Check warning on line 35 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaToolEnv`
Check warning on line 32 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaToken`
Check warning on line 43 in platform/utils/cmd.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaEapLicenseExpiredExitCode`
Check warning on line 37 in platform/utils/cmd.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaSuccessExitCode`
Check warning on line 26 in platform/thirdpartyscan/context.go
github-actions / Qodana for Go
Unused constant
Unused constant `Clt`
Check warning on line 51 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaOrganisationIdHash`
Check warning on line 31 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaLicenseOnlyToken`
Check warning on line 61 in cloud/license.go
github-actions / Qodana for Go
Unused constant
Unused constant `CommunityLicensePlan`
Check warning on line 45 in platform/utils/cmd.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaTimeoutExitCodePlaceholder`
Check warning on line 60 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaCloudRequestTimeoutEnv`
Check warning on line 43 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaCliContainerKeep`
Check warning on line 42 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaCliContainerName`
Check warning on line 39 in platform/utils/cmd.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaFailThresholdExitCode`
Check warning on line 84 in cloud/license.go
github-actions / Qodana for Go
Unused constant
Unused constant `InvalidTokenMessage`
Check warning on line 46 in platform/qdenv/qdenv.go
github-actions / Qodana for Go
Unused constant
Unused constant `QodanaCorettoSdk`