testing qodana #1
1333 new problems found by Qodana for Go
Qodana for Go
1333 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused parameter |
🔶 Warning | 570 |
Imported package name as a name identifier |
🔶 Warning | 171 |
Unhandled error |
🔶 Warning | 139 |
Unused exported function |
🔶 Warning | 93 |
Redundant types in composite literals |
🔶 Warning | 31 |
Deprecated element |
🔶 Warning | 30 |
Unused constant |
🔶 Warning | 27 |
Unused global variable |
🔶 Warning | 17 |
Reserved word used as name |
🔶 Warning | 8 |
Unexported return type of the exported function |
🔶 Warning | 5 |
Unused function |
🔶 Warning | 5 |
Missing 'case' statements for 'iota' consts in 'switch' |
🔶 Warning | 3 |
Bool condition |
🔶 Warning | 2 |
Leading whitespace in directive comment |
🔶 Warning | 1 |
Unused type |
🔶 Warning | 1 |
Receiver has a generic name |
◽️ Notice | 98 |
Mixed value and pointer receivers |
◽️ Notice | 63 |
Comment of exported element starts with the incorrect name |
◽️ Notice | 25 |
Usage of Snake_Case |
◽️ Notice | 19 |
Redundant type conversion |
◽️ Notice | 7 |
Error string should not be capitalized or end with punctuation |
◽️ Notice | 6 |
Redundant parentheses |
◽️ Notice | 5 |
Empty slice declared using a literal |
◽️ Notice | 4 |
Name starts with a package name |
◽️ Notice | 1 |
Redundant import alias |
◽️ 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 95 in cmd/thor/utils.go
github-actions / Qodana for Go
Bool condition
Condition `runtime.GOOS == "darwin"` is always `false`
Check warning on line 97 in cmd/thor/utils.go
github-actions / Qodana for Go
Bool condition
Condition `runtime.GOOS == "windows"` is always `false`
Check notice on line 18 in vm/logger.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'CaptureStart ...' (with an optional leading article)
Check notice on line 26 in blake2b/blake2b.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'BlockSize ...' (with an optional leading article)
Check notice on line 16 in blake2b/blake2x.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'Writer ...' (with an optional leading article)
Check notice on line 235 in genesis/customnet.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'HexOrDecimal256 ...' (with an optional leading article)
Check notice on line 72 in vm/interface.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'CallCode ...' (with an optional leading article)
Check notice on line 70 in vm/memory.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'GetCopy ...' (with an optional leading article)
Check notice on line 168 in vm/bn256/google/bn256.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'RandomG2 ...' (with an optional leading article)
Check notice on line 3 in bft/engine.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Package comment should be of the form 'Package bft ...'
Check notice on line 19 in vm/bn256/google/constants.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'P ...' (with an optional leading article)
Check notice on line 15 in vm/logger.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'CaptureClauseStart ...' (with an optional leading article)
Check notice on line 30 in blake2b/blake2b.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'Size384 ...' (with an optional leading article)
Check notice on line 21 in vm/logger.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'CaptureEnter ...' (with an optional leading article)
Check notice on line 20 in blake2b/blake2x.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'Reader ...' (with an optional leading article)
Check notice on line 3 in bft/justifier.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Package comment should be of the form 'Package bft ...'
Check notice on line 28 in blake2b/blake2b.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'Size ...' (with an optional leading article)
Check notice on line 32 in blake2b/blake2b.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'Size256 ...' (with an optional leading article)
Check notice on line 74 in vm/interface.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'DelegateCall ...' (with an optional leading article)
Check notice on line 94 in builtin/gen/bindata.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'ModTime ...' (with an optional leading article)
Check notice on line 76 in vm/bn256/cloudflare/gfp2.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'Mul ...' (with an optional leading article)
Check notice on line 3 in api/subscriptions/pending_tx.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Package comment should be of the form 'Package subscriptions ...'
Check notice on line 127 in vm/bn256/google/gfp2.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'Mul ...' (with an optional leading article)
Check notice on line 3 in bft/casts.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Package comment should be of the form 'Package bft ...'
Check notice on line 70 in api/utils/http.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Comment should have the following format 'JSONContentType ...' (with an optional leading article)