build: on release, build native library/binary and attach to publishe… #978
704 new problems found by Qodana Community for JVM
Qodana Community for JVM
704 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Usage of API marked for removal |
🔴 Failure | 3 |
Unstable API Usage |
🔶 Warning | 565 |
Deprecated API usage |
🔶 Warning | 46 |
Nullability and data flow problems |
🔶 Warning | 14 |
Field may be 'final' |
🔶 Warning | 14 |
Field can be local |
🔶 Warning | 6 |
Unchecked warning |
🔶 Warning | 6 |
Result of method call ignored |
🔶 Warning | 5 |
@NotNull/@Nullable problems |
🔶 Warning | 5 |
Redundant semicolon |
🔶 Warning | 5 |
Magic constant |
🔶 Warning | 3 |
Constant values |
🔶 Warning | 2 |
Incorrect string capitalization |
🔶 Warning | 2 |
Redundant qualifier name |
🔶 Warning | 2 |
Minimum 'switch' branches |
🔶 Warning | 2 |
Redundant 'if' statement |
🔶 Warning | 2 |
Condition is covered by further condition |
🔶 Warning | 1 |
Duplicate throws |
🔶 Warning | 1 |
Functional expression can be folded |
🔶 Warning | 1 |
Non-final field in 'enum' |
🔶 Warning | 1 |
Redundant type cast |
🔶 Warning | 1 |
Redundant character escape |
🔶 Warning | 1 |
'size() == 0' can be replaced with 'isEmpty()' |
🔶 Warning | 1 |
Unnecessary unicode escape sequence |
🔶 Warning | 1 |
Non-distinguishable logging calls |
◽️ Notice | 6 |
Commented out code |
◽️ Notice | 2 |
Method can be extracted |
◽️ Notice | 2 |
Logger initialized with foreign class |
◽️ Notice | 2 |
Constant values |
◽️ Notice | 1 |
Trailing comma recommendations |
◽️ 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
Commented out code
Commented out code (11 lines)
github-actions / Qodana Community for JVM
Commented out code
Commented out code (2 lines)
github-actions / Qodana Community for JVM
Condition is covered by further condition
Condition 'c == null' covered by subsequent condition '!(c instanceof GitCommit gc)'
github-actions / Qodana Community for JVM
Constant values
Condition `!isRadHomeValidPath` is always `true`
github-actions / Qodana Community for JVM
Constant values
Condition `!isRadHomeValidPath` is always `true`
github-actions / Qodana Community for JVM
Constant values
Value `patch` is always 'null'
github-actions / Qodana Community for JVM
Nullability and data flow problems
Dereference of `((Visibility) visibilitySelect.getSelectedItem())` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Dereference of `((RadTrack.RadTrackType) trackActionSelect.getSelectedItem())` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getRevisionNumber` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
@Nullable method 'getCurrentName' always returns a non-null value
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `xyToLogicalPosition` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getRoot` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Expression `INSTANCE.messageOrDefault(key, "", params)` might evaluate to null but is returned by the method declared as @NotNull
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getUserData` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getFile` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Expression `INSTANCE.messageOrDefault(key, key, params)` might evaluate to null but is returned by the method declared as @NotNull
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `xyToLogicalPosition` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getComponents` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getRevisionNumber` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getSelectedValue` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Deprecated API usage
'escapeUnixShellArgument(java.lang.String)' is deprecated
github-actions / Qodana Community for JVM
Deprecated API usage
'escapeUnixShellArgument(java.lang.String)' is deprecated
github-actions / Qodana Community for JVM
Deprecated API usage
'setBody(java.lang.String)' is deprecated
github-actions / Qodana Community for JVM
Deprecated API usage
'com.intellij.collaboration.ui.codereview.diff.EditorComponentInlaysManager' is deprecated
github-actions / Qodana Community for JVM
Deprecated API usage
'escapeUnixShellArgument(java.lang.String)' is deprecated