refactor: Clean codes #346
49 new problems found by Qodana Community for JVM
Qodana Community for JVM
49 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused symbol |
🔶 Warning | 19 |
Constructor parameter is never used as a property |
🔶 Warning | 4 |
Redundant nullable return type |
🔶 Warning | 2 |
Usage of redundant or deprecated syntax or deprecated symbols |
🔶 Warning | 1 |
Unstable API Usage |
🔶 Warning | 1 |
Class member can have 'private' visibility |
◽️ Notice | 9 |
Function or property has platform type |
◽️ Notice | 7 |
Unnecessary type argument |
◽️ Notice | 5 |
Nested lambda has shadowed implicit parameter |
◽️ 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.4
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
github-actions / Qodana Community for JVM
Constructor parameter is never used as a property
Constructor parameter is never used as a property
github-actions / Qodana Community for JVM
Constructor parameter is never used as a property
Constructor parameter is never used as a property
github-actions / Qodana Community for JVM
Constructor parameter is never used as a property
Constructor parameter is never used as a property
github-actions / Qodana Community for JVM
Constructor parameter is never used as a property
Constructor parameter is never used as a property
github-actions / Qodana Community for JVM
Function or property has platform type
Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.
github-actions / Qodana Community for JVM
Function or property has platform type
Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.
github-actions / Qodana Community for JVM
Function or property has platform type
Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.
github-actions / Qodana Community for JVM
Function or property has platform type
Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.
github-actions / Qodana Community for JVM
Function or property has platform type
Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.
github-actions / Qodana Community for JVM
Function or property has platform type
Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.
github-actions / Qodana Community for JVM
Function or property has platform type
Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.
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 notice on line 54 in modules/core/src/main/kotlin/com/github/l34130/mise/core/MiseService.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'getFileTaskDirectories' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'environments' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'tools' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'configFilePath' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'with' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'onTaskRunString' could be private
Check notice on line 52 in modules/core/src/main/kotlin/com/github/l34130/mise/core/MiseService.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'getMiseTomlFiles' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'onTaskWaitForString' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'onTaskWaitForArray' could be private
github-actions / Qodana Community for JVM
Nested lambda has shadowed implicit parameter
Implicit parameter 'it' of enclosing lambda is shadowed
github-actions / Qodana Community for JVM
Redundant nullable return type
'resolveOrNull' always returns non-null type
github-actions / Qodana Community for JVM
Redundant nullable return type
'createLaunchSession' always returns non-null type
github-actions / Qodana Community for JVM
Unnecessary type argument
Remove explicit type arguments