Merge pull request #526 from koxudaxi/support_243-EAP #327
34 new problems found by Qodana Community for JVM
Qodana Community for JVM
34 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Usage of API marked for removal |
🔴 Failure | 6 |
Unused symbol |
🔶 Warning | 10 |
Unused import directive |
🔶 Warning | 3 |
Unstable API Usage |
🔶 Warning | 3 |
Incorrect string capitalization |
🔶 Warning | 2 |
Usage of redundant or deprecated syntax or deprecated symbols |
🔶 Warning | 1 |
Class member can have 'private' visibility |
◽️ Notice | 2 |
Package name does not match containing directory |
◽️ Notice | 2 |
Array property in data class |
◽️ Notice | 1 |
Const property naming convention |
◽️ Notice | 1 |
Lambda argument inside parentheses |
◽️ Notice | 1 |
Private property naming convention |
◽️ 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/[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 notice on line 392 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 348 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 62 in src/com/koxudaxi/ruff/RuffAsyncFormatter.kt
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'Ruff Error' is not properly capitalized. It should have sentence capitalization
Check warning on line 39 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 8 in src/com/koxudaxi/ruff/RuffApplyService.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check warning on line 2 in src/com/koxudaxi/ruff/lsp/lsp4ij/RuffLanguageServerFactory.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 failure on line 145 in src/com/koxudaxi/ruff/RuffConfigPanel.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'addBrowseFolderListener([email protected] @com.intellij.openapi.util.NlsContexts.DialogTitle String, [email protected] @com.intellij.openapi.util.NlsContexts.Label String, [email protected] Project, com.intellij.openapi.fileChooser.FileChooserDescriptor)' is deprecated and marked for removal
Check failure on line 11 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 93 in src/com/koxudaxi/ruff/RuffConfigPanel.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'addBrowseFolderListener([email protected] @com.intellij.openapi.util.NlsContexts.DialogTitle String, [email protected] @com.intellij.openapi.util.NlsContexts.Label String, [email protected] Project, com.intellij.openapi.fileChooser.FileChooserDescriptor)' is deprecated and marked for removal
Check failure on line 82 in src/com/koxudaxi/ruff/RuffConfigPanel.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'addBrowseFolderListener([email protected] @com.intellij.openapi.util.NlsContexts.DialogTitle String, [email protected] @com.intellij.openapi.util.NlsContexts.Label String, [email protected] Project, com.intellij.openapi.fileChooser.FileChooserDescriptor)' 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 11 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 359 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'text' could be private
Check notice on line 74 in src/com/koxudaxi/ruff/RuffConfigPanel.kt
github-actions / Qodana Community for JVM
Lambda argument inside parentheses
Lambda argument should be moved out of parentheses
Check notice on line 11 in src/com/koxudaxi/ruff/lsp/RuffLspClientManager.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 13 in src/com/koxudaxi/ruff/lsp/intellij/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 13 in src/com/koxudaxi/ruff/RuffAsyncFormatter.kt
github-actions / Qodana Community for JVM
Private property naming convention
Private property name `FEATURES` should not start with an uppercase letter
Check notice on line 588 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 74 in src/com/koxudaxi/ruff/RuffConfigPanel.kt
github-actions / Qodana Community for JVM
Unstable API Usage
'openMarketplaceTab([email protected] String)' is declared in unstable class 'com.intellij.ide.plugins.PluginManagerConfigurable' marked with @ApiStatus.Internal
Check warning on line 51 in src/com/koxudaxi/ruff/RuffExternalAnnotator.kt
github-actions / Qodana Community for JVM
Unstable API Usage
'isAcceptedFor([email protected] Class)' is marked unstable with @ApiStatus.Internal
Check warning on line 73 in src/com/koxudaxi/ruff/RuffConfigPanel.kt
github-actions / Qodana Community for JVM
Unstable API Usage
'com.intellij.ide.plugins.PluginManagerConfigurable' is marked unstable with @ApiStatus.Internal
Check warning on line 95 in src/com/koxudaxi/ruff/lsp/intellij/RuffLspServerSupportProvider.kt
github-actions / Qodana Community for JVM
Unused symbol
Class "InitOptions" is never used