413 new problems found by Qodana Community for JVM
Qodana Community for JVM
413 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused symbol |
🔶 Warning | 115 |
Constant conditions |
🔶 Warning | 73 |
Unresolved reference in KDoc |
🔶 Warning | 41 |
Unstable API Usage |
🔶 Warning | 20 |
Usage of redundant or deprecated syntax or deprecated symbols |
🔶 Warning | 10 |
Redundant nullable return type |
🔶 Warning | 10 |
Unused import directive |
🔶 Warning | 9 |
Redundant semicolon |
🔶 Warning | 9 |
Constructor parameter is never used as a property |
🔶 Warning | 8 |
Incorrect string capitalization |
🔶 Warning | 6 |
Obvious explicit type |
🔶 Warning | 3 |
Redundant visibility modifier |
🔶 Warning | 3 |
Redundant 'Companion' reference |
🔶 Warning | 1 |
Redundant 'suspend' modifier |
🔶 Warning | 1 |
Useless call on collection type |
🔶 Warning | 1 |
Class member can have 'private' visibility |
◽️ Notice | 36 |
Private property naming convention |
◽️ Notice | 16 |
Accessor call that can be replaced with property access syntax |
◽️ Notice | 11 |
Non-distinguishable logging calls |
◽️ Notice | 8 |
Replace empty class body |
◽️ Notice | 6 |
Enum entry naming convention |
◽️ Notice | 3 |
Redundant empty primary constructor |
◽️ Notice | 3 |
Boolean expression can be simplified |
◽️ Notice | 3 |
Boolean literal argument without parameter name |
◽️ Notice | 2 |
Class naming convention |
◽️ Notice | 2 |
Constant conditions |
◽️ Notice | 2 |
Trailing comma recommendations |
◽️ Notice | 2 |
Array property in data class |
◽️ Notice | 1 |
Function naming convention |
◽️ Notice | 1 |
If-Then foldable to '?:' |
◽️ Notice | 1 |
Redundant overriding method |
◽️ Notice | 1 |
Return or assignment can be lifted out |
◽️ Notice | 1 |
Property naming convention |
◽️ Notice | 1 |
Redundant lambda arrow |
◽️ Notice | 1 |
Unnecessary parentheses in function call with lambda |
◽️ 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()'
github-actions / Qodana Community for JVM
Boolean literal argument without parameter name
Boolean literal argument without a parameter name
github-actions / Qodana Community for JVM
Boolean literal argument without parameter name
Boolean literal argument without a parameter name
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
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'Creates New Shire Action' is not properly capitalized. It should have sentence capitalization
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 'Create HTTP Request scratch file' is not properly capitalized. It should have title 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
Check notice on line 7 in core/src/main/kotlin/com/phodal/shirecore/llm/ChatMessage.kt
github-actions / Qodana Community for JVM
Enum entry naming convention
Enum entry name `assistant` should start with an uppercase letter
Check notice on line 6 in core/src/main/kotlin/com/phodal/shirecore/llm/ChatMessage.kt
github-actions / Qodana Community for JVM
Enum entry naming convention
Enum entry name `system` should start with an uppercase letter
Check notice on line 8 in core/src/main/kotlin/com/phodal/shirecore/llm/ChatMessage.kt
github-actions / Qodana Community for JVM
Enum entry naming convention
Enum entry name `user` should start with an uppercase letter
Check notice on line 11 in core/src/main/kotlin/com/phodal/shirecore/search/rank/LlmReRanker.kt
github-actions / Qodana Community for JVM
Function naming convention
Function name `RERANK_PROMPT` should start with a lowercase letter
github-actions / Qodana Community for JVM
If-Then foldable to '?:'
If-Then foldable to '?:'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'variables'