59 new problems found by Qodana for Go
Qodana for Go
59 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unhandled error |
🔶 Warning | 8 |
Unexported return type of the exported function |
🔶 Warning | 6 |
Imported package name as a name identifier |
🔶 Warning | 5 |
Bool condition |
🔶 Warning | 3 |
Unused parameter |
🔶 Warning | 2 |
Reserved word used as name |
🔶 Warning | 1 |
Deprecated dependency |
🔶 Warning | 1 |
'defer' in the loop |
◽️ Notice | 6 |
Name starts with a package name |
◽️ Notice | 6 |
Dependency update available |
◽️ Notice | 6 |
Error string should not be capitalized or end with punctuation |
◽️ Notice | 5 |
Usage of Snake_Case |
◽️ Notice | 3 |
Empty slice declared using a literal |
◽️ Notice | 2 |
Comment of exported element starts with the incorrect name |
◽️ Notice | 1 |
Incorrect usage of 'fmt.Printf' and 'fmt.Println' functions |
◽️ Notice | 1 |
Redundant type conversion |
◽️ Notice | 1 |
Type assertion on errors fails on wrapped errors |
◽️ Notice | 1 |
Type can be omitted |
◽️ Notice | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at [email protected]
- 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 warning on line 66 in internal/esbuild/sass.go
github-actions / Qodana for Go
Bool condition
Condition `osType == "darwin"` is always `false`
Check warning on line 30 in cmd/project/project_proxy.go
github-actions / Qodana for Go
Bool condition
Condition `runtime.GOOS == "darwin"` is always `false`
Check warning on line 32 in cmd/project/project_proxy.go
github-actions / Qodana for Go
Bool condition
Condition `runtime.GOOS == "windows"` is always `false`
Check notice on line 10 in internal/esbuild/util.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'ToKebabCase ...' (with an optional leading article)
Check notice on line 39 in cmd/project/config_sync_theme.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 41 in cmd/project/config_sync_entity.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 93 in extension/asset_platform.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 105 in extension/asset_platform.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 82 in extension/asset_platform.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 101 in cmd/project/config_sync_theme.go
github-actions / Qodana for Go
'defer' in the loop
Possible resource leak, `defer` is called in the `for` loop
Check notice on line 290 in cmd/account/account_producer_extension_info_push.go
github-actions / Qodana for Go
Error string should not be capitalized or end with punctuation
Error string should not be capitalized or end with punctuation mark
Check notice on line 303 in cmd/account/account_producer_extension_info_push.go
github-actions / Qodana for Go
Error string should not be capitalized or end with punctuation
Error string should not be capitalized or end with punctuation mark
Check notice on line 48 in version/version.go
github-actions / Qodana for Go
Error string should not be capitalized or end with punctuation
Error string should not be capitalized or end with punctuation mark
Check notice on line 75 in extension/zip.go
github-actions / Qodana for Go
Error string should not be capitalized or end with punctuation
Error string should not be capitalized or end with punctuation mark
Check notice on line 57 in version/version.go
github-actions / Qodana for Go
Error string should not be capitalized or end with punctuation
Error string should not be capitalized or end with punctuation mark
Check warning on line 291 in extension/app.go
github-actions / Qodana for Go
Unexported return type of the exported function
Exported method with the unexported return type
Check warning on line 287 in extension/app.go
github-actions / Qodana for Go
Unexported return type of the exported function
Exported method with the unexported return type
Check warning on line 145 in extension/platform.go
github-actions / Qodana for Go
Unexported return type of the exported function
Exported method with the unexported return type
Check warning on line 122 in extension/bundle.go
github-actions / Qodana for Go
Unexported return type of the exported function
Exported method with the unexported return type
Check warning on line 157 in extension/platform.go
github-actions / Qodana for Go
Unexported return type of the exported function
Exported method with the unexported return type
Check warning on line 134 in extension/bundle.go
github-actions / Qodana for Go
Unexported return type of the exported function
Exported method with the unexported return type
Check warning on line 236 in cmd/project/ci.go
github-actions / Qodana for Go
Imported package name as a name identifier
Variable `extension` collides with imported package name
Check warning on line 118 in extension/project.go
github-actions / Qodana for Go
Imported package name as a name identifier
Variable `version` collides with imported package name
Check warning on line 105 in extension/project.go
github-actions / Qodana for Go
Imported package name as a name identifier
Variable `version` collides with imported package name
Check warning on line 87 in extension/project.go
github-actions / Qodana for Go
Imported package name as a name identifier
Variable `version` collides with imported package name