34 new problems found by Qodana Community for JVM
Qodana Community for JVM
34 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused symbol |
🔶 Warning | 8 |
Redundant nullable return type |
🔶 Warning | 7 |
Redundant call of conversion method |
🔶 Warning | 4 |
Redundant semicolon |
🔶 Warning | 3 |
Serializable object must implement 'readResolve' |
🔶 Warning | 1 |
Leaking 'this' in constructor |
🔶 Warning | 1 |
Redundant SAM constructor |
🔶 Warning | 1 |
Class member can have 'private' visibility |
◽️ Notice | 4 |
Variable declaration could be moved inside 'when' |
◽️ Notice | 1 |
Replace empty class body |
◽️ Notice | 1 |
'if' condition can be replaced with lambda call |
◽️ Notice | 1 |
'map.put()' can be converted to assignment |
◽️ Notice | 1 |
Call chain on collection type can be simplified |
◽️ Notice | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
View the detailed Qodana report
To be able to view the detailed Qodana report, you can either:
- Register at Qodana Cloud and configure the action
- Use GitHub Code Scanning with Qodana
- Host Qodana report at GitHub Pages
- Inspect and use
qodana.sarif.json
(see the Qodana SARIF format for details)
To get *.log
files or any other Qodana artifacts, run the action with upload-result
option set to true
,
so that the action will upload the files as the job artifacts:
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: true
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 5 in src/main/kotlin/com/github/themartdev/intellijgleam/lang/GleamLanguage.kt
github-actions / Qodana Community for JVM
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for JVM
Leaking 'this' in constructor
Calling non-final function addActionListener in constructor
Check notice on line 34 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/common/FsUtils.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'isValidDir' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'collectionModel' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'useCustomGleam' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'homePath' could be private
github-actions / Qodana Community for JVM
Variable declaration could be moved inside 'when'
Variable declaration could be moved into 'when'
github-actions / Qodana Community for JVM
Redundant nullable return type
'captureErlang' always returns non-null type
github-actions / Qodana Community for JVM
Redundant nullable return type
'getState' always returns non-null type
github-actions / Qodana Community for JVM
Redundant nullable return type
'captureGleam' always returns non-null type
github-actions / Qodana Community for JVM
Redundant nullable return type
'getNameOrAlias' always returns non-null type
github-actions / Qodana Community for JVM
Redundant nullable return type
'getPlaceholderText' always returns non-null type
github-actions / Qodana Community for JVM
Redundant nullable return type
'getOptionsClass' always returns non-null type
github-actions / Qodana Community for JVM
Redundant nullable return type
'getIndentOptionsEditor' always returns non-null type
github-actions / Qodana Community for JVM
Redundant SAM constructor
Redundant SAM constructor
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon
github-actions / Qodana Community for JVM
Replace empty class body
Redundant empty class body
github-actions / Qodana Community for JVM
Redundant call of conversion method
Remove redundant calls of the conversion method
github-actions / Qodana Community for JVM
Redundant call of conversion method
Remove redundant calls of the conversion method
github-actions / Qodana Community for JVM
Redundant call of conversion method
Remove redundant calls of the conversion method
github-actions / Qodana Community for JVM
Redundant call of conversion method
Remove redundant calls of the conversion method
github-actions / Qodana Community for JVM
'if' condition can be replaced with lambda call
Replace with 'ifEmpty {...}'
github-actions / Qodana Community for JVM
'map.put()' can be converted to assignment
map.put() should be converted to assignment