68 new problems found by Qodana Community for JVM
Qodana Community for JVM
68 new problems were found
Inspection name | Severity | Problems |
---|---|---|
@NotNull/@Nullable problems |
🔶 Warning | 23 |
Nullability and data flow problems |
🔶 Warning | 13 |
Unnecessary semicolon |
🔶 Warning | 9 |
Redundant 'if' statement |
🔶 Warning | 7 |
Lombok @Getter may be used |
🔶 Warning | 5 |
Dangling Javadoc comment |
🔶 Warning | 2 |
Stream API call chain can be simplified |
🔶 Warning | 2 |
Deprecated API usage |
🔶 Warning | 1 |
Unused import |
🔶 Warning | 1 |
Duplicate branches in 'switch' |
◽️ Notice | 3 |
Commented out code |
◽️ Notice | 1 |
'if' statement with identical branches |
◽️ 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/qodana-action@v2023.3.1
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
github-actions / Qodana Community for JVM
Commented out code
Commented out code (3 lines)
github-actions / Qodana Community for JVM
Dangling Javadoc comment
Dangling Javadoc comment
github-actions / Qodana Community for JVM
Dangling Javadoc comment
Dangling Javadoc comment
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `anActionEvent.getProject()` might be null
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getPresentation` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `anActionEvent.getProject()` might be null
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getProject` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `anActionEvent.getProject()` might be null
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getProject` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `anActionEvent.getProject()` might be null
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getPresentation` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getPresentation` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `anActionEvent.getProject()` might be null
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getPresentation` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getProject` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getProject` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Deprecated API usage
'get(java.lang.@org.jetbrains.annotations.NotNull String, com.intellij.openapi.project.@org.jetbrains.annotations.NotNull Project, com.intellij.psi.search.@org.jetbrains.annotations.NotNull GlobalSearchScope)' is deprecated
github-actions / Qodana Community for JVM
Duplicate branches in 'switch'
Branch in 'switch' is a duplicate of the default branch
github-actions / Qodana Community for JVM
Duplicate branches in 'switch'
Branch in 'switch' is a duplicate of the default branch
github-actions / Qodana Community for JVM
Duplicate branches in 'switch'
Branch in 'switch' is a duplicate of the default branch
github-actions / Qodana Community for JVM
'if' statement with identical branches
'if' statement can be collapsed with side effect extraction
github-actions / Qodana Community for JVM
Lombok @Getter may be used
Class 'ExceptionMsgEnum' may use Lombok @Getter
github-actions / Qodana Community for JVM
Lombok @Getter may be used
Class 'ModifierAnnotationEnum' may use Lombok @Getter
github-actions / Qodana Community for JVM
Lombok @Getter may be used
Class 'LocalizationEnum' may use Lombok @Getter
github-actions / Qodana Community for JVM
Lombok @Getter may be used
Class 'BitkylinException' may use Lombok @Getter