Add gradle caches #68
42 new problems found by Qodana Community for JVM
Community for JVM
42 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Usage of redundant or deprecated syntax or deprecated symbols |
🔶 Warning | 8 |
Redundant nullable return type |
🔶 Warning | 6 |
Unused import directive |
🔶 Warning | 4 |
Package name does not match containing directory |
◽️ Notice | 10 |
Class member can have 'private' visibility |
◽️ Notice | 8 |
Replace empty class body |
◽️ Notice | 3 |
Join declaration and assignment |
◽️ Notice | 2 |
Cascade 'if' can be replaced with 'when' |
◽️ 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
Cascade 'if' can be replaced with 'when'
Cascade 'if' should be replaced with 'when'
Check notice on line 82 in src/main/kotlin/org/typedb/typeql/plugin/jetbrains/psi/PsiTypeQLUtils.kt
github-actions / Qodana Community for JVM
Join declaration and assignment
Can be joined with assignment
Check notice on line 93 in src/main/kotlin/org/typedb/typeql/plugin/jetbrains/psi/PsiTypeQLUtils.kt
github-actions / Qodana Community for JVM
Join declaration and assignment
Can be joined with assignment
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 PsiTypeQLFile
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 PsiTypeQLFile
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 PsiTypeQLFile
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 PsiTypeQLFile
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 PsiTypeQLFile
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 PsiTypeQLFile
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 PsiTypeQLFile
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 PsiTypeQLFile
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'subType' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'findDeclarations' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'getRuleTypeElement' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'createFile' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'playsScope' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'checkNode' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'findDeclarations' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'ownsType' could be private
github-actions / Qodana Community for JVM
Package name does not match containing directory
Package directive does not match the file location
github-actions / Qodana Community for JVM
Package name does not match containing directory
Package directive does not match the file location