chore: apply changes from 1.11.1 plugin template #81
11 new problems found by Qodana Community for JVM
Community for JVM
11 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused symbol |
🔶 Warning | 6 |
Cascade if can be replaced with when |
🔶 Warning | 1 |
Unused import directive |
🔶 Warning | 1 |
Redundant nullable return type |
🔶 Warning | 1 |
Redundant semicolon |
🔶 Warning | 1 |
Convert 'object' to 'data object' |
◽️ 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 37 in src/main/kotlin/de/sirywell/methodhandleplugin/dfa/SsaAnalyzer.kt
github-actions / Qodana Community for JVM
Cascade if can be replaced with when
Cascade 'if' should be replaced with 'when'
Check notice on line 115 in src/main/kotlin/de/sirywell/methodhandleplugin/mhtype/types.kt
github-actions / Qodana Community for JVM
Convert 'object' to 'data object'
'object' with manual 'toString' can be converted to 'data object'
Check warning on line 4 in src/main/kotlin/de/sirywell/methodhandleplugin/dfa/MhTypeProvider.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
github-actions / Qodana Community for JVM
Redundant nullable return type
'previewText' is always non-null type
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon
github-actions / Qodana Community for JVM
Unused symbol
Function "iteratedLoop" is never used
github-actions / Qodana Community for JVM
Unused symbol
Function "loop" is never used
github-actions / Qodana Community for JVM
Unused symbol
Function "whileLoop" is never used
github-actions / Qodana Community for JVM
Unused symbol
Function "asFixedArity" is never used
Check warning on line 9 in src/main/kotlin/de/sirywell/methodhandleplugin/psiSupport.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "isJavaLangInvoke" is never used
github-actions / Qodana Community for JVM
Unused symbol
Function "asType" is never used