Qodana #281
57 new problems found by Qodana Community for JVM
Qodana Community for JVM
57 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Constant values |
🔶 Warning | 12 |
Caught exception is immediately rethrown |
🔶 Warning | 10 |
Class is exposed outside of its visibility scope |
🔶 Warning | 8 |
String concatenation as argument to 'StringBuilder.append()' call |
🔶 Warning | 8 |
Nullability and data flow problems |
🔶 Warning | 4 |
AutoCloseable used without 'try'-with-resources |
🔶 Warning | 3 |
Unused assignment |
🔶 Warning | 3 |
'Optional' used as field or parameter type |
🔶 Warning | 2 |
'throw' inside 'finally' block |
🔶 Warning | 2 |
Empty 'try' block |
🔶 Warning | 1 |
Infinite loop statement |
🔶 Warning | 1 |
Confusing primitive array argument to varargs method |
🔶 Warning | 1 |
Synchronization on local variable or method parameter |
🔶 Warning | 1 |
Constant values |
◽️ 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
AutoCloseable used without 'try'-with-resources
'OpenTelemetrySdk' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'NodeResponseTimeMonitor' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'HikariDataSource' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `ex` is immediately rethrown
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
Check warning on line 202 in wrapper/src/main/java/software/amazon/jdbc/ConnectionPluginManager.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `PluginPipeline` is exposed outside its defined visibility scope
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `FetchTopologyResult` is exposed outside its defined visibility scope
Check warning on line 107 in wrapper/src/main/java/software/amazon/jdbc/ConnectionPluginManager.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `PluginChainJdbcCallable` is exposed outside its defined visibility scope
Check warning on line 27 in wrapper/src/main/java/software/amazon/jdbc/util/CacheMap.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `CacheItem` is exposed outside its defined visibility scope
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `Secret` is exposed outside its defined visibility scope
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `CacheItem` is exposed outside its defined visibility scope
Check warning on line 274 in wrapper/src/main/java/software/amazon/jdbc/ConnectionPluginManager.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `PluginPipeline` is exposed outside its defined visibility scope
Check warning on line 243 in wrapper/src/main/java/software/amazon/jdbc/ConnectionPluginManager.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `PluginChainJdbcCallable` is exposed outside its defined visibility scope
github-actions / Qodana Community for JVM
Constant values
Condition `pluginService == null` is always `false`
Check warning on line 117 in wrapper/src/main/java/software/amazon/jdbc/dialect/AuroraPgDialect.java
github-actions / Qodana Community for JVM
Constant values
Condition `hasExtensions` is always `true`
github-actions / Qodana Community for JVM
Constant values
Condition `properties == null` is always `false`
github-actions / Qodana Community for JVM
Constant values
Condition `properties == null` is always `false`