[UPDATE] 提升代码质量 #12
104 new problems found by Qodana Community for JVM
Qodana Community for JVM
104 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Usage of Kotlin internal declarations from Java |
🔴 Failure | 3 |
Constant values |
🔶 Warning | 18 |
Unused assignment |
🔶 Warning | 13 |
Mismatched query and update of collection |
🔶 Warning | 6 |
Infinite loop statement |
🔶 Warning | 4 |
Loop statement that does not loop |
🔶 Warning | 4 |
Statement with empty body |
🔶 Warning | 3 |
Result of method call ignored |
🔶 Warning | 3 |
Busy wait |
🔶 Warning | 2 |
'clone()' does not declare 'CloneNotSupportedException' |
🔶 Warning | 2 |
Nullability and data flow problems |
🔶 Warning | 2 |
AutoCloseable used without 'try'-with-resources |
🔶 Warning | 1 |
Confusing argument to varargs method |
🔶 Warning | 1 |
Constant values |
◽️ Notice | 42 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
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
'ValidatorFactory' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
github-actions / Qodana Community for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
Check warning on line 881 in central-stdlib/src/main/java/central/sql/query/Conditions.java
github-actions / Qodana Community for JVM
'clone()' does not declare 'CloneNotSupportedException'
`clone()` does not declare 'CloneNotSupportedException'
Check warning on line 315 in central-stdlib/src/main/java/central/bean/CodeValues.java
github-actions / Qodana Community for JVM
'clone()' does not declare 'CloneNotSupportedException'
`clone()` does not declare 'CloneNotSupportedException'
Check notice on line 244 in central-stdlib/src/main/java/central/sql/builder/OracleBuilder.java
github-actions / Qodana Community for JVM
Constant values
Value `properties` is always 'null'
Check notice on line 95 in central-stdlib/src/main/java/central/sql/builder/PostgreSqlBuilder.java
github-actions / Qodana Community for JVM
Constant values
Value `properties` is always 'null'
github-actions / Qodana Community for JVM
Constant values
Value `output` is always 'null'
github-actions / Qodana Community for JVM
Constant values
Condition `Stringx.isNotBlank(forbiddenUrl)` is always `false`
github-actions / Qodana Community for JVM
Constant values
Condition `Stringx.isNotBlank(unauthorizedUrl)` is always `false`
github-actions / Qodana Community for JVM
Constant values
Condition `value == null` is always `true`
github-actions / Qodana Community for JVM
Constant values
Condition is always false
github-actions / Qodana Community for JVM
Constant values
Value `forbiddenUrl` is always 'null'
github-actions / Qodana Community for JVM
Constant values
Condition `index == null` is always `true`
github-actions / Qodana Community for JVM
Constant values
Value `meta` is always 'null'
github-actions / Qodana Community for JVM
Constant values
Condition `value == null` is always `true`
github-actions / Qodana Community for JVM
Constant values
Value `scripts` is always 'null'
github-actions / Qodana Community for JVM
Constant values
Value `scripts` is always 'null'
github-actions / Qodana Community for JVM
Constant values
Value `contentType` is always 'null'
github-actions / Qodana Community for JVM
Constant values
Condition `contentType != null` is always `false`
github-actions / Qodana Community for JVM
Constant values
Condition `contentType == null` is always `true`
github-actions / Qodana Community for JVM
Constant values
Value `contentType` is always 'null'
github-actions / Qodana Community for JVM
Constant values
Condition `Stringx.isNotBlank(tenantPath)` is always `false`
Check warning on line 114 in central-stdlib/src/main/java/central/sql/builder/PostgreSqlBuilder.java
github-actions / Qodana Community for JVM
Constant values
Condition `value == null` is always `true`
github-actions / Qodana Community for JVM
Constant values
Value `scripts` is always 'null'