0.2.5 #61
53 new problems found by Qodana Community for JVM
Community for JVM
53 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Constant conditions |
🔶 Warning | 21 |
Unused symbol |
🔶 Warning | 20 |
Unused import directive |
🔶 Warning | 6 |
Redundant nullable return type |
🔶 Warning | 3 |
Serializable object must implement 'readResolve' |
🔶 Warning | 1 |
Const property naming convention |
◽️ Notice | 2 |
💡 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@v2023.1.5
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
Check notice on line 13 in src/main/kotlin/org/ziglang/jb/editor/ZigCommenter.kt
github-actions / Qodana Community for JVM
Const property naming convention
Const property name `docComment` should not contain lowercase letters
Check notice on line 12 in src/main/kotlin/org/ziglang/jb/editor/ZigCommenter.kt
github-actions / Qodana Community for JVM
Const property naming convention
Const property name `comment` should not contain lowercase letters
Check warning on line 7 in src/main/kotlin/org/ziglang/jb/ZigLang.kt
github-actions / Qodana Community for JVM
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
Check warning on line 87 in src/main/kotlin/org/ziglang/jb/psi/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'element is ZigTopVarDecl' is always true
Check warning on line 17 in src/main/kotlin/org/ziglang/jb/reference/SymbolMixin.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'prevSibling?.text == ZigTypes.DOT.toString()' is always false
Check warning on line 57 in src/main/kotlin/org/ziglang/jb/types/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 91 in src/main/kotlin/org/ziglang/jb/types/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
Cast will always fail
Check warning on line 70 in src/main/kotlin/org/ziglang/jb/types/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'firstChild is ZigContainerDecl' is always true
Check warning on line 55 in src/main/kotlin/org/ziglang/jb/types/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 90 in src/main/kotlin/org/ziglang/jb/psi/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'element is ZigFnDecl' is always true when reached
Check warning on line 105 in src/main/kotlin/org/ziglang/jb/ZigSyntaxHighLighter.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 18 in src/main/kotlin/org/ziglang/jb/types/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 14 in src/main/kotlin/org/ziglang/jb/ZigHighlightAnnotator.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 132 in src/main/kotlin/org/ziglang/jb/types/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 29 in src/main/kotlin/org/ziglang/jb/reference/SymbolMixin.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'parent.prevSiblingTypeIgnoring(ZigTypes.COLON, TokenType.WHITE_SPACE) != null' is always true
Check warning on line 54 in src/main/kotlin/org/ziglang/jb/types/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 111 in src/main/kotlin/org/ziglang/jb/ZigSyntaxHighLighter.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 110 in src/main/kotlin/org/ziglang/jb/ZigSyntaxHighLighter.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 35 in src/main/kotlin/org/ziglang/jb/reference/SymbolMixin.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'containerType != null' is always false
Check warning on line 87 in src/main/kotlin/org/ziglang/jb/psi/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition '(element is ZigTopVarDecl) \|\| (element is ZigLocalVarDecl)' is always true
Check warning on line 56 in src/main/kotlin/org/ziglang/jb/types/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 22 in src/main/kotlin/org/ziglang/jb/types/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 87 in src/main/kotlin/org/ziglang/jb/psi/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition '(((element is ZigTopVarDecl) \|\| (element is ZigLocalVarDecl)) \&\& (PsiTreeUtil.findChildOfType( element, ZigContainerDecl::class.java ) != null)) \|\| (element is ZigFnDecl)' is always true
Check warning on line 133 in src/main/kotlin/org/ziglang/jb/types/utils.kt
github-actions / Qodana Community for JVM
Constant conditions
'when' branch is never reachable
Check warning on line 7 in src/main/kotlin/org/ziglang/jb/completion/ZigPatterns.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive