Bump org.jetbrains.kotlin.jvm from 1.9.23 to 2.1.0 #20
97 new problems found by Qodana Community for JVM
Qodana Community for JVM
97 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Usage of API marked for removal |
🔴 Failure | 1 |
Usage of redundant or deprecated syntax or deprecated symbols |
🔶 Warning | 15 |
Unused import directive |
🔶 Warning | 14 |
Redundant qualifier name |
🔶 Warning | 4 |
Unused symbol |
🔶 Warning | 4 |
Redundant nullable return type |
🔶 Warning | 3 |
'catch' block may ignore exception |
🔶 Warning | 2 |
Constant conditions |
🔶 Warning | 2 |
Class member can have 'private' visibility |
◽️ Notice | 18 |
If-Null return/break/... foldable to '?:' |
◽️ Notice | 7 |
Const property naming convention |
◽️ Notice | 6 |
Can be replaced with binary operator |
◽️ Notice | 5 |
Non-distinguishable logging calls |
◽️ Notice | 4 |
Boolean expression can be simplified |
◽️ Notice | 4 |
Accessor call that can be replaced with property access syntax |
◽️ Notice | 2 |
Return or assignment can be lifted out |
◽️ Notice | 1 |
Local variable naming convention |
◽️ Notice | 1 |
Package name does not match containing directory |
◽️ Notice | 1 |
Redundant call to 'toString()' in string template |
◽️ Notice | 1 |
Java methods should be replaced with Kotlin analog |
◽️ Notice | 1 |
Negated call 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 18 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.kt
github-actions / Qodana Community for JVM
Const property naming convention
Const property name `fileName` should not contain lowercase letters
Check notice on line 42 in src/main/kotlin/io/codeclimbers/jetbrains/Dependencies.kt
github-actions / Qodana Community for JVM
Const property naming convention
Const property name `githubReleasesUrl` should not contain lowercase letters
Check notice on line 43 in src/main/kotlin/io/codeclimbers/jetbrains/Dependencies.kt
github-actions / Qodana Community for JVM
Const property naming convention
Const property name `githubDownloadUrl` should not contain lowercase letters
Check notice on line 57 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt
github-actions / Qodana Community for JVM
Const property naming convention
Const property name `queueTimeoutSeconds` should not contain lowercase letters
Check notice on line 17 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.kt
github-actions / Qodana Community for JVM
Const property naming convention
Const property name `apiUrl` should not contain lowercase letters
Check notice on line 19 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.kt
github-actions / Qodana Community for JVM
Const property naming convention
Const property name `internalFileName` should not contain lowercase letters
Check notice on line 76 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
Check notice on line 436 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
Check notice on line 303 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
Check notice on line 135 in src/main/kotlin/io/codeclimbers/jetbrains/Dependencies.kt
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
Check notice on line 15 in src/main/kotlin/io/codeclimbers/jetbrains/CustomDocumentListener.kt
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
Check notice on line 438 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
Check notice on line 16 in src/main/kotlin/io/codeclimbers/jetbrains/CustomSaveListener.kt
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
Check warning on line 214 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt
github-actions / Qodana Community for JVM
'catch' block may ignore exception
Empty catch block
Check warning on line 558 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt
github-actions / Qodana Community for JVM
'catch' block may ignore exception
Empty catch block
Check warning on line 324 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'heartbeat.cursorPosition != null \&\& false' is always false
Check warning on line 320 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'heartbeat.lineNumber != null \&\& false' is always false
Check warning on line 454 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.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 FileDocumentManager
Check warning on line 26 in src/main/kotlin/io/codeclimbers/jetbrains/CustomVisibleAreaListener.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 Rectangle
Check warning on line 53 in src/main/kotlin/io/codeclimbers/jetbrains/Settings.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
'toLowerCase(): String' is deprecated. Use lowercase() instead.
Check warning on line 84 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
'toLowerCase(): String' is deprecated. Use lowercase() instead.
Check warning on line 102 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
'toLowerCase(): String' is deprecated. Use lowercase() instead.
Check warning on line 133 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.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 48 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
'toLowerCase(): String' is deprecated. Use lowercase() instead.
Check warning on line 626 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
'toLowerCase(): String' is deprecated. Use lowercase() instead.