350 new problems found by Qodana Community for JVM
Qodana Community for JVM
350 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused symbol |
🔶 Warning | 98 |
Constant conditions |
🔶 Warning | 66 |
Unresolved reference in KDoc |
🔶 Warning | 22 |
Unstable API Usage |
🔶 Warning | 18 |
Unused import directive |
🔶 Warning | 14 |
Constructor parameter is never used as a property |
🔶 Warning | 9 |
Usage of redundant or deprecated syntax or deprecated symbols |
🔶 Warning | 9 |
Redundant semicolon |
🔶 Warning | 9 |
Redundant nullable return type |
🔶 Warning | 8 |
Incorrect string capitalization |
🔶 Warning | 4 |
Control flow with empty body |
🔶 Warning | 3 |
Redundant visibility modifier |
🔶 Warning | 3 |
Obvious explicit type |
🔶 Warning | 2 |
Redundant 'Companion' reference |
🔶 Warning | 1 |
Useless call on collection type |
🔶 Warning | 1 |
Class member can have 'private' visibility |
◽️ Notice | 29 |
Private property naming convention |
◽️ Notice | 12 |
Accessor call that can be replaced with property access syntax |
◽️ Notice | 10 |
Replace empty class body |
◽️ Notice | 7 |
Boolean expression can be simplified |
◽️ Notice | 6 |
Array property in data class |
◽️ Notice | 2 |
Class naming convention |
◽️ Notice | 2 |
Constant conditions |
◽️ Notice | 2 |
Non-distinguishable logging calls |
◽️ Notice | 2 |
Redundant empty primary constructor |
◽️ Notice | 2 |
Redundant overriding method |
◽️ Notice | 1 |
Return or assignment can be lifted out |
◽️ Notice | 1 |
Package name does not match containing directory |
◽️ Notice | 1 |
Property naming convention |
◽️ Notice | 1 |
Redundant lambda arrow |
◽️ Notice | 1 |
Unnecessary parentheses in function call with lambda |
◽️ Notice | 1 |
Call chain on collection type can be simplified |
◽️ Notice | 1 |
Trailing comma recommendations |
◽️ Notice | 1 |
Unnecessary local variable |
◽️ 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
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 10 in core/src/main/kotlin/com/phodal/shirecore/search/function/IndexEntry.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()'
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
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
Constructor parameter is never used as a property
Constructor parameter is never used as a property
github-actions / Qodana Community for JVM
Class naming convention
Class name `QUERY_STATEMENT` should not contain underscores
github-actions / Qodana Community for JVM
Class naming convention
Class name `CASE_MATCH` should not contain underscores
Check warning on line 21 in src/main/kotlin/com/phodal/shire/settings/ShireSettingUi.kt
github-actions / Qodana Community for JVM
Control flow with empty body
'also' has empty body
Check warning on line 18 in src/main/kotlin/com/phodal/shire/settings/ShireSettingUi.kt
github-actions / Qodana Community for JVM
Control flow with empty body
'also' has empty body
Check warning on line 16 in src/main/kotlin/com/phodal/shire/settings/ShireSettingUi.kt
github-actions / Qodana Community for JVM
Control flow with empty body
'also' has empty body
Check warning on line 33 in core/src/main/kotlin/com/phodal/shirecore/runner/RunnerResult.kt
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'check.no.tests.with.help.guide' is not properly capitalized. It should have sentence capitalization
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'Code complete' is not properly capitalized. It should have title capitalization
github-actions / Qodana Community for JVM
Incorrect string capitalization
The sentence capitalization is provided where title capitalization is required
github-actions / Qodana Community for JVM
Incorrect string capitalization
The sentence capitalization is provided where title capitalization is required
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'variables'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'PatternAction'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'IntentionAction'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'WHEN'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'inspections'