20 new problems found by Qodana Community for JVM
Qodana Community for JVM
20 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Usage of API marked for removal |
🔴 Failure | 3 |
Unused import directive |
🔶 Warning | 5 |
Unused symbol |
🔶 Warning | 3 |
Unstable API Usage |
🔶 Warning | 2 |
Incorrect string capitalization |
🔶 Warning | 1 |
Usage of redundant or deprecated syntax or deprecated symbols |
🔶 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/[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 342 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 298 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 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 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 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 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 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 539 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([email protected] Class)' is marked unstable with @ApiStatus.Internal
Check warning on line 24 in src/com/koxudaxi/ruff/RuffRun.kt
github-actions / Qodana Community for JVM
Unused symbol
Property "actionID" is never used
Check warning on line 117 in src/com/koxudaxi/ruff/RuffExternalAnnotator.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "isForFile" is never used
Check warning on line 399 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "runRuffInBackground" is never used