Merge pull request #481 from Shuricks2015/feature/stable_server #303
28 new problems found by Qodana Community for JVM
Qodana Community for JVM
28 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Usage of API marked for removal |
🔴 Failure | 6 |
Usage of redundant or deprecated syntax or deprecated symbols |
🔶 Warning | 6 |
Unused import directive |
🔶 Warning | 5 |
Unused symbol |
🔶 Warning | 3 |
Unstable API Usage |
🔶 Warning | 2 |
Incorrect string capitalization |
🔶 Warning | 1 |
Array property in data class |
◽️ Notice | 1 |
Const property naming convention |
◽️ Notice | 1 |
Class member can have 'private' visibility |
◽️ Notice | 1 |
Package name does not match containing directory |
◽️ Notice | 1 |
Regular expression 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/qodana-action@v2024.1.9
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 notice on line 336 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Array property in data class
Property with 'Array' type in a 'data' class: it is recommended to override 'equals()' and 'hashCode()'
Check notice on line 24 in src/com/koxudaxi/ruff/RuffRun.kt
github-actions / Qodana Community for JVM
Const property naming convention
Const property name `actionID` should not contain lowercase letters
Check warning on line 292 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'Error Running Ruff' is not properly capitalized. It should have sentence capitalization
Check warning on line 9 in src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
Remove deprecated symbol import
Check warning on line 46 in src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
'createSmartPointer(): SmartPsiElementPointer' is deprecated. Use alternative method from com.intellij.psi package
Check warning on line 47 in src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
'createSmartPointer(): SmartPsiElementPointer' is deprecated. Use alternative method from com.intellij.psi package
Check warning on line 36 in src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
Elvis operator (?:) always returns the left operand of non-nullable type String
Check warning on line 10 in src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
Remove deprecated symbol import
Check warning on line 57 in src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
'startOffset: Int' is deprecated. Use PsiElement.startOffset from com.intellij.psi
Check warning on line 8 in src/com/koxudaxi/ruff/RuffApplyService.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check warning on line 5 in src/com/koxudaxi/ruff/RuffLspServerSupportProvider.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check warning on line 4 in src/com/koxudaxi/ruff/RuffApplyService.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check warning on line 19 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check warning on line 40 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check failure on line 36 in src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'com.intellij.webSymbols.utils.HtmlMarkdownUtils' is deprecated and marked for removal
Check failure on line 7 in src/com/koxudaxi/ruff/RuffPackageManagerListener.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'com.jetbrains.python.packaging.PyPackageManager' is deprecated and marked for removal
Check failure on line 36 in src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'com.intellij.webSymbols.utils.HtmlMarkdownUtils' is deprecated and marked for removal
Check failure on line 9 in src/com/koxudaxi/ruff/RuffPackageManagerListener.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'com.jetbrains.python.packaging.PyPackageManager' is deprecated and marked for removal
Check failure on line 12 in src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'com.intellij.webSymbols.utils.HtmlMarkdownUtils' is deprecated and marked for removal
Check failure on line 9 in src/com/koxudaxi/ruff/RuffPackageManagerListener.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'com.jetbrains.python.packaging.PyPackageManager' is deprecated and marked for removal
Check notice on line 10 in src/com/koxudaxi/ruff/RuffQuickFix.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'message' could be private
Check notice on line 16 in src/com/koxudaxi/ruff/RuffLspServerSupportProvider.kt
github-actions / Qodana Community for JVM
Package name does not match containing directory
Package directive does not match the file location
Check notice on line 533 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Regular expression can be simplified
`[\\s]` can be simplified to '\\s'
Check warning on line 60 in src/com/koxudaxi/ruff/RuffProjectInitializer.kt
github-actions / Qodana Community for JVM
Unstable API Usage
'stopAndRestartIfNeeded(java.lang.Class)' is declared in unstable 'com.intellij.platform.lsp.api.LspServerManager' marked with @ApiStatus.Experimental
Check warning on line 47 in src/com/koxudaxi/ruff/RuffExternalAnnotator.kt
github-actions / Qodana Community for JVM
Unstable API Usage
'isAcceptedFor(java.lang.@org.jetbrains.annotations.NotNull Class)' is marked unstable with @ApiStatus.Internal