chore(deps): update jetbrains/qodana-action action to v2024.3.4 #246
46 new problems found by Qodana Community for JVM
Qodana Community for JVM
46 new problems were found
Inspection name | Severity | Problems |
---|---|---|
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9 |
🔶 Warning | 14 |
Inconsistent comment for Java parameter |
🔶 Warning | 6 |
Unstable API Usage |
🔶 Warning | 6 |
Unused symbol |
🔶 Warning | 2 |
Redundant semicolon |
🔶 Warning | 1 |
Explicit 'get' or 'set' call |
◽️ Notice | 9 |
Return or assignment can be lifted out |
◽️ Notice | 4 |
If-Null return/break/... foldable to '?:' |
◽️ Notice | 1 |
Redundant empty primary constructor |
◽️ Notice | 1 |
Unnecessary '@OptIn' annotation |
◽️ Notice | 1 |
Accessor call that can be replaced with property access syntax |
◽️ 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/qodana-action@v2024.3.3
with:
upload-result: true
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 warning on line 38 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 24 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 23 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 19 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 64 in src/src/completion/D2BasicCompletionContributor.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 22 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 20 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 17 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 26 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 52 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 44 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 45 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 37 in src/src/styles.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 71 in src/src/completion/D2BasicCompletionContributor.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check notice on line 249 in src/src/editor/RenderManager.kt
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
Check warning on line 38 in src/src/editor/D2SpellCheckerStrategy.kt
github-actions / Qodana Community for JVM
Inconsistent comment for Java parameter
Inconsistent parameter name for 'p4'
Check warning on line 37 in src/src/editor/D2SpellCheckerStrategy.kt
github-actions / Qodana Community for JVM
Inconsistent comment for Java parameter
Inconsistent parameter name for 'p3'
Check warning on line 34 in src/src/editor/D2SpellCheckerStrategy.kt
github-actions / Qodana Community for JVM
Inconsistent comment for Java parameter
Inconsistent parameter name for 'p0'
Check warning on line 36 in src/src/editor/D2SpellCheckerStrategy.kt
github-actions / Qodana Community for JVM
Inconsistent comment for Java parameter
Inconsistent parameter name for 'p2'
Check warning on line 39 in src/src/editor/D2SpellCheckerStrategy.kt
github-actions / Qodana Community for JVM
Inconsistent comment for Java parameter
Inconsistent parameter name for 'p5'
Check warning on line 35 in src/src/editor/D2SpellCheckerStrategy.kt
github-actions / Qodana Community for JVM
Inconsistent comment for Java parameter
Inconsistent parameter name for 'p1'
Check notice on line 34 in src/src/lang/psi/ShapeId.kt
github-actions / Qodana Community for JVM
Return or assignment can be lifted out
'Return' can be lifted out of 'if'
Check notice on line 250 in src/src/editor/RenderManager.kt
github-actions / Qodana Community for JVM
Return or assignment can be lifted out
'Return' can be lifted out of 'if'
Check notice on line 47 in src/src/lang/psi/ShapeId.kt
github-actions / Qodana Community for JVM
Return or assignment can be lifted out
'Return' can be lifted out of 'if'
Check notice on line 33 in src/src/lang/psi/ShapeId.kt
github-actions / Qodana Community for JVM
Return or assignment can be lifted out
'Return' can be lifted out of 'if'