CAIP-222/ReCaps #1272
CAIP-222/ReCaps #1272
42 new problems found by Qodana Community for Android
Community for Android
42 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Constant conditions |
🔶 Warning | 26 |
Serializable object must implement 'readResolve' |
🔶 Warning | 10 |
Control flow with empty body |
🔶 Warning | 1 |
JUnit malformed declaration |
🔶 Warning | 1 |
Constant conditions |
◽️ Notice | 3 |
Argument could be converted to 'Set' to improve performance |
◽️ Notice | 1 |
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 Android
Control flow with empty body
'if' has empty body
github-actions / Qodana Community for Android
Argument could be converted to 'Set' to improve performance
The argument can be converted to 'Set' to improve performance
Check warning on line 16 in core/android/src/test/java/CacaoTestJvmTest.java
github-actions / Qodana Community for Android
JUnit malformed declaration
Test class `CacaoTestJvmTest` is not constructable because it is not 'public'
github-actions / Qodana Community for Android
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for Android
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for Android
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for Android
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for Android
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for Android
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for Android
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for Android
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for Android
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for Android
Serializable object must implement 'readResolve'
Serializable object must implement 'readResolve'
github-actions / Qodana Community for Android
Constant conditions
Condition 'record.response == null' is always false when reached
github-actions / Qodana Community for Android
Constant conditions
Condition 'it.id == chainId' is always false
github-actions / Qodana Community for Android
Constant conditions
Condition 'sharedPreferences.getString(ACCOUNT_TAG, null) != null' is always true
github-actions / Qodana Community for Android
Constant conditions
Condition 'hasTopic' is always true
github-actions / Qodana Community for Android
Constant conditions
Condition 'record.response == null' is always false
github-actions / Qodana Community for Android
Constant conditions
Condition 'parsedUrl != null' is always true
github-actions / Qodana Community for Android
Constant conditions
'when' branch is never reachable
github-actions / Qodana Community for Android
Constant conditions
Cast will always fail
Check warning on line 9 in core/modal/src/main/kotlin/com/walletconnect/modal/utils/DeviceUtils.kt
github-actions / Qodana Community for Android
Constant conditions
Condition 'LocalConfiguration.current.orientation == Configuration.ORIENTATION_LANDSCAPE' is always false
github-actions / Qodana Community for Android
Constant conditions
Condition '(sharedPreferences.getString(ACCOUNT_TAG, null) != null) \&\& (sharedPreferences.getString(PRIVATE_KEY_TAG, null) != null) \&\& (sharedPreferences.getString(PUBLIC_KEY_TAG, null) != null)' is always true
github-actions / Qodana Community for Android
Constant conditions
Condition '(sharedPreferences.getString(ACCOUNT_TAG, null) != null) \&\& (sharedPreferences.getString(PRIVATE_KEY_TAG, null) != null)' is always true
github-actions / Qodana Community for Android
Constant conditions
Value of 'jsonrpc' is always null